widget-generator

Generate WidgetKit widget implementations with timeline providers and App Intent configuration.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill widget-generator-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: widget-generator
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/generators/widget-generator
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill widget-generator-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a complete WidgetKit widget implementation with timeline providers, size-specific views, lock screen accessories, interactive elements (iOS 17+), and App Intent configuration.

Core Features & Use Cases

  • Automated scaffolding of a widget extension with a provider, views for multiple widget families, and App Intent configuration.
  • Supports home screen and lock screen widgets, including interactive (iOS 17+) capabilities and App Intent integration.
  • Guides pre-generation checks, widget bundle registration, and optional App Group data sharing patterns.

Quick Start

Run the widget-generator to scaffold a complete WidgetKit widget with timeline providers, interactive elements, and App Intent configuration.

Frequently Asked Questions about widget-generator

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

FAQPage Schema
How do I scaffold a WidgetKit widget with a timeline provider and App Intent configuration?

To scaffold a WidgetKit widget, you generate template-driven code for widget definitions, timeline providers, and App Intents. This provides a complete implementation with size-specific views, lock screen accessories, and interactive elements.

Can I create interactive widgets for iOS 17 using this widget generator?

Yes, you can create interactive widgets for iOS 17 using this generator. It scaffolds App Intent configuration and interactive elements, allowing your widgets to support user interactions directly on the home screen and lock screen.

What's the best way to support multiple widget sizes and lock screen accessories?

The best way to support multiple widget sizes and lock screen accessories is by generating size-specific views through template-driven scaffolding. This approach creates views for multiple widget families within your WidgetKit extension automatically.

Do I need an App Group to share data with my WidgetKit extension?

You need an App Group to share data between your main app and your WidgetKit extension. The generator guides optional App Group data sharing patterns to ensure your widget can access shared data through the timeline provider.

How does template-driven code scaffolding work for widget definitions?

Template-driven code scaffolding works by generating complete widget definitions with required SKILL.md frontmatter. It creates optional directories for scripts, references, and assets, producing a ready-to-use widget extension structure.