
Description
swiftui-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out modern SwiftUI patterns for declarative, fast interfaces on Apple platforms. Its topics include state management with the Observation framework and @Observable, choosing the simplest property wrapper that fits (@State, @Binding and others), view composition, type-safe navigation with NavigationStack, structuring view models and data flow, performance work on lists and complex layouts, and environment values with dependency injection. The skill applies when building SwiftUI views and managing their state, designing navigation flows, structuring view models, optimising rendering, and wiring environment values. As a SKILL.md file of instructions, it is loaded by an AI coding agent when those tasks come up, so the agent follows the same conventions each time. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- @Observable state management
- Property wrapper selection guidance
- Type-safe NavigationStack flows
- List and layout performance
Ratings & Reviews
No ratings yet
Be the first to rate swiftui-patterns.
People also visit
swiftui-patterns FAQ
What does the swiftui-patterns skill do?
It guides an agent in building SwiftUI interfaces, covering state with @Observable, view composition, navigation and performance.
How does it help choose state tools?
It includes a property wrapper selection guide that recommends the simplest wrapper that fits the need.
Does it cover navigation?
Yes. It covers type-safe navigation flows built on NavigationStack.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill swiftui-patterns
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best swiftui-patterns alternatives?
Popular alternatives to swiftui-patterns include swiftui-expert-skill, liquid-glass-design and apple-notes. See all swiftui-patterns alternatives










