An agent skill that produces a navigable CODE_AUDIT.md for an iOS or macOS Swift project — bugs, dead code, Swift concurrency issues, deprecated APIs, security, performance, and SwiftUI quality — with every finding cited to path/to/file.swift:LINE.
The skill is READ-ONLY: it never modifies your code. It produces one deliverable, CODE_AUDIT.md, written to the root of the audited repo.
iOS and macOS Swift developers who want a one-shot, severity-graded audit of a codebase — the kind of review you'd commission before a refactor sprint, a major release, or an acquisition. The output is a single Markdown report you can hand to a teammate, file as issues, or work through over a few PRs.
npx skills add (recommended)npx skills add https://github.com/jazzychad/ios-code-audit --skill ios-code-audit
git clone https://github.com/jazzychad/ios-code-audit ~/.claude/skills/ios-code-audit
In your local project directory:
mkdir -p .claude/skills && git clone https://github.com/jazzychad/ios-code-audit .claude/skills/ios-code-audit
Restart Claude Code (or run /skills to refresh) and the skill will appear as ios-code-audit.
CODE_AUDIT.md is structured for triage — section numbering survives edits so you can refer to findings as "§5.4" in issues or PRs. Sections include:
CIContext lifecycle, redundant decodes, main-thread hot paths@State/@Observable misuse, view-body work, accessibility gapsTODO/FIXMEOperating principles enforced by the skill:
file.swift:LINE. "Throughout the codebase" is rejected.@MainActor annotation that triggers seven warnings is one finding listing the seven sites, not seven findings.Set these up before running the skill.
The skill uses Xcode's built-in MCP server to extract structured compiler warnings as canonical input for the concurrency and deprecation portions of the audit. Without it, the skill falls back to parsing xcodebuild output, which works but is noisier.
Enable it by following Apple's official guide: 👉 https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode
swiftui-expert-skill (required if your project uses SwiftUI)Step 4 of the workflow delegates SwiftUI review to a dedicated expert skill. If your project has any SwiftUI views, install:
👉 https://github.com/AvdLee/SwiftUI-Agent-Skill
npx skills add https://github.com/AvdLee/SwiftUI-Agent-Skill --skill swiftui-expert-skill
If your project is pure UIKit / AppKit, this dependency is optional — the SwiftUI pass is skipped.
Open Claude Code in the root of your iOS/macOS Swift project and ask naturally — the skill activates on phrases like:
Or invoke it explicitly:
/ios-code-audit
When the skill finishes, the report is written to <repo-root>/CODE_AUDIT.md. The skill overwrites any existing CODE_AUDIT.md — if you want to keep prior audits, git mv them first.
If your project has a CLAUDE.md that lists "do not edit" directories (e.g., Dead/, Archive/), the skill reads and excludes them automatically.
A 6-step workflow:
xcodebuild (fallback). This becomes canonical input for the concurrency audit, so the skill never has to guess whether a warning exists.swiftui-expert-skill against the SwiftUI surfaces (skipped if pure UIKit/AppKit).CODE_AUDIT.md — using a stable section-numbered template so findings can be referenced by ID.The full workflow, including the per-agent briefs and the report skeleton, lives in SKILL.md and the references/ directory.
swiftui-expert-skill and its trace tooling separately.The three files SKILL.md, references/agent-prompts.md, and references/report-template.md form one pipeline — the per-finding template (Location / What / Why / Action / Severity) must stay identical across all three so synthesis stays mechanical. See CLAUDE.md for editing rules.
Issues and PRs welcome.
MIT.
520 followers · starred May 2026
15 followers · starred May 2026
An agent skill that produces a navigable CODE_AUDIT.md for an iOS or macOS Swift project — bugs, dead code, Swift concurrency issues, deprecated APIs, security, performance, and SwiftUI quality — with every finding cited to path/to/file.swift:LINE.
The skill is READ-ONLY: it never modifies your code. It produces one deliverable, CODE_AUDIT.md, written to the root of the audited repo.
iOS and macOS Swift developers who want a one-shot, severity-graded audit of a codebase — the kind of review you'd commission before a refactor sprint, a major release, or an acquisition. The output is a single Markdown report you can hand to a teammate, file as issues, or work through over a few PRs.
npx skills add (recommended)npx skills add https://github.com/jazzychad/ios-code-audit --skill ios-code-audit
git clone https://github.com/jazzychad/ios-code-audit ~/.claude/skills/ios-code-audit
In your local project directory:
mkdir -p .claude/skills && git clone https://github.com/jazzychad/ios-code-audit .claude/skills/ios-code-audit
Restart Claude Code (or run /skills to refresh) and the skill will appear as ios-code-audit.
CODE_AUDIT.md is structured for triage — section numbering survives edits so you can refer to findings as "§5.4" in issues or PRs. Sections include:
CIContext lifecycle, redundant decodes, main-thread hot paths@State/@Observable misuse, view-body work, accessibility gapsTODO/FIXMEOperating principles enforced by the skill:
file.swift:LINE. "Throughout the codebase" is rejected.@MainActor annotation that triggers seven warnings is one finding listing the seven sites, not seven findings.Set these up before running the skill.
The skill uses Xcode's built-in MCP server to extract structured compiler warnings as canonical input for the concurrency and deprecation portions of the audit. Without it, the skill falls back to parsing xcodebuild output, which works but is noisier.
Enable it by following Apple's official guide: 👉 https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode
swiftui-expert-skill (required if your project uses SwiftUI)Step 4 of the workflow delegates SwiftUI review to a dedicated expert skill. If your project has any SwiftUI views, install:
👉 https://github.com/AvdLee/SwiftUI-Agent-Skill
npx skills add https://github.com/AvdLee/SwiftUI-Agent-Skill --skill swiftui-expert-skill
If your project is pure UIKit / AppKit, this dependency is optional — the SwiftUI pass is skipped.
Open Claude Code in the root of your iOS/macOS Swift project and ask naturally — the skill activates on phrases like:
Or invoke it explicitly:
/ios-code-audit
When the skill finishes, the report is written to <repo-root>/CODE_AUDIT.md. The skill overwrites any existing CODE_AUDIT.md — if you want to keep prior audits, git mv them first.
If your project has a CLAUDE.md that lists "do not edit" directories (e.g., Dead/, Archive/), the skill reads and excludes them automatically.
A 6-step workflow:
xcodebuild (fallback). This becomes canonical input for the concurrency audit, so the skill never has to guess whether a warning exists.swiftui-expert-skill against the SwiftUI surfaces (skipped if pure UIKit/AppKit).CODE_AUDIT.md — using a stable section-numbered template so findings can be referenced by ID.The full workflow, including the per-agent briefs and the report skeleton, lives in SKILL.md and the references/ directory.
swiftui-expert-skill and its trace tooling separately.The three files SKILL.md, references/agent-prompts.md, and references/report-template.md form one pipeline — the per-finding template (Location / What / Why / Action / Severity) must stay identical across all three so synthesis stays mechanical. See CLAUDE.md for editing rules.
Issues and PRs welcome.
MIT.
520 followers · starred May 2026
15 followers · starred May 2026