What problem does it solve?
This Skill prevents slow, inconsistent SwiftUI UI development by guiding you toward reliable view composition, state ownership, navigation, and presentation patterns.
Core Features & Use Cases
- SwiftUI view composition best practices: keep views small and focused by composing subviews and using SwiftUI-native data flow.
- Correct state ownership decisions: choose the narrowest state tool for local UI, bindings, iOS 17+ observation, and legacy ObservableObject fallback.
- Navigation, sheets, and async lifecycle guidance: apply consistent patterns for TabView + NavigationStack routing, centralized enum-driven sheets, and task lifecycle with cancellation-safe async loading.
- UI performance guardrails: maintain stable identity, narrow observation scope, and avoid expensive work inside body.
- When to use: creating or refactoring SwiftUI screens, tab architectures, navigation hierarchies, responsive layouts (stacks/grids), component-specific patterns, and async-loaded UI with loading/error states.
Quick Start
Ask: "Refactor my SwiftUI screen to use correct state ownership, enum-driven sheets, and navigation best practices while keeping performance guardrails in mind."