/at:review-codefrom at
Reviews a diff for correctness, design, security, and convention conformance. Severity-gated with an autofix lane for mechanically-certain trivia. Default review step in /at:auto-task.
Ships in at. 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.
/at:review-code [diff target] [further instructions]
Diff target: a commit, a commit range, a base branch, PR ref, etc.
Surface the small set of findings a competent author would fix if they saw them, and capture mechanically-certain trivia as ready-to-apply patches.
This must be run by a different model, or at least in a fresh session, as same-context self-review is fundamentally flawed.
If you authored the diff under review in the current session, or there is no diff target:
Drop, do not surface:
file:line with a concrete failure mechanism.Trivial is not drop. The list above removes findings that cost a human attention to adjudicate. A defect whose fix is mechanical and certain costs no adjudication — capture it with the exact fix and mark it Autofix:, even a one-character typo. The test is not "is it small?" but "does deciding whether and how to fix it need judgement?" No judgement + certain → autofix lane. Judgement needed + not material → drop.
Final tie-breaker only, when still unsure something is a finding at all: shown this, would a competent author agree it should change? If not, it is noise.
A co-equal blocking tier — equal weight, any defect here can gate the ship:
Then, descending: tests (happy/edge/failure coverage, assertions on behaviour not mocks, the right level) → error handling (consistent failure paths, no leaked internals) → performance & dependencies, hot paths only (N+1, unbounded collections, blocking I/O; new-dependency necessity, licence, CVEs) → docs & naming, low (comments explain why; names clear without extra context) → style, never.
The diff is usually agent-authored, with measurably different failure modes:
Default: one well-structured pass, then a verification pass.
Escape hatch: fan out to disjoint-scope specialist sub-agents only for known high-risk domains (security, concurrency), each scoped so it cannot be distracted, then a dedup/verify pass. Invoked by risk, not by default.
No persona prompting — task instructions only.
Second pass over your own candidates before surfacing anything. Drop each unless it has a concrete file:line and a causal chain (input → mechanism → wrong outcome) you have traced, not assumed. Attach confidence 0–100: surface at ~80+; collect 50–79 in a below_threshold bucket; drop below 50. The autofix bar is higher and separate (see below).
Two independent axes. Severity is blast radius. Autofix is whether the fix is mechanically certain and non-behavioural — orthogonal to severity.
| Severity | Meaning | Gate |
|---|---|---|
| Critical | Correctness, security, or data-safety; unsafe to ship | Blocks |
| Major | Likely incorrect or unsafe under realistic input | Blocks |
| Minor | Real but non-blocking; improves health | Advisory |
| Nit | Trivial or contextual | Advisory |
Gate: block on any Critical/Major in correctness, security, or data-safety. Everything else is advisory.
Autofix-eligible only when all hold: (1) the fix is a single exact text transformation you can state precisely, applying which needs no judgement; (2) you are essentially certain it is correct and complete — a higher bar than the 80 surface threshold; (3) it touches only code this diff introduced or changed; (4) no behavioural ambiguity — it cannot plausibly be wrong in a way a human would weigh, and it does not change behaviour.
Eligible: typos in comments/docstrings/strings, spelling fixes per the repo's documented language convention (e.g. British vs American), a symbol name left stale in a comment after a rename, a duplicated import that is provably unused. Not eligible: argument reordering or any behaviour-changing edit; a missing null guard (where/whether to guard is judgement); clarity renames; any design change; a dead-import or dead-code claim justified only from the diff — a re-export, __all__, or string reference defeats diff-local certainty.
Autofix: is the routing token. The triage step in /at:auto-task keys on the exact per-finding Autofix: line — it is per-finding, not a section header, so it survives /at:synthesize merging multiple reviewers' outputs. The bypass applies to Minor/Nit only. A Major or Critical finding may carry the exact fix on its Fix: line, but it stays in the triage table and gates the human ship-gate — it never bypasses it.
Per finding:
[Severity] path/to/file.py:NN
Issue: <what is wrong, one line>
Why: <the traced failure mechanism / blast radius>
Fix: <copy-pasteable instruction — do NOT apply it>
Autofix: <exact old → new edit; Minor/Nit only; omit this line entirely unless autofix-eligible>
Autofix: is additive — never drop Fix: in its favour, so the repair survives if the finding is later triaged by hand.
Worked example:
[Nit] docs/load.md:18
Issue: User-facing typo in section heading
Why: Introduced by this diff; carried verbatim into generated docs
Fix: Correct the typo in the heading
Autofix: Replace `teh schema` with `the schema` in the heading
End with a machine-readable tally for the caller:
{"critical": 0, "major": 1, "minor": 2, "nit": 0, "autofix": 1, "below_threshold": 1}
autofix counts findings carrying an Autofix: line. below_threshold is calibration only — no caller routes it. The caller routes everything else; the skill classifies and emits, it does not decide workflow or file issues.
No findings — including no autofix and no below-threshold — is a complete, valid review. Say so in one line. Never invent findings to look thorough.
Stay in the code review lane: review code quality and change risk only. Do not re-check acceptance criteria or task completion — that is /at:review-task. Intent lives in the task file (in the project's task store — tasks/ by default), never a PR description.
Portable core above. If the consuming repo has a .claude/auto-task.config.md (project config) with a review section, read it and apply its repo-specific rules on top — standing review context, domain-specific corruption traps, severity overrides. Config rules extend the core; they never relax the do-not-flag list or the autofix bar.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub patforna/auto-task --plugin at13 skills in this plugin
/auto-taskUse to drive a well-defined task end-to-end with minimal human input: plan, implement, review, ship./clarify-taskUse this skill to resolve ambiguities, clarify vague criteria and make implicit assumptions explicit. Invoked at the end of /at:create-task and the start of /at:plan-task. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./configUse this skill to resolve auto-task settings. It owns the procedure that merges the shipped defaults file with project and local config, per-leaf, plus the resolved-block contract consumers read. Run it standalone to inspect the resolved settings and where each value came from./create-taskUse this skill to crystallise and scope an ongoing conversation into a well-defined task, capturing user intent at a high level. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./impl-taskUse to implement a task by executing its implementation plan. Typical workflow: create-task → clarify-task → plan-task → impl-task → review-code → review-task → ship-task./panelUse to get independent perspectives on a topic from multiple models (a strong Claude model + Codex by default). Use with /at:synthesize to merge.Other plugins' skills for the same job