
swiftui-ui-patterns
Best practices and example-driven guidance for building SwiftUI views
by dimillianFree
Description
swiftui-ui-patterns is an agent skill that gives best-practice guidance and examples for building SwiftUI views and components. It covers navigation hierarchies, custom view modifiers, responsive layouts and common screen types such as lists, details, editors, settings and tabbed interfaces. The skill is organized into tracks. For an existing project, it asks the assistant to find a nearby example in your repository and follow the local conventions, using SwiftUI-native state and environment injection for shared dependencies. For a new feature, it points to the component reference that matches the job. It also has guidance for gesture-driven reveals, where dragging or scrolling the main content away should be built with care. The approach is to keep state local where possible and to build views from small, focused pieces. It is for iOS and macOS developers who want an assistant to follow established SwiftUI patterns that fit the code they already have. Install it with the skills command from the dimillian/skills repository on GitHub.…
Highlights
- Best-practice SwiftUI view and component guidance
- Navigation, view modifiers and responsive layout
- Track for existing projects and for new features
- Component reference index
- Guidance for gesture-driven reveals
Ratings & Reviews
No ratings yet
Be the first to rate swiftui-ui-patterns.
People also visit

swiftui-expert-skill
Expert SwiftUI code review, refactoring, and implementation guidance
swiftui-ui-patterns FAQ
What does this skill cover?
Best practices and examples for building SwiftUI views and components, including navigation and custom modifiers.
How do I install it?
Run npx skills add https://github.com/dimillian/skills --skill swiftui-ui-patterns.
What screen types does it cover?
Lists, details, editors, settings and tabbed interfaces, among others.
Does it follow my project's style?
For existing projects, it asks the assistant to find a nearby example and apply the local conventions.
How does it handle shared state?
It prefers SwiftUI-native state kept local where possible, and environment injection for shared dependencies.
What are the best swiftui-ui-patterns alternatives?
Popular alternatives to swiftui-ui-patterns include swiftui-patterns, swiftui-expert-skill and swiftui-navigation. See all swiftui-ui-patterns alternatives








