activitykit

Implement iOS Live Activities and Dynamic Island updates with ActivityKit.

Updated May 10, 2026
One-click install
npx skills add https://github.com/FelixRauch/medat-figuren --skill activitykit-felixrauch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: activitykit
Source: https://github.com/FelixRauch/medat-figuren/tree/main/.agents/skills/activitykit
Command: npx skills add https://github.com/FelixRauch/medat-figuren --skill activitykit-felixrauch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

ActivityKit helps you deliver real-time, glanceable status updates on iOS devices without forcing users to open your app, especially on the Lock Screen and Dynamic Island.

Core Features & Use Cases

  • Live Activities delivery and updates: Start an activity, update its content state, and end it with correct dismissal behavior for time-sensitive information.
  • Dynamic Island layouts: Implement compact, minimal, and expanded presentations so users see the right signal at every glance size.
  • Push-to-update for background reliability: Use APNs push tokens and payload formats to update Live Activities even when the app is suspended.
  • Use case: Track a ride, food delivery, or workout session so users can see progress, timers, and steps instantly while they multitask.

Quick Start

Ask the AI to show a complete ActivityAttributes + ContentState setup and the corresponding Widget and request/update/end flow for a Live Activity that uses push-to-update.

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 SwiftUI for real-time updates?▼

Implement Live Activities by defining ActivityAttributes and Codable ContentState, then configuring ActivityConfiguration to manage real-time UI updates on the Lock Screen and Dynamic Island without app foregrounding.

Can I update a Live Activity from the background using APNs push?▼

Yes, you can update a Live Activity in the background using APNs push. The implementation requires handling push-to-update tokens and ensuring APNs payload compatibility to refresh content state while the app is suspended.

What's the best way to configure Dynamic Island layouts for different glance sizes?▼

Configure Dynamic Island layouts by implementing compact, minimal, and expanded presentations within ActivityConfiguration, ensuring users see the correct real-time signal at every glance size.

How do I start, update, and end an ActivityKit Live Activity?▼

Manage a Live Activity's lifecycle using Activity.request to start it, activity.update to modify its ContentState, and activity.end to dismiss it with correct behavior for time-sensitive information.

When do I need ActivityKit for time-sensitive user-facing status?▼

You need ActivityKit for time-sensitive UI scenarios like delivery tracking, ride progress, sports scores, or timers, ensuring real-time updates remain visible on the Lock Screen while users multitask without opening the app.