generators-widget-generator

Generate WidgetKit widgets with SwiftUI views, TimelineProvider, and AppIntents.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill generators-widget-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generators-widget-generator
Source: https://github.com/AutisticAF/claude-code-apple-dev-plugin/tree/main/skills/generators-widget-generator
Command: npx skills add https://github.com/AutisticAF/claude-code-apple-dev-plugin --skill generators-widget-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual WidgetKit development involves boilerplate and configuration that slows teams down. This skill automates the creation of production-ready WidgetKit widgets, including timeline providers, entry models, size-specific views, app intents, and widget bundle registration, reducing time-to-first-run and ensuring consistency.

Core Features & Use Cases

  • Generates all core WidgetKit files: Widget, TimelineProvider, Entry, and Views for multiple widget families (.systemSmall, .systemMedium, .systemLarge, and lock screen accessories).
  • Supports interactive/configurable widgets via AppIntents and AppIntentConfiguration to enable user-driven widget content (iOS 17+).
  • Creates WidgetBundle registration and optional App Groups data-sharing scaffolding for synchronized main app and widget state.
  • Useful for rapid MVPs, design explorations, and production-grade widgets across iOS 17+.

Quick Start

Provide the widget name and desired options, and this skill will generate a complete WidgetKit extension with all necessary files.

Frequently Asked Questions about generators-widget-generator

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

FAQPage Schema
How do I generate WidgetKit widgets with SwiftUI for iOS 17?

You can generate WidgetKit widgets by providing a widget name and desired options to auto-create production-ready SwiftUI code, including TimelineProvider, Entry models, and per-family views for iOS 17+.

Can I create interactive widgets with AppIntents and WidgetKit?

Yes, creating interactive widgets with AppIntents is supported. The generation process includes optional AppIntent types and AppIntentConfiguration to enable user-driven widget content directly on iOS 17+.

How do I set up lock screen accessories and multiple widget sizes in Xcode?

Lock screen accessories and multiple widget sizes are generated by creating per-family views for systemSmall, systemMedium, systemLarge, and accessory families within a WidgetKit extension.

Do I need WidgetBundle registration and App Groups for sharing data between app and widget?

WidgetBundle registration and optional App Groups scaffolding are generated to enable synchronized data sharing between your main app and widget state, ensuring consistent content updates.

What's the best way to reduce boilerplate when creating a TimelineProvider for a widget extension?

Automating TimelineProvider creation reduces boilerplate by generating the complete widget configuration alongside the Entry model and SwiftUI views, ensuring consistency and accelerating time-to-first-run.