live-activity-generator

Generate ActivityKit Live Activity Swift files for iOS Lock Screen and Dynamic Island.

603|51|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill live-activity-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-activity-generator
Source: https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/generators/live-activity-generator
Command: npx skills add https://github.com/rshankras/claude-code-apple-skills --skill live-activity-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of ActivityKit Live Activities, enabling real-time updates on the Dynamic Island and Lock Screen.

Core Features & Use Cases

  • Full Implementation: Generates all necessary Swift files for ActivityKit integration.
  • Customizable UI: Creates layouts for Lock Screen, Dynamic Island (compact/expanded), and minimal views.
  • Push Updates: Includes infrastructure for server-side push notifications to update activities.
  • Use Case: Add a live delivery tracking feature to your app, showing the driver's progress and ETA directly on the user's Lock Screen.

Quick Start

Use the live-activity-generator skill to add Live Activities for delivery tracking to my app.

Frequently Asked Questions about live-activity-generator

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

FAQPage Schema
How do I create a Live Activity in SwiftUI for Dynamic Island and Lock Screen?

To create a Live Activity in SwiftUI, you need ActivityKit integration with ActivityAttributes, ContentState, and WidgetKit views. This Skill generates the complete Swift implementation for Lock Screen, Dynamic Island, and lifecycle control automatically.

How do I set up push notifications to update Live Activities via APNs?

Updating Live Activities via APNs requires server-side push notification infrastructure. This Skill includes the necessary push-to-update setup, allowing your server to remotely trigger real-time content state changes for active Live Activities.

What's the best way to implement delivery tracking with ActivityKit in iOS?

Implementing delivery tracking with ActivityKit requires defining custom ActivityAttributes and ContentState for real-time ETA updates. This Skill automates generating these structures alongside the WidgetKit UI for displaying driver progress on the Lock Screen.

Do I need to build separate layouts for the compact and expanded Dynamic Island views?

Yes, Dynamic Island requires distinct compact, expanded, and minimal WidgetKit layouts. This Skill generates all necessary customized UI views automatically, ensuring your Live Activity adapts correctly to the available Dynamic Island presentation states.

Does this Live Activity generator handle lifecycle management and state updates?

Yes, Live Activities require an ActivityManager to control lifecycle and state updates. This Skill generates the complete ActivityManager implementation, allowing you to start, update, and end real-time activities natively within your iOS application.