swiftui-navigation

Centralize SwiftUI route management for per-tab NavigationStack and deep linking.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill swiftui-navigation-onymchat
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: swiftui-navigation
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/swiftui-navigation
Command: npx skills add https://github.com/onymchat/onym-ios --skill swiftui-navigation-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Navigation complexity in SwiftUI apps is common when supporting per-tab histories, deep links, and modal flows; this Skill provides a centralized, per-tab navigation architecture that scales with the app's growth.

Core Features & Use Cases

  • Independent per-tab NavigationStack histories with a shared router.
  • Support for NavigationSplitView, sheet presentation, and tab-based navigation.
  • Centralized URL/deep-link handling and universal links integration.

Quick Start

Run a minimal SwiftUI app that uses per-tab NavigationStacks with a central router and centralized route mapping to demonstrate push navigation and deep linking.

Frequently Asked Questions about swiftui-navigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage independent navigation stacks for each tab in SwiftUI?▼

Implement per-tab NavigationStacks by using a central Router that owns individual path and sheet state. This setup preserves independent tab histories while centralizing route management for scalable multi-tab apps.

What is the best way to handle deep links and universal links in a SwiftUI app?▼

Handle deep links and universal links by centralizing URL processing within a SwiftUI Router. A Hashable Route enum maps URLs to specific destinations, enabling programmatic push navigation across tabs and layouts.

Can I use NavigationSplitView with programmatic routing and sheets in SwiftUI?▼

Yes, NavigationSplitView works with programmatic routing and sheets. Centralized route management supports multi-column layouts, modal flows, and push navigation simultaneously within the same SwiftUI app architecture.

How do I map destinations for programmatic navigation in SwiftUI?▼

Map destinations for programmatic navigation by defining a Hashable Route enum and applying a centralized navigationDestination modifier. The Router updates the path state, which automatically triggers the correct view presentation.

Why does SwiftUI navigation become hard to scale across multiple tabs and modal flows?▼

SwiftUI navigation becomes hard to scale when state is scattered across views. Centralizing path and sheet state in a Router, alongside a Hashable Route enum, provides a scalable architecture for complex per-tab histories and deep links.