From ios-frameworks
Reviews and writes ActivityKit code — Live Activities, Dynamic Island, Lock Screen presentations, push updates, and Activity lifecycle. Use when implementing live updating content outside your app.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ios-frameworks:beepus-maximus-ios-activitykitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review and write ActivityKit code for correct activity lifecycle, push updates, and presentation layouts.
Review and write ActivityKit code for correct activity lifecycle, push updates, and presentation layouts.
Owns: Activity class, ActivityAttributes, ActivityContent, start/update/end lifecycle, ActivityKit push notifications, push token management, Dynamic Island layouts (compact/expanded/minimal), Lock Screen presentation, stale dates, alert configurations.
Does NOT own: Widget timeline mechanisms (WidgetKit), UI design (SwiftUI skill), push notification infrastructure (server-side), AlarmKit integration.
| Anti-Pattern | Problem | Fix |
|---|---|---|
| No NSSupportsLiveActivities | Activities fail silently | Add to Info.plist |
| Content state > 4KB | Push updates rejected | Keep state minimal |
| Not observing push token changes | Server has stale token | Observe Activity.pushTokenUpdates |
| Not ending completed activities | Stale content on Lock Screen | Call activity.end() |
| Complex layouts in minimal presentation | Truncated/unreadable | Keep minimal to icon + small text |
references/activitykit-patterns.md — Attributes, lifecycle, push tokens, Dynamic Island layouts, constraintsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub 4eleven7/claude-skills --plugin ios-frameworks