widget-generator

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

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/mazicimert/RunDom --skill widget-generator-mazicimert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: widget-generator
Source: https://github.com/mazicimert/RunDom/tree/main/.claude/skills/generators/widget-generator
Command: npx skills add https://github.com/mazicimert/RunDom --skill widget-generator-mazicimert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines creating fully featured WidgetKit widgets for iOS/macOS apps, reducing boilerplate and setup time.

Core Features & Use Cases

  • Generate a complete widget with timeline providers, multiple sizes, and lock screen support.
  • Support interactive App Intent widgets (iOS 17+) and App Intent configuration.
  • Use cases include app home screen widgets, lock screen accessories, and quick actions.

Quick Start

Provide your widget’s name and desired features, then run the widget generator to scaffold the files.

Frequently Asked Questions about widget-generator

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

FAQPage Schema
How do I generate a WidgetKit widget with a timeline provider for my iOS app?

To generate a WidgetKit widget, you provide the widget name and desired features to scaffold production-ready files, including the timeline provider, entry views, and size-specific layouts for your iOS app.

Can I create interactive widgets with App Intent configuration for iOS 17?

Yes, you can create interactive widgets with App Intent configuration for iOS 17+. The generator scaffolds the necessary AppIntent files and views to support quick actions and configurable variants on the home screen.

What is the best way to add a widget extension to an existing app project?

The best way to add a widget extension is to add or reuse a widget extension target in your project, register the widget in a WidgetBundle, and enable App Groups if you need to share data between the app and the widget.

Does WidgetKit support lock screen accessories and multiple widget sizes?

Yes, WidgetKit supports lock screen accessories and multiple widget sizes. The generated code includes size-specific views and configurations to properly render your widget across all supported home and lock screen contexts.

Do I need App Groups to share data between my app and a generated widget?

You need App Groups to share data between your app and the generated widget if your widget requires dynamic updates from the parent app. The setup process includes enabling App Groups during the integration steps.