activitykit

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

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/femitz/flyby --skill activitykit-femitz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: activitykit
Source: https://github.com/femitz/flyby/tree/main/.agents/skills/activitykit
Command: npx skills add https://github.com/femitz/flyby --skill activitykit-femitz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Implement and refine real-time Live Activities and Dynamic Island experiences in iOS apps using ActivityKit, enabling time-sensitive updates on Lock Screen, StandBy, and Dynamic Island.

Core Features & Use Cases

  • Define ActivityAttributes and ContentState to model static vs dynamic data for a concise activity lifecycle.
  • Configure Lock Screen content, Dynamic Island layouts, and push-to-update patterns to deliver timely updates.
  • Use cases include delivery tracking, sports scores, workout timers, and other time-critical information that benefits from live updates.

Quick Start

Define your ActivityAttributes and ContentState, start a Live Activity with push updates, then update or end it as the situation progresses.

Frequently Asked Questions about activitykit

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

FAQPage Schema
How do I implement Live Activities with ActivityKit for iOS Lock Screen and Dynamic Island?

Implement Live Activities by defining ActivityAttributes with a nested ContentState to model data, then using ActivityContent for lifecycle calls to render layouts on the Lock Screen and Dynamic Island.

How do I configure push notifications to update Live Activities remotely?

Configure push-to-update patterns for Live Activities by enabling push updates via .token or .channel, allowing your server to deliver time-sensitive content changes to the Dynamic Island and Lock Screen remotely.

What is the difference between ActivityAttributes and ContentState in ActivityKit?

ActivityAttributes models static data that stays constant throughout the Live Activity lifecycle, while the nested ContentState holds dynamic data that changes in real-time updates on the Lock Screen and Dynamic Island.

Can I use ActivityKit to build a delivery tracking or sports score Dynamic Island experience?

Yes, ActivityKit is designed for time-critical use cases like delivery tracking, sports scores, and workout timers, enabling real-time dynamic updates on the Lock Screen, StandBy, and Dynamic Island.

What safeguards do I need to check before starting a Live Activity in Swift?

Before starting a Live Activity, implement safeguards by checking ActivityAuthorizationStatus for user permissions and observing state changes to ensure the system permits and properly tracks the activity lifecycle.

Why are my Live Activity updates not showing on the Dynamic Island?

Live Activity updates fail to show when ActivityAttributes and ContentState are not properly conformed, or when ActivityContent lifecycle calls lack correct push-to-update configurations via .token or .channel.