
Axiom audit swiftui layout
Audits SwiftUI code for layout anti-patterns and missing adaptive layout strategies
Axiom audit swiftui layout 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 layout
This skill turns the agent into a SwiftUI layout auditor. It first maps how the codebase sizes and adapts its views, counting uses of GeometryReader, size classes, ViewThatFits, AnyLayout and fixed frames, then checks for twelve known problem patterns such as GeometryReader inside stacks, deprecated screen APIs, conditional stack switches that lose view state, and controls placed under ignoresSafeArea.
After the pattern checks, the agent looks for gaps such as missing iPad Split View support, fixed widths close to the smallest iPhone width, and missing landscape handling. Findings are grouped by severity with file and line references, and a summary rates the app as adaptive, rigid or broken. Each finding includes a suggested fix, and the report closes with a checklist of device sizes to test on.
The skill is written as an agent instruction set that reads Swift source files, mainly by searching and reading them. It expects a SwiftUI codebase, and it references companion Axiom skills for toolbars and iPhone Duo guidance.
When your agent uses it
Use when the user mentions SwiftUI layout review, adaptive layout issues, GeometryReader problems, or multi-device layout checking.
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 (18 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-layout 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-layout &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-layout" ~/.claude/skills/axiom-audit-swiftui-layout &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/axiom-audit-swiftui-layout inside it instead.
Copy the skill folder to ~/.agents/skills/axiom-audit-swiftui-layout 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-layout &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-layout" ~/.agents/skills/axiom-audit-swiftui-layout &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/axiom-audit-swiftui-layout inside it instead.
Copy the skill folder to ~/.cursor/skills/axiom-audit-swiftui-layout 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-layout &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-layout" ~/.cursor/skills/axiom-audit-swiftui-layout &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/axiom-audit-swiftui-layout 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-layoutOr copy the folder to ~/.gemini/skills/axiom-audit-swiftui-layout yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-audit-swiftui-layout:
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-layout &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-swiftui-layout" ~/.copilot/skills/axiom-audit-swiftui-layout &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/axiom-audit-swiftui-layout inside it instead.
Get the folder:
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.gitThen copy Axiom/axiom-codex/skills/axiom-audit-swiftui-layout into your agent's skills folder as axiom-audit-swiftui-layout. Agents that support SKILL.md read one folder per skill.
What it does
- Layout strategy mapping
- Summarizes how the codebase handles sizing, adaptivity and device-specific paths before auditing.
- Anti-pattern detection
- Checks for twelve known SwiftUI layout problems, each with a suggested fix.
- Completeness review
- Looks for missing multitasking, landscape and resizable-window support.
- Compound severity scoring
- Raises severity when several weak signals combine into a larger risk.
- Layout health score
- Rates the project as adaptive, rigid or broken with supporting metrics.
- Device test checklist
- Recommends testing on small iPhone, iPad Split View and Stage Manager sizes.
Good for
- Review my SwiftUI views for layout problems
- Find GeometryReader misuse in my code
- Check why my layout breaks on iPad Split View
- Scan my SwiftUI code for hardcoded sizes and breakpoints
- Audit my app for controls placed under ignoresSafeArea
Axiom audit swiftui layout FAQ
What triggers Axiom audit swiftui layout?
It loads when the user mentions SwiftUI layout review, adaptive layout issues, GeometryReader problems, or multi-device layout checking.
What does Axiom audit swiftui layout need to run?
It needs access to the SwiftUI source files in the project, which it searches and reads with Glob, Grep and Read. It uses no scripts.
Does Axiom audit swiftui layout change my code?
The skill describes an audit report with suggested fixes. Its instructions do not direct the agent to edit files.
Which files does Axiom audit swiftui layout skip?
It excludes test files, preview files, and dependency or build folders such as Pods, Carthage, .build and DerivedData.
How do I install Axiom audit swiftui layout in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-swiftui-layout to use it in all your projects, or to .claude/skills/axiom-audit-swiftui-layout in one project.
Does Axiom audit swiftui layout 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 layout?
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 layout?
The closest alternatives to Axiom audit swiftui layout are Axiom audit swiftui architecture, Axiom analyze swiftui performance, Axiom audit accessibility, Axiom audit UX flow and Axiom audit testing.
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

