widgetkit

Implement interactive WidgetKit widgets and Live Activities across iOS surfaces.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KumarAdi8/AgentKit --skill widgetkit-kumaradi8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: widgetkit
Source: https://github.com/KumarAdi8/AgentKit/tree/main/skills/widgetkit
Command: npx skills add https://github.com/KumarAdi8/AgentKit --skill widgetkit-kumaradi8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Building and maintaining widgets, Lock Screen modules, Dynamic Island presentations, StandBy surfaces, Control Center controls, and Live Activities requires coordinating multiple frameworks, entitlements, timeline strategies, and platform-specific rendering behaviors; this Skill consolidates best practices and implementation patterns so developers can deliver reliable, responsive widgets across iOS surfaces.

Core Features & Use Cases

  • Cross-surface widget design: Guidance for system families, accessory families, and StandBy to ensure layouts adapt per WidgetFamily and widgetLocation.
  • Interactive widgets & controls: Patterns for AppIntent-backed Buttons/Toggles, ControlWidget configurations, and Control Center value providers.
  • Live Activities & Dynamic Island: End-to-end patterns for ActivityAttributes, ActivityConfiguration, push-to-start and push-token handling, alert configurations, and dismissal policies.
  • Operational concerns: Timeline strategies, refresh budgets, WidgetPushHandler and WidgetPushHandler integration, App Groups data sharing, Info.plist entitlements, and Liquid Glass rendering modes.

Quick Start

Create a WidgetKit extension that displays upcoming calendar events with a systemSmall preview, an AppIntentConfiguration for selecting calendars, shared App Group storage for event data, and a paired Live Activity that updates via push tokens.

Frequently Asked Questions about widgetkit

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

FAQPage Schema
How do I create interactive widgets and Live Activities for iOS?

To create interactive widgets and Live Activities, implement AppIntentTimelineProvider configurations alongside ActivityAttributes using a WidgetKit extension. This pattern enables interactive Button/Toggle controls and Dynamic Island presentations across iOS surfaces.

How do I configure push-based widget reloads and Live Activity updates?

Push-based widget reloads require WidgetPushHandler integration for receiving push payloads and registering push tokens for Live Activities. You configure token handling and dismissal policies to ensure responsive remote updates across active Live Activity sessions.

What's the best way to share data between my app and my widget extension?

The best way to share data between your app and widget extension is using App Groups shared storage. Configuring App Groups allows your timeline providers and interactive controls to access synchronized event data efficiently.

Do I need specific Info.plist keys to enable Live Activities and Dynamic Island?

Yes, you need the NSSupportsLiveActivities Info.plist key to enable Live Activities and Dynamic Island presentations. Adding this entitlement ensures the system allows ActivityKit configurations and rendering across Lock Screen and StandBy surfaces.

Why does my widget timeline stop refreshing unexpectedly across iOS surfaces?

Widget timeline refreshing stops unexpectedly when exceeding system refresh budgets or applying incorrect timeline reload policies. Optimize your AppIntentTimelineProvider configurations and utilize push-based widget reloads to bypass strict refresh limitations.

Can I use ControlWidgetButton and ControlWidgetToggle for Control Center interactions?

Yes, ControlWidgetButton and ControlWidgetToggle configurations support interactive Control Center value providers. Implementing these AppIntent-backed controls allows direct user interactions within the Control Center environment.