live-activity-generator

Generate ActivityKit Live Activity infrastructure for iOS apps with Dynamic Island layouts.

114|8|Updated Mar 4, 2025
One-click install
npx skills add https://github.com/gustavscirulis/snapgrid --skill live-activity-generator-gustavscirulis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-activity-generator
Source: https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/live-activity-generator
Command: npx skills add https://github.com/gustavscirulis/snapgrid --skill live-activity-generator-gustavscirulis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of ActivityKit Live Activity infrastructure for iOS apps, including Dynamic Island layouts, Lock Screen presentation, and push-to-update capabilities.

Core Features & Use Cases

  • Full Implementation Generation: Creates ActivityAttributes, ContentState, widget views, and a lifecycle manager.
  • Customizable Layouts: Supports Dynamic Island compact/expanded and Lock Screen presentations.
  • Push-to-Update Support: Integrates server-side push notifications for real-time updates.
  • Use Case: When developing an app that needs to display real-time information like delivery status, sports scores, or workout progress on the user's Lock Screen or Dynamic Island, this skill provides all the necessary boilerplate code.

Quick Start

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

Frequently Asked Questions about live-activity-generator

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

FAQPage Schema
How do I implement Live Activities with Dynamic Island support for my iOS app?

Live Activities display real-time information on the Lock Screen and Dynamic Island by generating ActivityKit infrastructure, including ActivityAttributes, ContentState, widget views, and a lifecycle manager. This requires a widget extension and iOS 16.1+ deployment target.

What do I need to set up before adding ActivityKit Live Activities to my project?

Adding ActivityKit Live Activities requires configuring an iOS 16.1+ deployment target and setting up a widget extension. You also need to define your ActivityAttributes and ContentState structures to represent the data.

Can I use push notifications to update Live Activities in real time?

Push notifications can update Live Activities in real time by utilizing the push-to-update functionality integrated into the generated lifecycle manager. This requires server-side push notification integration to refresh Dynamic Island and Lock Screen presentations.

What is the best way to create boilerplate for a delivery tracking Live Activity?

The best way to create boilerplate for a delivery tracking Live Activity is to automatically generate the ActivityKit infrastructure, which outputs ActivityAttributes, ContentState, widget views, and a lifecycle manager for both Lock Screen and Dynamic Island layouts.

Does this Live Activity generation approach support both compact and expanded Dynamic Island layouts?

The Live Activity generation supports customizable layouts for both compact and expanded Dynamic Island presentations, alongside Lock Screen presentation. This allows you to tailor real-time updates for delivery tracking, sports scores, or workout progress.