swiftui
Installation
SKILL.md
SwiftUI — Foundations Skill
Purpose
Route SwiftUI implementation-code tasks to the minimum required SwiftUI Knowledge Contracts.
Routing
Load only the contracts relevant to the task. All paths relative to knowledge/swiftui/.
- Views -> view-composition.md, view-identity.md, modifier-order.md
- Navigation -> navigation-stack.md, navigation-split-view.md
- Layout -> stacks-and-spacing.md, safe-area.md, lazy-grids.md, geometry-reader-anti-pattern.md
- State management -> state-and-binding.md, observable-macro.md, environment-values.md
- Modernizing existing code -> observable-object-migration.md (ObservableObject, @Published, @StateObject, @ObservedObject, @EnvironmentObject), navigation-view-migration.md (NavigationView, navigationViewStyle, isActive:/tag:selection: NavigationLink)