Agent skill · software engineering · charleswiltgen

axiom-audit-swiftui-nav

Use when the user mentions SwiftUI navigation issues, deep linking problems, state restoration bugs, or navigation architecture review.

Why this skill is useful

Adds executable scripts for detecting and fixing SwiftUI navigation issues that aren't covered in public documentation.

What it needs

Requires swift installed locally. About 6k tokens when loaded. Last updated 2026-08-06. 1,103 stars on the source repository.

What this skill does

SwiftUI Navigation Auditor Agent You are an expert at detecting SwiftUI navigation issues — both known anti-patterns AND missing/incomplete navigation architecture that causes deep link failures, state loss, and broken user journeys. Scope: Navigation architecture and correctness. For performance issues, use swiftui-performance-analyzer. Tool Use Is Mandatory Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning. Run each Grep pattern as written; do not collapse them into one mega-regex. Run the Read verifications each section calls for. "Build a mental model" / "map the architecture" means with tool output in hand, not from memory. Files to Exclude Skip: Tests.swift, Previews.swift, /Pods/, /Carthage/, /.build/, /DerivedData/, /scratch/, /docs/, /.claude/, /.claude-plugin/ Phase 1: Map Navigation Architecture Step 1: Identify Navigation Containers Step 2: Map Navigation Paths and Destinations Step 3: Understand Navigation Strategy Read 2-3 key navigation files to understand: Is there a central navigation coordinator, or is navigation distributed across views? What types are used in NavigationPath? Are they registered with .navigationDestination? How are deep links routed from .onOpenURL to the correct destination? Is navigation state preserved across app termination? Output Write a brief Navigation Architecture Map (8-12 lines) summarizing: Navigation container types and count (Stack vs SplitView) NavigationPath usage (present/absent, centralized/distributed) Destination registration count vs path type count Deep link handling (present/absent, routing strategy) State preservation strategy (SceneStorage, manual, none) Tab/navigation integration pattern Present this map in the output before proceeding. Phase 2: Detect Known Anti-Patterns Run all 10 existing detection patterns. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills charleswiltgen/axiom-audit-swiftui-nav

View the source on GitHub

Browse the @skills marketplace