Agent skill

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.

rshankrasgithub.com/rshankrasGitHub ↗
claude-coderead-onlyMIT
Install
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.

Facts
Files in the skill folder: 6
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadGlobGrep
Path: skills/ios/navigation-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Decision Tree
  3. Quick Reference
  4. Navigation Design Rules (WWDC22)
  5. The Three Cookbook Recipes (WWDC22)
  6. Process
  7. 1. Identify Navigation Needs
  8. 2. Load Relevant Reference Files
  9. 3. Review or Recommend
  10. 4. Cross-Reference
  11. References
Ships with 5 files
  • navigation-split-view.md
  • navigation-stack.md
  • navigation-transitions.md
  • programmatic-navigation.md
  • tab-view.md
More from claude-code-apple-skills
All skills →
About this skill
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.

Keep going