navigation-patterns
SwiftUI navigation architecture patterns including NavigationStack, NavigationSplitView, TabView, programmatic navigation, and custom transitions. Use when reviewing or building navigation, fixing navigation bugs, or architecting app flow.
npx skills add rshankras/claude-code-apple-skills --skill navigation-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Navigation Patterns 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. ## When This Skill Activates - User is building or reviewing navigation architecture - User has navigation-related bugs (stack not updating, back button issues, state loss) - User asks about NavigationStack, NavigationSplitView, TabView, or NavigationPath - User needs programmatic navigation (push, pop, pop-to-root) - User is implementing deep linking that connects to navigation - User asks about navigation transitions or animations - User is choosing between navigation approaches for their app ## Decision Tree 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 s
- When This Skill Activates
- Decision Tree
- Quick Reference
- Navigation Design Rules (WWDC22)
- The Three Cookbook Recipes (WWDC22)
- Process
- 1. Identify Navigation Needs
- 2. Load Relevant Reference Files
- 3. Review or Recommend
- 4. Cross-Reference
- References
What does the navigation-patterns skill do?
SwiftUI navigation architecture patterns including NavigationStack, NavigationSplitView, TabView, programmatic navigation, and custom transitions. Use when reviewing or building navigation, fixing navigation bugs, or architecting app flow.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill navigation-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
