
Axiom audit swiftui architecture
Audits SwiftUI code for logic in views, state misuse and testability gaps
Axiom audit swiftui architecture is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.3K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Axiom audit swiftui architecture
This skill turns the agent into a SwiftUI architecture reviewer. It scans Swift files for views that hold business logic, side-effecting work started from view bodies, misused property wrappers such as @State holding parent-owned data, oversized observable models, and non-view types that import SwiftUI. It maps the app's view and model boundaries first, then checks each finding against the surrounding code before reporting it.
The workflow ends with a health rating (clean, tangled or monolithic) and a list of issues grouped by severity, each with a file location and a suggested extraction target such as a model or computed property. It deliberately leaves micro-performance and navigation problems to companion audits and points users to those when relevant.
It expects a Swift or SwiftUI codebase and works by reading and searching project files with the agent's file tools. The skill ships with no scripts and sets no tool restrictions of its own.
When your agent uses it
Use when the user mentions SwiftUI architecture review, separation of concerns, testability issues, or "logic in view" problems.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (14 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/axiom-audit-swiftui-architecture to use it in all your projects:
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-architecture &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-architecture" ~/.claude/skills/axiom-audit-swiftui-architecture &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/axiom-audit-swiftui-architecture inside it instead.
Copy the skill folder to ~/.agents/skills/axiom-audit-swiftui-architecture to use it in every repository:
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-architecture &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-architecture" ~/.agents/skills/axiom-audit-swiftui-architecture &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/axiom-audit-swiftui-architecture inside it instead.
Copy the skill folder to ~/.cursor/skills/axiom-audit-swiftui-architecture to use it in every project:
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-architecture &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-architecture" ~/.cursor/skills/axiom-audit-swiftui-architecture &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/axiom-audit-swiftui-architecture inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-swiftui-architectureOr copy the folder to ~/.gemini/skills/axiom-audit-swiftui-architecture yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-audit-swiftui-architecture:
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-architecture &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-architecture" ~/.copilot/skills/axiom-audit-swiftui-architecture &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/axiom-audit-swiftui-architecture inside it instead.
Get the folder:
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.gitThen copy Axiom/axiom-codex/skills/axiom-audit-swiftui-architecture into your agent's skills folder as axiom-audit-swiftui-architecture. Agents that support SKILL.md read one folder per skill.
What it does
- Architecture boundary map
- Summarizes the architecture pattern, where logic lives and how dependencies are injected.
- Logic in view detection
- Finds formatting, filtering and business rules placed inside view bodies.
- Property wrapper checks
- Flags @State declarations that may copy data owned by a parent view.
- Async boundary review
- Identifies multi-step asynchronous work started from views instead of models.
- Testability assessment
- Locates non-view types that import SwiftUI and would need UI frameworks to test.
- Severity-ranked report
- Groups findings by severity with fix guidance and a clean, tangled or monolithic rating.
Good for
- Review my SwiftUI app for logic that should move out of views
- Check whether my @State usage is copying data that a parent owns
- Find view models that have grown too large and mix unrelated responsibilities
- Assess how testable my business logic is without importing SwiftUI
Axiom audit swiftui architecture FAQ
When does Axiom audit swiftui architecture trigger?
It is meant for requests that mention SwiftUI architecture review, separation of concerns, testability issues or logic-in-view problems.
Does Axiom audit swiftui architecture change my code?
The skill describes an audit that reads and reports on code and suggests fixes; it does not describe applying edits itself.
Does Axiom audit swiftui architecture cover performance problems?
No. Performance issues are routed to a separate SwiftUI performance analyzer, and navigation problems to a navigation auditor.
How do I install Axiom audit swiftui architecture in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-swiftui-architecture to use it in all your projects, or to .claude/skills/axiom-audit-swiftui-architecture in one project.
Does Axiom audit swiftui architecture 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 architecture?
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 architecture?
The closest alternatives to Axiom audit swiftui architecture are Axiom audit swiftui layout, Axiom analyze swiftui performance, Axiom audit UX flow, Axiom audit testing and Axiom audit swiftui nav.
Where this comes from
- Description: from the skill's own SKILL.md.
More from CharlesWiltgen/Axiom

Finds the code patterns behind flaky Swift Testing failures and explains each root cause
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps
- Open source
- 1.3K GitHub stars
- Developer tools

Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks
- Open source
- 1.3K GitHub stars
- Developer tools

Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed
- Open source
- 1.3K GitHub stars
- Developer tools

Interprets iOS and macOS crash logs and points the agent to the likely fix
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift code for ARC, copy, generic and actor performance overhead
- Open source
- 1.3K GitHub stars
- Developer tools

