# Axiom audit swiftui nav

> Axiom audit swiftui nav is an open-source agent skill for developer tools. Audits SwiftUI navigation code for deep link gaps, state loss and routing bugs. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-audit-swiftui-nav
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-swiftui-nav
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill turns the agent into a SwiftUI navigation auditor. It maps how a project uses NavigationStack, NavigationSplitView, TabView, NavigationPath, sheets and onOpenURL handlers, then checks the code against a fixed set of anti-patterns such as unbound stacks, unregistered path destinations, duplicate destination types and deprecated NavigationLink initializers.

Beyond pattern matching, the workflow asks the agent to reason about what is missing: destinations that are never registered, screens without a URL route, navigation state that does not survive app termination, and modal sheets that try to push onto their parent stack. Findings are grouped by severity, cross-referenced for compound risks, and summarized in a navigation health score rated solid, fragile or broken.

The skill is read-only in spirit: it asks the agent to run searches over Swift files, skipping tests, previews and vendored folders, and to open key navigation files to confirm context before reporting. It expects a Swift or SwiftUI codebase and produces a markdown audit report. Performance problems are left to a separate performance analyzer.

## When your agent uses it

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-swiftui-nav)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-swiftui-nav)

## Features

- **Navigation architecture mapping:** Summarizes the navigation containers, path usage, deep link routing and state preservation strategy in the project.
- **Anti-pattern detection:** Runs a set of checks for unbound stacks, duplicate destinations, deprecated link APIs and missing iPad sidebar handling.
- **Deep link coverage review:** Checks whether externally reachable screens have URL handlers and whether routing from onOpenURL reaches them.
- **State restoration checks:** Looks for navigation path data that is not persisted, so users keep their place after the app is terminated.
- **Compound risk scoring:** Raises severity when several findings combine, such as a missing path binding alongside a deep link handler.
- **Health score report:** Produces a markdown report with issue counts by severity and a solid, fragile or broken rating.

## Good for

- Check my SwiftUI navigation for correctness issues
- My deep links aren't opening the right screen, scan my navigation code
- Review whether my NavigationPath state survives app relaunch
- Find destinations that are pushed but never registered with navigationDestination
- Audit my app's navigation architecture before a refactor

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-audit-swiftui-nav` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-audit-swiftui-nav &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-nav" ~/.claude/skills/axiom-audit-swiftui-nav &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/axiom-audit-swiftui-nav` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-audit-swiftui-nav` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-audit-swiftui-nav &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-nav" ~/.agents/skills/axiom-audit-swiftui-nav &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/axiom-audit-swiftui-nav` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-audit-swiftui-nav` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-audit-swiftui-nav &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-nav" ~/.cursor/skills/axiom-audit-swiftui-nav &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-audit-swiftui-nav` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-swiftui-nav
```

Or copy the folder to `~/.gemini/skills/axiom-audit-swiftui-nav` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-audit-swiftui-nav`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-audit-swiftui-nav &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-nav" ~/.copilot/skills/axiom-audit-swiftui-nav &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-audit-swiftui-nav` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git
```

Then copy `Axiom/axiom-codex/skills/axiom-audit-swiftui-nav` into your agent's skills folder as `axiom-audit-swiftui-nav`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Axiom audit swiftui nav trigger?

It is meant for prompts that mention SwiftUI navigation issues, deep linking problems, state restoration bugs or navigation architecture review.

### Does Axiom audit swiftui nav modify my code?

Its instructions focus on scanning and reporting findings with suggested fixes; it does not describe making edits to the project.

### Which files does Axiom audit swiftui nav skip?

It excludes test files, preview files, vendored dependency folders, build output and documentation or Claude-specific folders.

### Does Axiom audit swiftui nav cover performance issues?

No. The skill states that performance problems belong to a separate SwiftUI performance analyzer.

### How do I install Axiom audit swiftui nav in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-swiftui-nav to use it in all your projects, or to .claude/skills/axiom-audit-swiftui-nav in one project.

### Does Axiom audit swiftui nav run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Axiom audit swiftui nav?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Axiom audit swiftui nav?

The closest alternatives to Axiom audit swiftui nav are Axiom audit UX flow, Axiom audit swiftui architecture, Axiom audit swiftui layout, Axiom analyze swiftui performance and Axiom audit accessibility.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Axiom audit UX flow](https://ai-powered.com/skills/axiom-audit-ux-flow): Axiom audit UX flow is an open-source agent skill for developer tools.
- [Axiom audit swiftui architecture](https://ai-powered.com/skills/axiom-audit-swiftui-architecture): Axiom audit swiftui architecture is an open-source agent skill for developer tools.
- [Axiom audit swiftui layout](https://ai-powered.com/skills/axiom-audit-swiftui-layout): Axiom audit swiftui layout is an open-source agent skill for developer tools.
- [Axiom analyze swiftui performance](https://ai-powered.com/skills/axiom-analyze-swiftui-performance): Axiom analyze swiftui performance is an open-source agent skill for developer tools.
- [Axiom audit accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Axiom audit testing](https://ai-powered.com/skills/axiom-audit-testing): Axiom audit testing is an open-source agent skill for developer tools.
- [Axiom audit swiftdata](https://ai-powered.com/skills/axiom-audit-swiftdata): Axiom audit swiftdata is an open-source agent skill for developer tools.
- [Axiom audit networking](https://ai-powered.com/skills/axiom-audit-networking): Axiom audit networking is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-audit-swiftui-nav
