widget-generator

Generate WidgetKit scaffolds with timeline providers, views, and App Intents.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of WidgetKit widget code scaffolding, including timeline providers, size-specific views, and App Intent configuration to accelerate building home screen and lock screen widgets.

Core Features & Use Cases

  • Widget scaffolding generation: Produces {Name}Widget.swift, {Name}TimelineProvider.swift, {Name}Entry.swift, {Name}WidgetViews.swift, {Name}AppIntent.swift, and updates WidgetBundle as needed.
  • Configurable UI via App Intents: Generates App Intent structures and timeline providers for interactive/configurable widgets (iOS 17+).
  • Bundle registration & testing guidance: Ensures widget(s) are registered in a WidgetBundle and provides testing steps for preview and deployment.
  • Use Case: Quickly add a new WidgetKit widget to an app, including interactive and lock screen variants, with consistent file structure and deployment readiness.

Quick Start

Use the widget-generator to scaffold a WidgetKit widget project by answering configuration prompts.

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 scaffold for an iOS 17 app?

The tool generates a production-ready WidgetKit scaffold including timeline providers, size-specific views, and App Intent configuration, automating the creation of interactive and configurable widgets for iOS 17+ applications.

What files do I need for a configurable WidgetKit widget using App Intents?

You need {Name}Widget.swift, {Name}TimelineProvider.swift, {Name}Entry.swift, {Name}WidgetViews.swift, and {Name}AppIntent.swift files, along with WidgetBundle registration to support configurable App Intents.

Can I create interactive lock screen widgets with App Intents in WidgetKit?

Yes, interactive lock screen widgets can be created using App Intents. The scaffolding generates the required App Intent structures and timeline providers for interactive and configurable iOS 17+ widgets.

How do I register multiple widgets in a WidgetBundle for an iOS app?

To register multiple widgets in a WidgetBundle, update the bundle configuration to include each widget definition. The generator ensures widgets are registered in the WidgetBundle and provides testing steps for deployment.

Does WidgetKit support App Group data sharing for cross-target communication?

Yes, WidgetKit supports optional App Group data sharing for cross-target communication. The generator applies this configuration to enable widgets to access shared data from the main application target.

What is the best way to structure WidgetKit widget files for production readiness?

The best way to ensure production readiness is enforcing a modular file structure that separates timeline providers, views, entries, and App Intents into distinct files, ensuring maintainability and proper WidgetBundle registration.