live-activity-generator

Generate ActivityKit Live Activity boilerplate code for iOS apps.

27|5|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/bocan/bocan-music --skill live-activity-generator-bocan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-activity-generator
Source: https://github.com/bocan/bocan-music/tree/main/.claude/skills/generators/live-activity-generator
Command: npx skills add https://github.com/bocan/bocan-music --skill live-activity-generator-bocan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually implementing ActivityKit Live Activities for iOS apps requires writing hundreds of lines of boilerplate code for Dynamic Island layouts, Lock Screen presentations, lifecycle management, and push-to-update support, which is time-consuming and error-prone. This Skill automates that entire end-to-end process.

Core Features & Use Cases

  • Full Implementation Generation: Creates all required Swift files including ActivityAttributes, widget views, and lifecycle managers for a complete, working Live Activity.
  • Multi-Use Case Support: Configurable for delivery tracking, sports scores, workout timers, ride-sharing status, and any other real-time update scenario for iOS apps.
  • Production-Ready Guardrails: Includes built-in checks for Apple's Live Activity limits, error handling, push-to-update support, and step-by-step integration guidance for existing iOS projects.

Quick Start

Use the live-activity-generator skill to build a complete Live Activity implementation for your iOS app's order tracking feature with Dynamic Island layouts and push-to-update support.

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 for iOS Dynamic Island without writing boilerplate code?

Creating a Live Activity for iOS Dynamic Island without manual boilerplate requires generating the complete ActivityKit implementation, including ActivityAttributes, widget views, and lifecycle managers. This approach eliminates hundreds of lines of error-prone code by automating Dynamic Island layouts and Lock Screen presentations.

How does ActivityKit handle push-to-update support for Live Activities?

ActivityKit handles push-to-update support by integrating APNs to remotely refresh Live Activity content. The generated implementation includes built-in push-to-update configurations and step-by-step guidance for connecting your iOS app to APNs to update Dynamic Island and Lock Screen views in real time.

Can I use WidgetKit with ActivityKit to display real-time updates on the Lock Screen?

Yes, WidgetKit integrates with ActivityKit to display real-time updates on the iOS Lock Screen and Dynamic Island. The generated code produces the necessary widget extension views and configurations required by WidgetKit to render Live Activity presentations natively.

What are Apple's Live Activity size and concurrency limits for iOS 16.1+ apps?

Apple's Live Activity limits restrict the number of concurrent activities per app and constrain the visual size of Dynamic Island presentations. The generated code includes production-ready guardrails with built-in checks to ensure compliance with these iOS 16.1+ concurrency and size constraints.

What's the best way to implement a delivery tracking Live Activity with Dynamic Island support?

The best way to implement a delivery tracking Live Activity with Dynamic Island support is to generate a complete, configurable ActivityKit implementation. This provides all required Swift files for tracking layouts, lifecycle management, and push-to-update support tailored specifically to delivery tracking scenarios.

Why does my Live Activity not display correctly on the Dynamic Island?

Live Activities may not display correctly on the Dynamic Island if the ActivityKit layout code does not comply with Apple's presentation constraints. Generating production-ready boilerplate ensures proper Dynamic Island layout configurations, error handling, and concurrency limit checks are implemented correctly.