Ios Navigation
ASecurityUse `NavigationStack` on iOS 16+ and keep a `NavigationPath` when you need programmatic pushes or deep-link routing. Handle incoming URLs at the root `WindowGroup` with `onOpenURL`, parse them safely with `guard let`, validate that the destination content actually exists, then append the matching route to the path so the back stack stays consistent. For Universal Links, configure the `applinks` Associated Domains entitlement and route `NSUserActivity` or URL-based entry points into the same n...
- 584 stars
- 0 votes
- 0 copies
- 1 view
- Added September 5, 2026
Security analysis
100/100Pro scans all 12 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill ios-navigation --agent claude-codeAre you the author of Ios Navigation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-ios-navigation-agent-skills-standard)Use `NavigationStack` on iOS 16+ and keep a `NavigationPath` when you need programmatic pushes or deep-link routing. Handle incoming URLs at the root `WindowGroup` with `onOpenURL`, parse them safely with `guard let`, validate that the destination content actually exists, then append the matching route to the path so the back stack stays consistent.
For Universal Links, configure the `applinks` Associated Domains entitlement and route `NSUserActivity` or URL-based entry points into the same navigation coordinator so external entry behaves the same as in-app navigation. If your app has tabs, keep a separate `NavigationStack` per tab instead of sharing one global stack, which avoids broken back behavior when switching tabs.
Avoid force unwrapping while parsing links, avoid appending invalid destinations, and avoid mutating navigation state before prerequisites are loaded. A good pattern is: root router receives URL, validates payload, resolves the target model, switches to the correct tab if needed, then updates that tab’s `NavigationPath`.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
- trigger-5.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.