ios-code-audit

Audits iOS and macOS Swift codebases and generates a severity-graded CODE_AUDIT.md report.

1|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/OMIXEC/all-in-one-swift-skills --skill ios-code-audit-omixec
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ios-code-audit
Source: https://github.com/OMIXEC/all-in-one-swift-skills/tree/main/skills/ios-code-audit
Command: npx skills add https://github.com/OMIXEC/all-in-one-swift-skills --skill ios-code-audit-omixec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Reviewing a large Swift codebase for bugs, dead code, concurrency issues, and security risks is slow and inconsistent when done manually. This Skill runs a structured, read-only audit of an iOS or macOS project and produces a single navigable CODE_AUDIT.md report where every finding is cited to an exact file and line. ## Core Features & Use Cases - Six-step audit workflow: scopes the codebase, captures real compiler warnings via the Xcode MCP server or xcodebuild, then launches three parallel Explore agents covering concurrency/API modernity, dead code/duplication, and bugs/security/performance. - Severity-graded, verified findings: every Critical or High finding cites path/to/file.swift:LINE, and Critical claims are spot-verified by opening the cited lines before they enter the report. - Stable numbered report: CODE_AUDIT.md uses fixed section numbers (1-12) and N.M finding IDs so issues can be referenced as "§5.4" in tickets and PRs. - Use Case: Before a refactor sprint or major release, run the audit on your Swift project to get an executive summary, quick wins, and a prioritized list of concurrency, security, and performance findings to file as issues. ## Quick Start Open your iOS or macOS Swift project in Claude Code and ask it to run a comprehensive code audit of this codebase.

Frequently Asked Questions about ios-code-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a code audit on an iOS Swift project?▼

Open Claude Code in the root of your Swift project and ask for a code audit, comprehensive review, or tech-debt scan, or invoke /ios-code-audit directly. The skill writes a severity-graded CODE_AUDIT.md report to the repo root when finished.

What does the iOS code audit report include?▼

CODE_AUDIT.md contains an executive summary, quick wins, and numbered sections for concurrency, API modernity, bugs, security, performance, SwiftUI, dead code, and cross-cutting recommendations. Every Critical or High finding cites an exact file and line.

Does the audit modify my Swift code?▼

No, the skill is strictly read-only and never changes source files. Its only output is the CODE_AUDIT.md report written to the repository root, which it overwrites on each run.

Does the Swift code audit work without the Xcode MCP server?▼

Yes, it falls back to parsing xcodebuild output to collect compiler warnings, though the Xcode MCP server is preferred because it returns structured warning data. The SwiftUI expert pass also requires the separate swiftui-expert-skill if the project uses SwiftUI.

What are the limitations of an automated Swift code audit?▼

The audit does not cover Metal kernel correctness, Xcode project structure, third-party dependency internals, deep test coverage, localization wording, or Instruments profiling. It identifies potential hot paths but does not run runtime traces.