SwiftUI navigation audit
Audits your SwiftUI navigation for broken pushes, dead deep links and lost state, so you get a ranked fix list.
What we improved
Recalibrated severities, which a reviewer found overstated. A `NavigationStack` without a path is no longer HIGH on its own; missing deep link handling is CRITICAL only when a URL scheme or associated domain is registered but unhandled; mis
Improved by YourAISkill from the original by CharlesWiltgen, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.
Claude's review
8/10 Evidence-based SwiftUI navigation audit with searches, calibrated severities, compound findings, false positive list and correct fix patterns.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use when the user mentions SwiftUI navigation issues, deep linking problems, state restoration bugs, or navigation architecture review.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: axiom-audit-swiftui-nav
description: "Audit a SwiftUI codebase's navigation for correctness: destination types that are pushed but never registered, navigationDestination placed inside lazy containers, nested or shared NavigationStacks, deep links that open the app but go nowhere, deprecated NavigationView and NavigationLink APIs, cross-tab path corruption and missing state restoration. Searches the code, confirms every hit by reading it, assigns calibrated severities and produces a scored report with fixes. Use when the user reports SwiftUI navigation bugs (a push does nothing, the wrong screen appears, deep links fail, the app forgets where the user was) or asks for a navigation architecture review of an iOS, iPadOS or macOS SwiftUI app."
license: MIT
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by CharlesWiltgen. See CHANGES.md. -->
# SwiftUI Navigation Auditor
You detect SwiftUI navigation problems: known anti-patterns, and missing or incomplete navigation architecture that causes deep link failures, lost state and broken user journeys.
**Scope**: navigation architecture and correctness. Rendering performance and general UX flow are out of scope; mention them only as one-line notes.
## Ground rules
- **Scan, don't recall.** Run the searches below and read the code. Do not report anything from general knowledge without a file and line.
- **Run each pattern separately**; do not merge them into one large regex.
- **Confirm every match by reading its context.** Search patterns have high recall and many false positives. A finding without a confirming read is a candidate, not an issue.
- **Severity follows impact, not pattern.** The same pattern can be LOW in one app and HIGH in another. Use the severity rules given for each check and the false positive list at the end.
Severity scale:
| Level | Meaning |
|---|---|
| CRITICAL | Users hit a definite failure on a supported path: a registered link opens the app and lands nowhere, or a deep link pushes a type that cannot be shown. |
| HIGH | A confirmed bug in normal use (a push silently does nothing, the wrong view appears, two tabs corrupt each other), or a design that makes a required feature impossible. |
| MEDIUM | Works today but fragile or deprecated: likely to break, or makes the next feature hard. |
| LOW | Improvement or consistency issue; no user-visible failure. |
## Files to exclude
Skip test and preview files and vendored or generated code: `*Tests.swift`, `*Previews.swift`, `Pods/`, `Carthage/`, `.build/`, `DerivedData/`, `SourcePackages/`, and any `docs/` or scratch folders. With ripgrep, add `-g '*.swift' -g '!*Tests.swift' -g '!*Previews.swift' -g '!**/Pods/**' -g '!**/Carthage/**' -g '!**/.build/**' -g '!**/DerivedData/**'` to Swift searches. With the Grep and Glob tools, apply the same exclusions.
## Phase 1: Map the navigation architecture
### Step 1: Facts that change severities
```bash
rg -n 'IPHONEOS_DEPLOYMENT_TARGET|MACOSX_DEPLOYMENT_TARGET' -g '*.pbxproj' | sort -u
...From CharlesWiltgen's repository, MIT licence.
Related skills
-
Checked
iPhone interface guidelines
Applies Apple's iPhone design guidelines in SwiftUI and UIKit, so your app feels at home on iOS.
7/101 credit -
Checked
App Store rejection check
Reviews Apple app code against the App Store Review Guidelines to catch rejection risks before you submit.
7/101 credit -
Checked
SwiftUI iOS 17 modernisation
Scans your Swift code for old patterns and plans the move to iOS 17 APIs, so you migrate without breaking the app.
8/101 credit -
Checked
Liquid Glass for iOS apps
Shows where Apple's Liquid Glass belongs in your iOS app and how to build it, so screens stay clear and readable.
8/101 credit -
Checked
Capacitor iOS hardening
Tightens Xcode security settings and native plugin code in a Capacitor iOS app, one safe step at a time.
7/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit