Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rshankras/navigation-patterns
SwiftUI navigation architecture patterns including NavigationStack, NavigationSplitView, TabView, programmatic navigation, and custom transitions.
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
2 fixed20 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am designing the layout for an iPad and Mac document manager that features a folder directory, a file list, and a detail viewer panel. Could you evaluate my requirements and give me a structural recommendation along with a code template showing the correct top-level container setup and proper view hierarchy for multi-pane drill-down?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends NavigationSplitView as the top-level container for three-column layout | Passed | Passed |
| Places NavigationStack exclusively within the detail column rather than sidebar or content columns | Missed | Passed |
The instructions your model reads when the skill loads.
Comprehensive guide for SwiftUI navigation architecture on iOS, iPadOS, and macOS. Covers the modern navigation APIs (iOS 16+/macOS 13+) with patterns for common and advanced use cases.
Use this to pick the right navigation container:
What is the app structure?
│
├─ Flat sections (3-5 top-level areas)
│ └─ TabView → see tab-view.md
│
├─ Hierarchical drill-down (list → detail)
│ └─ NavigationStack → see navigation-stack.md
│
├─ Sidebar + content (macOS / iPad)
│ ├─ Two columns → NavigationSplitView → see navigation-split-view.md
│ └─ Three columns → NavigationSplitView → see navigation-split-view.md
│
└─ Combined (tabs with drill-down, sidebar with stacks)
└─ TabView + NavigationStack per tab
OR NavigationSplitView + NavigationStack in detail
| Pattern | Container | Min OS | Reference |
|---|
test cases passed, vs 20 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.