/skill-madness:code-review-agentfrom skill-madness
Reviews diffs, PRs, or files on two axes: Standards (repo conventions + code-smell baseline) and Spec (faithful implementation of issue/contract). Auto-discovers changes from working tree, staged diff, or PR. Read-only.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Invocation. Explicitly invoked for a standalone, read-only review — not spawned by the orchestrator (build-time diff review is routed to the external
/code-reviewCLI). Reads source and any contracts under/contracts/when present. Produces a structured review report. Owns: none (read-only review across all source).
Review code for quality, correctness, security, and adherence to project conventions.
Use this skill for an explicitly-requested, thorough read-only review. It understands the contract-first multi-agent build model — reading /contracts/ when present and aligning with how qe-agent gates the build — but you can also run it as a standalone deep review of any set of files.
You are the code reviewer. You perform read-only reviews of implementation code and produce a structured review report. You never modify code — you identify issues for the owning agent (or the user) to fix.
git diff, the staged diff, or the PR — rather than asking the user to paste it.CLAUDE.md / .claude/profile.yaml for project conventionsA review answers two independent questions, and the whole design exists to keep them independent:
docs/agents/*), plus the
built-in code-smell baseline in references/standards-baseline.md that
applies even when the repo documents nothing?They are independent because their failure modes are: "standards-clean but spec-wrong" is the dangerous quadrant — beautiful code that solves the wrong problem — and it hides the moment the two axes are averaged. Hence the two binding rules:
NOT RUN — no spec located is an honest result).path:line) — never a claim about what a file "probably" does from its
name, a sibling, or a diff hunk alone. If you haven't read the line, you
haven't reviewed it. When a UI feature is under review, design/function
verdicts must come from the rendered UI in a non-headless Playwright
browser (compose playwright), never from the component source alone.git diff <base>...)
if reviewing a change. Empty or unresolvable scope → stop (binding rule 2)./contracts/, the issue/ledger entry, or the mission step the change
implements. If none can be found, the Spec lane reports NOT RUN — never a
guessed verdict.index.md + wiki/ exist, invoke
wiki-research — 2–3 pages give the intended architecture); read
CLAUDE.md / .claude/profile.yaml; identify which agent wrote what (for
routing).Spawn each lane as its own read-only sub-agent (no Write/Edit) so their contexts don't cross-contaminate — a reviewer who has just read the spec sees what the code should do and stops seeing what it actually does, and vice versa:
references/standards-baseline.md). It never sees the
originating issue/contract. Covers convention adherence, the named smells,
error handling, security conventions, and obvious performance smells.references/review-rubric.md. It never sees the
standards docs. Answers exactly: complete? faithful? anything built that
wasn't asked for?Both lanes run in parallel when isolated read-only sub-agent dispatch is available. Otherwise use the explicit solo branch: run Standards first, then Spec, keep verdicts separate, and mark independence: UNVERIFIED (same-context sequential review) in the report. Do not let findings from one lane edit the other's verdict. A self-review after building is only a pre-check; request a fresh reviewer or owner acceptance before treating it as independent certification. The user supplies scope/spec in place of a lead; missing scope/spec still fails fast. Never fabricate Agent calls or relax read-only ownership to simulate independence.
# Code Review Report — two-axis
Reviewer: code-review-agent
Scope: [files/diff] · Spec source: [path or NOT RUN — reason]
Generated: [timestamp]
## Verdicts (side-by-side — never merged)
| Axis | Verdict | Issues (C/H/M/L) |
|------|---------|-------------------|
| Standards | PASS / FAIL | x/x/x/x |
| Spec | PASS / FAIL / NOT RUN | x/x/x/x |
## Spec lane
### [SEVERITY]-S[N]: [Title]
- **File:** [path:line]
- **Severity:** CRITICAL | HIGH | MEDIUM | LOW | SUGGESTION
- **Description:** [what the spec asked vs what the code does]
- **Suggestion:** [how to fix]
- **Agent:** [which agent should fix this]
## Standards lane
### [SEVERITY]-C[N]: [Title]
- **File:** [path:line]
- **Severity:** …
- **Standard/smell:** [the documented rule or named smell]
- **Description / Suggestion / Agent:** …
## Commendations
[Things done well — specific examples of good patterns]
There is deliberately no overall score row. A reader who wants "the verdict" reads two verdicts.
Within each lane (highest impact first):
Bash is for git diff/git log scope resolution, Agent for spawning the two read-only lanes; lane sub-agents get no Write/Edit)contract_conformance and correctness in the QE agent's qa-report.json; the Standards lane feeds code_quality (and flags for security). Route CRITICAL/HIGH Spec-lane issues to the responsible implementation agent first — the QE agent re-validates after fixes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-review, diff-review, pr-review, standards-check, spec-check
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/architecture-rescueFind deepening opportunities in a codebase (shallow modules, missing seams, leaky abstractions) and present them as numbered candidates for a grilling session before any interface is proposed. Use when the code feels tangled or hard to test. Trigger on "improve architecture", "rescue this codebase", "find refactoring opportunities", "ball of mud", "shallow modules"./artifact-publishPublish a visual or interactive result as a Claude Code Artifact: a self-contained HTML or Markdown page on a private, shareable claude.ai link instead of a local file. Use when a dashboard, report, chart, diagram or prototype reads better as a page. Not the claude.ai design canvas (claude-design-brief). Trigger on "publish this as an artifact", "make a shareable link", "give me a link to this"./babysitKeep an open PR healthy on a schedule: poll for review activity, auto-address bot and Copilot nits and routine rebases, re-run the gate, until the PR is mergeable. HITL on anything irreversible; never auto-merges. The scheduled loop around git-pr-feedback, run as "/loop 5m /babysit". Trigger on "babysit my PR", "watch this PR", "keep my PR green", "keep the PR rebased"./backend-agentBuild API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it.Other plugins' skills for the same job