activitykit

Implement real-time Live Activities and Dynamic Island updates in iOS apps with ActivityKit.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill activitykit-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activitykit
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/activitykit
Command: npx skills add https://github.com/onymchat/onym-ios --skill activitykit-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Real-time Live Activities and Dynamic Island implementations enable glanceable, time-sensitive UI updates on Lock Screen and Dynamic Island, simplifying scenarios like delivery tracking, sports scores, and live event progress for iOS apps.

Core Features & Use Cases

  • Defines ActivityAttributes with static data and a dynamic ContentState for continuous lifetime updates
  • Supports Lock Screen, StandBy, Dynamic Island layouts (compact, minimal, expanded) and push-to-update flows
  • Provides patterns for authoring, updating, and ending Live Activities across app lifecycles

Quick Start

Start a Live Activity by defining static attributes, creating an initial ContentState, assembling ActivityContent, and calling Activity.request with pushType for remote updates.

Frequently Asked Questions about activitykit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Live Activity and Dynamic Island UI in iOS?

Create a Live Activity by defining ActivityAttributes with static data and a nested ContentState, assembling ActivityContent payloads, and calling Activity.request with a pushType to enable Dynamic Island and Lock Screen UI updates.

How do I update Live Activities with push notifications on the Lock Screen?

Update Live Activities using push-to-update flows by configuring the request with a pushType, allowing remote push notifications to continuously refresh time-sensitive UI while the app is suspended or backgrounded.

What is the difference between ActivityAttributes and ContentState in ActivityKit?

ActivityAttributes define static data that remains constant for the activity's lifetime, while the nested ContentState holds dynamic data that continuously updates to refresh real-time UI across app lifecycles.

Can I use ActivityKit to update time-sensitive UI while my iOS app is suspended?

Yes, ActivityKit supports updating time-sensitive UI while the app is suspended by using push-type or scheduled start methods with proper lifecycle management to continuously refresh Live Activities.

What layout configurations does Dynamic Island support for Live Activities?

Dynamic Island supports compact, minimal, and expanded layouts, alongside Lock Screen and StandBy configurations, providing various glanceable UI presentation patterns for time-sensitive updates.

When should I use Live Activities instead of standard push notifications?

Use Live Activities for scenarios like delivery tracking, sports scores, and live event progress where the UI must continuously refresh time-sensitive information, rather than standard push notifications for transient alerts.