Agent skill · Code Review & Quality

activitykit

Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit. Use when building real-time updating widgets for the Lock Screen and Dynamic Island — delivery tracking, sports scores, ride-sharing status, workout timers, media playback, or any time-sensitive information that updates in real time. Also use when working with ActivityKit, ActivityAttributes, Activity lifecycle (request/update/end), Dynamic Island layouts (compact/minimal/expanded), push-to-update Live Activities, or Lock Screen live widgets.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill activitykit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 18 KB
Bundled scripts: none
Path: skills/activitykit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# ActivityKit ActivityKit owns real-time, glanceable Live Activities displayed on the Lock Screen and Dynamic Island. Ordinary timeline widgets belong in `widgetkit`, and generic APNs setup belongs in `push-notifications`; ActivityKit owns the Live Activity lifecycle and payload contract. `aps.content-state` must decode into the exact `ActivityAttributes.ContentState` shape, including any coordinated custom date/range encoding. Modern `ActivityContent` lifecycle examples require iOS 16.2+ unless noted. See [references/activitykit-patterns.md](references/activitykit-patterns.md) for complete code patterns including push payload formats, concurrent activities, state observation, and testing. ## Contents - [Workflow](#workflow) - [ActivityAttributes Definition](#activityattributes-definition) - [Activity Lifecycle](#activity-lifecycle) - [Lock Screen Presentation](#lock-screen-presentation) - [Dynamic Island](#dynamic-island) - [Push-to-Update](#push-to-update) - [Recent Additions](#recent-additions) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Workflow ### 1. Create a new Live Activity 1. Verify the host app capability a

What's inside
Steps it walks through
  1. Contents
  2. Workflow
  3. 1. Create a new Live Activity
  4. 2. Review existing Live Activity code
  5. ActivityAttributes Definition
  6. Stale Date
  7. Activity Lifecycle
  8. Starting
  9. Updating
  10. Ending
  11. Lock Screen Presentation
  12. Supplemental Activity Families
  13. Dynamic Island
  14. Compact (Leading + Trailing)
Ships with 2 files
  • evals/evals.json
  • references/activitykit-patterns.md
More from swift-ios-skills
All skills →
About this skill
What does the activitykit skill do?

Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit. Use when building real-time updating widgets for the Lock Screen and Dynamic Island — delivery tracking, sports scores, ride-sharing status, workout timers, media playback, or any time-sensitive information that updates in real time. Also use when working with ActivityKit, ActivityAttributes, Activity lifecycle (request/update/end), Dynamic Island layouts (compact/minimal/expanded), push-to-update Live Activities, or Lock Screen live widgets.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill activitykit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going