/garage:code-auditfrom garage
Rigorous multi-dimensional code audit across 11 lenses including code smells, duplication, security, performance, architecture, and test quality. Produces evidence-backed findings and improvement roadmap without inline fixes.
Ships in garage. 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.
Read when SKILL.md points to them.
Delegation, model labels, and task tracking below use Claude Code notation. In Codex or another client, follow
../../references/cross-client.md.
Breadth review of code that already exists: 11 dimensions, evidence-backed findings, a quality scorecard, and an improvement roadmap. Read-only: it produces findings, never inline fixes.
| Request | Skill |
|---|---|
| Spec, PRD, or RFC before implementation | spec-panel |
| Java/Spring boundary, dependency-direction, or transaction-scope deep dive | arch-review (or chain after this audit) |
| Threat model or deep auth/data-exposure review | security-review |
| SLO-driven latency or throughput analysis, load-test plan | performance-review |
| Final proof gate: does the evidence justify calling the work done | evidence-review |
| Prioritizing debt across a codebase by cost of delay | tech-debt-assessment (consumes this audit's Tier 2/3) |
| Quick correctness pass on a pending diff | code-review:code-review (official plugin) |
"Is this production-ready" and "does this follow our patterns" stay here.
Parse the target from the request: file paths, a directory, a feature ("the payment module"), or a PR or branch. Ask only what the request and repo cannot answer: scope, primary concern (quality, security, performance, architecture, all), and context (pre-merge, debt audit, incident, onboarding).
Confirm in a few lines: scope (files, approximate lines), language and framework, test files found, recent activity, and the dimensions that will run.
| ID | Lens | Dimension in references/review-dimensions.md | Label | Runs when |
|---|---|---|---|---|
LEAD | Orchestration and synthesis | all | opus | Always |
SMELL | Code smells, SOLID | 1, 2 | sonnet | Always |
DUP | Duplication | 3 | sonnet | Always |
ALGO | Algorithms, data structures | 4 | sonnet | Always |
SEC | Security breadth | 5 | opus | Always |
PERF | Performance and reliability breadth | 6 | sonnet | Always |
PATTERN | Design pattern fitness | 7 | sonnet | Module or larger |
ARCH | Architecture conformance | 8 | opus | Module or larger |
TECH | Technology and lifecycle | 9 | sonnet | Dependencies in scope |
SKEPTIC | Challenge assumptions | 10 | opus | Always |
TESTING | Test coverage and quality | 11 | sonnet | Always |
Fan-out is conditional. A few files or a single module: LEAD runs the lenses inline in one
pass. Fan out only for large scope (several modules, a full codebase): dispatch the active lenses as
parallel Agent calls in one message (general-purpose unless a matching reviewer type is
installed), each given the Evidence Manifest verbatim, its dimension section, only the files it
needs, and the finding format. LEAD waits for all of them, then synthesizes. When the user asks
specifically about Java/Spring architecture, chain to arch-review rather than deepening ARCH.
Findings come from real files and real command output, not memory.
git log --oneline -30 -- <target> and git shortlog -sn -- <target> for churn
and ownership; git blame only on suspicious hotspots.claudedocs/*-code-audit.md for this target if present; note fixed,
reopened, and ignored findings. Reopened findings get a severity boost.Gate: produce the Evidence Manifest (read references/roadmap-templates.md for the template)
before analysis. Anything that blocked evidence gathering goes under Blockers, not silently skipped.
Read references/review-dimensions.md before analysis. It holds the finding format, evidence
rules, severity scale, house-law checks, and the per-dimension protocols. The rules that matter
most:
Read references/roadmap-templates.md for the scorecard, findings summary, action tiers,
refactoring plan, and report header.
claudedocs/<target-name>-code-audit.md with the report header and action tracker.Tell the user where the report is and the next steps: root-cause the CRITICAL findings
(debug-triage), turn findings into tickets (ticket-breakdown), fix through the matching
implementation skill (api-first, temporal-workflow, fintech-ledger), review the fix, then
finalize.
TransferAdapter.send():84"), not generic ("add error handling").spec-to-impl or before finalize.debug-triage, ticket-breakdown, implementation skills for fixes, test-plan for coverage gaps.arch-review, security-review, performance-review; debt prioritization: tech-debt-assessment.produces:
- type: "code-audit"
format: "markdown"
path: "claudedocs/<target-name>-code-audit.md"
sections:
- scope-and-context
- codebase-investigation
- internet-research
- code-smells-findings
- solid-violations
- duplication-report
- algorithm-analysis
- security-checklist
- performance-checklist
- design-pattern-fitness
- architecture-conformance
- technology-evaluation
- skeptic-challenges
- quality-scorecard
- findings-summary
- improvement-roadmap-tier-1
- improvement-roadmap-tier-2
- improvement-roadmap-tier-3
- refactoring-plans
- recommended-reading
- action-tracker
handoff: "Write claudedocs/handoff-code-audit-<timestamp>.yaml - suggest: debug-triage (root cause), ticket-breakdown (remediation plan), api-first/temporal-workflow/fintech-ledger (for fixes), arch-review (deeper structure), code review, finalize"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub omexit/claude-skills-pack --plugin garage48 skills in this plugin
/adrUse when the user wants to record an architecture decision, write an ADR or decision record, or explain why a technology, data model, boundary, or pattern was chosen over alternatives./api-designUse when the user is designing, reviewing, or changing an API contract (REST, GraphQL, or RPC): endpoint shape, naming, errors, versioning, pagination, or developer experience, before or apart from implementing it./api-firstUse when the user wants to scaffold or implement a REST endpoint or resource in a Spring Boot project, especially from an OpenAPI snippet or spec: create endpoint, add API, add CRUD, generate controller, or implement POST/GET/PUT/PATCH/DELETE on a resource./arch-reviewUse when the user asks for an architecture review of existing Java or Spring Boot code: clean or hexagonal architecture boundaries, module boundaries, dependency direction, domain leakage, transaction boundaries, or business logic in controllers./competitive-analysisUse when the user asks for a competitive analysis, competitor review, market landscape, feature comparison against rivals, or who else solves this problem./data-designUse when the user is designing a data layer or schema across PostgreSQL, MongoDB, Elasticsearch, or Typesense: data model, indexing, query patterns, consistency, or keeping several stores in sync.Other plugins' skills for the same job