{"enrichment":{"faq":[{"a":"Widget Generator creates complete WidgetKit implementations for your iOS app. It generates timeline providers, size-specific views, and all necessary configuration files. The tool guides you through setup questions about widget purpose, supported sizes, data sources, and update frequency, then produces ready-to-use code that integrates directly into your Xcode project with proper App Intent setup.","q":"How do I add widgets to my iOS app using widget-generator?"},{"a":"Yes, widget-generator supports lock screen accessory widgets for iOS 16 and later. It generates the specialized view hierarchies and timeline configurations needed for lock screen integration. The tool handles the unique constraints of lock screen widgets and produces code optimized for the smaller form factors and specific design requirements of iOS 16+ lock screen accessories.","q":"Can widget-generator create lock screen accessory widgets for iOS 16+?"},{"a":"Widget Generator's timeline provider setup creates the scheduling logic that determines when your widget updates. The tool generates provider code that defines your widget's refresh policy, handles data fetching, and manages timeline entries. It configures appropriate update frequencies based on your widget's purpose and generates the complete provider implementation with proper error handling and data management.","q":"What is a WidgetKit timeline provider and how does widget-generator set it up?"},{"a":"Widget Generator creates interactive widgets by generating App Intent configurations and button handlers. It produces code for interactive toggle buttons and other interactive elements, setting up the necessary intents that respond to user interactions. The generated implementation includes proper state management and refresh logic to update your widget when users interact with buttons or controls.","q":"How does widget-generator handle interactive widgets with buttons?"},{"a":"Widget Generator supports App Groups configuration for data sharing between your main app and widget extension. It generates the necessary setup code and handles the entitlements configuration needed for secure data sharing. The tool produces code that enables your widget to access shared data from your main application through App Groups containers.","q":"Can widget-generator set up widget data sharing via App Groups?"},{"a":"Yes, widget-generator creates implementations supporting multiple widget sizes including systemSmall, systemMedium, and larger formats. It generates size-specific view layouts and configurations, allowing your widget to adapt across different home screen positions. The tool also handles widget bundle configuration and supports configurable widgets with App Intent setup for customizable widget behavior.","q":"Does widget-generator support multiple widget sizes and configurations?"}],"shadow_tags":["home-screen-widgets","lock-screen-accessories","timeline-refresh-strategy","app-intent-configuration","widget-bundle-management","interactive-elements","data-sharing-appgroups","widget-size-families","glanceability-design","memory-constrained-ui"],"summary_rewrite":"Widget Generator creates full WidgetKit implementations including timeline providers, size-specific views, lock screen accessories, and interactive elements for iOS 17+. It handles project detection, conflict resolution, and generates all necessary files with proper App Intent setup. Configure widget purpose, sizes, data sources, and update frequency through guided questions."},"files":[{"bytes":14070,"path":"skills/generators/widget-generator/SKILL.md","sha256":"798cb2933275ae7b7f4423d2c912edda9ccc05fb62665827e36d318963c00db9","url":"https://skillfed.io/files/rshankras/claude-code-apple-skills/widget-generator/55a7f975/SKILL.md"}],"id":"rshankras/claude-code-apple-skills/widget-generator","links":{"html":"https://skillfed.io/rshankras/claude-code-apple-skills/widget-generator","md":"https://skillfed.io/rshankras/claude-code-apple-skills/widget-generator.md","repo":"https://github.com/rshankras/claude-code-apple-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":47,"language":"Swift","last_updated":"2026-07-24","license":"MIT","name":"widget-generator","publisher":"rshankras","stars":565},"relations":{"similar":[{"id":"dpearson2699/swift-ios-skills/widgetkit"},{"id":"existential-birds/beagle/widgetkit-code-review"},{"id":"rshankras/claude-code-apple-skills/widgets"},{"id":"arjitj2/swiftui-design-principles/swiftui-design-principles"},{"id":"rshankras/claude-code-apple-skills/live-activity-generator"},{"id":"rshankras/claude-code-apple-skills/watchos"},{"id":"dpearson2699/swift-ios-skills/relevancekit"},{"id":"rshankras/claude-code-apple-skills/liquid-glass"},{"id":"Aradotso/marketing-skills/ios-marketing-capture-automation"},{"id":"rshankras/claude-code-apple-skills/generators"}]},"slug":{"owner":"rshankras","repo":"claude-code-apple-skills","skill":"widget-generator"},"version":"55a7f975"}
