widgets

Solid

Writes and reviews SwiftUI WidgetKit code for Home Screen, Lock Screen, StandBy, and watch widgets - timeline providers and reload policies, StaticConfiguration / AppIntentConfiguration, user-configurable widgets, widget families and sizing, accented/tinted rendering modes, interactive widgets and Controls (Control Center), Live Activities and the Dynamic Island, Smart Stack relevance, push-updated widgets, and visionOS / CarPlay / macOS surfaces. Use when building a widget extension, a timeline provider, a Lock Screen or accessory widget, a watch complication, an interactive button/toggle widget, a Control Center control, a Live Activity, or fixing a widget that won't update or render correctly in tinted mode.

Code & Development 13 stars 0 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
38
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Write and review SwiftUI WidgetKit code, choosing the right configuration, timeline policy, and surface so the widget renders correctly in every mode, updates within its budget, and behaves correctly across the extension/app process boundary. Review process: 1. Establish the widget execution model (the extension process, app groups, the timeline lifecycle, the reload budget) using `references/fundamentals.md`. 1. Validate the timeline provider (`placeholder`/`snapshot`/`timeline`, reload policy, `WidgetCenter` reloads, entry relevance) using `references/timeline-provider.md`. 1. Validate the configuration and any user-configurable parameters (`StaticConfiguration`, `AppIntentConfiguration`, `WidgetConfigurationIntent`) using `references/configuration-and-intents.md`. 1. Check whether any legacy API is in use and route it to the modern equivalent (SiriKit `.intentdefinition` → App Intents, ClockKit → WidgetKit, `PreviewProvider` → `#Preview`) using `references/migration-and-deprecations.md`. 1. Validate data loading - networking, persistence, images, location - in the provider and intents using `references/data-and-networking.md`. 1. Validate family support and per-family layout (`WidgetFamily`, sizing, content margins, `ViewThatFits`) using `references/families-and-layout.md`. 1. Validate Lock Screen / accessory widgets and watch complications (`widgetLabel`, `AccessoryWidgetBackground`, the transparent-container trick, ClockKit migration) using `references/lock-screen-and-...

Details

Author
n0an
Repository
n0an/Widgets-Agent-Skill
Created
2 months ago
Last Updated
3 days ago
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

widgetkit

Route WidgetKit implementation tasks to the correct Knowledge Contracts -- widget declaration and families, timeline provider and entries, widget interactivity and deep links, and timeline reloading and refresh budget. Use when conforming to Widget, WidgetBundle, or WidgetConfiguration, choosing StaticConfiguration or AppIntentConfiguration, declaring supportedFamilies or reading widgetFamily, applying containerBackground, implementing TimelineProvider (placeholder, getSnapshot, getTimeline), building a Timeline of TimelineEntry values, choosing a TimelineReloadPolicy, wiring widgetURL, Link, Button(intent:), or Toggle(_:isOn:intent:), or calling WidgetCenter.reloadTimelines/reloadAllTimelines. v1 is home-screen/Lock-Screen widgets only -- no Live Activities/ActivityKit, no watchOS complications as a distinct surface, no Control Widgets (iOS 18 Controls/ControlWidget), no StandBy-specific layout. Triggers on WidgetKit, Widget, WidgetBundle, WidgetConfiguration, StaticConfiguration, AppIntentConfiguration, sup

1 Updated today
caglarbaranbora
Web & Frontend Listed

ios-widget

Build and wire an iOS home-screen widget (WidgetKit) into a React Native app — the App Group snapshot architecture, adding the extension target to project.pbxproj by script, the Swift native module bridge, rendering the widget's image offscreen with Skia, dark mode, freshness, and the build verification traps. Use when the user asks to add, change, or debug a widget, a WidgetKit extension, an App Group, a home-screen widget, or a lock-screen widget; when a widget renders blank, stale, or light-only; or before touching anything under an ios/*Widget/ directory.

0 Updated 1 months ago
ltatarev
Web & Frontend Listed

uikit-expert

Write, review, or improve UIKit code following best practices for view controller lifecycle, Auto Layout, collection views, navigation, animation, memory management, and modern iOS 18–26 APIs. Use when building new UIKit features, refactoring existing views or view controllers, reviewing code quality, adopting modern UIKit patterns (diffable data sources, compositional layout, cell configuration), or bridging UIKit with SwiftUI. Does not cover SwiftUI-only code.

5 Updated today
zinxj