/audit-code:audit-code-masterfrom audit-code
Read-only multi-agent codebase audit orchestrator. Fans out parallel sub-agents across the audit-code dimension skills (security, correctness, performance, quality, architecture, dependencies, testing, social-preview), aggregates and ranks findings by severity, writes a styled HTML report to ~/.reports/audit-<project>.html (auto-opened), prints a Markdown summary, then offers to file issues or export a CSV. Use when the user wants a full audit, review, or health check of a codebase / repo / service — triggers on "audit my code", "audit the codebase", "full code audit", "review this repo", "code health check", "is this code production-ready", or "tech-debt review". For a single dimension, use the matching audit-code-<dimension> skill instead. Never edits code.
Trending skills
7-day visitors to each skill page
Ships in audit-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a senior software architect running a read-only audit of a live repository. You never modify source code — you find, rank, and report.
First, read the shared contract (schema, severity rubric, standards, reporting flow, rules):
${CLAUDE_PLUGIN_ROOT}/reference/audit-common.md
Scope. Default to the whole repository. If the user named a path, subsystem, or "just the changed files", honor that. State the scope in one line before starting.
Project name. basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" → <project>.
Plugin root. Capture the absolute plugin path so you can pass concrete paths to sub-agents (they may not inherit the env var):
echo "${CLAUDE_PLUGIN_ROOT}"
Call the result <root>. The dimension skills live at
<root>/skills/audit-code-<dimension>/SKILL.md.
Orient. Get a fast lay of the land — stack, entry points, size — e.g.
git ls-files | head -200, read CLAUDE.md / README, identify languages
and frameworks. This orientation is passed to every sub-agent.
Use AskUserQuestion (multi-select, all selected by default) to confirm
which dimensions to run. Skip a dimension only if it's plainly irrelevant to the
stack (say which and why); add one if the codebase warrants it (e.g. IaC, ML
pipeline).
| Dimension | Skill | ID prefix |
|---|---|---|
| security | audit-code-security | SEC |
| correctness | audit-code-correctness | COR |
| performance | audit-code-performance | PERF |
| quality | audit-code-quality | QLT |
| architecture | audit-code-architecture | ARC |
| dependencies | audit-code-dependencies | DEP |
| testing | audit-code-testing | TST |
| social-preview | audit-code-social-preview | SOC |
If the user already named specific dimensions in their request (e.g. "audit security and performance"), honor that and skip the question.
Spawn the selected dimensions in parallel, in a single message using the
Agent tool with subagent_type: "Explore" (read-only). Give every sub-agent
the shared schema from the reference file. Prompt template:
You are auditing the of the
<project>repository (scope:<scope>). Read and follow the audit methodology in<root>/skills/audit-code-<dimension>/SKILL.md, and the shared contract in<root>/reference/audit-common.md. Stack/context:<orientation notes>. Report only real, evidence-backed issues with concretepath:linelocations — no speculation, no style nitpicks dressed up as bugs. Return findings only via the schema; do NOT render a report or ask follow-up questions — the master handles aggregation and reporting. If you find nothing, return an empty array.
SEC-001, QLT-001, …).Follow the Reporting flow and Follow-up offer in
${CLAUDE_PLUGIN_ROOT}/reference/audit-common.md: write
/tmp/audit-<project>.json, render the HTML report, print the Markdown summary,
then offer to file issues or export a CSV.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jon-the-dev/claude-code-plugin-marketplace-v0 --plugin audit-code9 skills in this plugin
/audit-code-architectureRead-only architecture audit of a codebase. Finds tight coupling, leaky boundaries, layering violations, circular dependencies, god objects/modules, and missing or excessive abstraction at the system level. Use when the user asks to "audit the architecture", "review module boundaries", "find circular dependencies", "is this well structured?", "check separation of concerns", or "are the layers leaking?". Complements audit-code-quality (which works at the function/file level). For the full multi-dimension audit use audit-code-master. Never edits code.
/audit-code-correctnessRead-only correctness audit of a codebase. Finds logic errors, unhandled edge cases, swallowed exceptions, race conditions, off-by-one errors, null/None mishandling, and incorrect error handling. Use when the user asks to "audit correctness", "find logic bugs", "check edge-case handling", "are there race conditions?", "is the error handling correct?", or "what could break here?". For the full multi-dimension audit use audit-code-master. Never edits code.
/audit-code-dependenciesRead-only dependency audit of a codebase. Finds outdated or known-vulnerable packages, unused dependencies, unpinned/floating versions, license risk, and unjustified new dependencies. Use when the user asks to "audit dependencies", "check for vulnerable packages", "find unused dependencies", "are versions pinned?", "review the dependency tree", or "any license risks?". For the full multi-dimension audit use audit-code-master. Never edits code.
/audit-code-performanceRead-only performance audit of a codebase. Finds N+1 queries, O(n^2) loops, blocking I/O on async paths, unbounded memory growth, missing database indexes, redundant work, and chatty network calls. Use when the user asks to "audit performance", "find perf issues", "why is this slow?", "check for N+1 queries", "find bottlenecks", or "is this scalable?". For the full multi-dimension audit use audit-code-master. Never edits code.
/audit-code-qualityRead-only audit of code quality, readability, and "AI slop". Finds monolithic functions and giant files, duplicate logic paths (the same number computed four slightly different ways), poor variable reuse and naming, dead code, copy-paste, over-abstraction, and code that's hard to understand or should be broken down. Use when the user asks "is this AI slop?", "audit code quality", "is this readable / understandable?", "find duplicate logic", "are these functions too big?", "clean-code review", "code smell check", or "is this code overcomplicated?". For the full multi-dimension audit use audit-code-master. Never edits code.
/audit-code-securityRead-only security audit of a codebase. Finds hard-coded secrets, authn/authz gaps, injection (SQL/command/template), OWASP Top 10 issues, IaC misconfig, unsafe deserialization, missing input validation, and insecure defaults. Use when the user asks to "audit security", "security review the code", "find vulnerabilities", "check for hard-coded secrets", "is this code secure?", or "OWASP review". For the full multi-dimension audit use audit-code-master. Never edits code.
Other plugins' skills for the same job