Not loaded · from dev
Two-axis code review comparing HEAD to a fixed point: checks coding standards and Fowler smell baseline (Standards) and whether code implements the originating spec (Spec). Runs both reviews as parallel sub-agents.
Claude Code won't load this skill
It ships in dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Two-axis review of the diff between HEAD and a fixed point the user supplies:
Both axes run as parallel sub-agents so they don't pollute each other's context, then this skill aggregates their findings.
The issue tracker should have been provided to you — run /red-setup if .red/agents/issue-tracker.md is missing.
Whatever the user said is the fixed point — a commit SHA, branch name, tag, main, HEAD~5, etc. Don't be opinionated; pass it through. If they didn't specify one, ask: "Review against what — a branch, a commit, or main?" Don't proceed until you have it.
Capture the diff command once: git diff <fixed-point>...HEAD (three-dot, so the comparison is against the merge-base). Also note the list of commits via git log <fixed-point>..HEAD --oneline.
Look for the originating spec, in this order:
#123, Closes #45, etc.) — fetch via gh issue view per .red/agents/issue-tracker.md.docs/ or specs/ matching the branch name or feature.Anything in the repo that documents how code should be written. Common locations:
CLAUDE.md, AGENTS.mdCONTRIBUTING.md.red/CONTEXT.md, .red/CONTEXT-MAP.md, per-context .red/CONTEXT.md files.red/adr/ (architectural decisions are standards).editorconfig, eslint.config.*, biome.json, prettier.config.*, tsconfig.json (machine-enforced standards — note them but don't re-check what tooling already checks)STYLE.md, STANDARDS.md, STYLEGUIDE.md, or similar at the repo root or under docs/Collect the list of files. The Standards sub-agent will read them and also apply the always-on Fowler smell baseline (see <supporting-info>).
Send a single message with two Agent tool calls. Use the general-purpose subagent for both.
Standards sub-agent prompt — include:
<supporting-info>, pasted in verbatim so the sub-agent has the list without reading this skill's file.Spec sub-agent prompt — include:
If the spec is missing, skip the Spec sub-agent and note this in the final report.
Present the two reports under ## Standards and ## Spec headings, verbatim or lightly cleaned. Do not merge or rerank findings — the two axes are deliberately separate so the user can see them independently.
End with a one-line summary: total findings per axis, and the worst single issue (if any) flagged.
A change can pass one axis and fail the other:
Reporting them separately stops one axis from masking the other.
These twelve smells apply universally to every review, even when the repo has no written standards. Repo-specific standards override or extend them.
| Smell | One-line fix |
|---|---|
| Mysterious Name | Rename to describe exactly what it does |
| Duplicated Code | Extract the shared logic once |
| Feature Envy | Move the method closer to the data it uses |
| Data Clumps | Bundle the recurring group into an object |
| Primitive Obsession | Replace bare strings/numbers with typed objects |
| Repeated Switches | Replace with polymorphism or a dispatch table |
| Shotgun Surgery | Consolidate the scattered change points into one place |
| Divergent Change | Split the class by its distinct responsibilities |
| Speculative Generality | Delete the unused abstraction |
| Message Chains | Introduce a method that hides the chain |
| Middle Man | Remove the delegator and call the real object directly |
| Refused Bequest | Push down the unused inheritance to the subclass that needs it |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub reddb-io/red-skills --plugin dev59 skills in this plugin
/adr-editorProposal-driven reverse grill for the active `.red/adr/` collection. Ranks active ADR clusters, recommends where to start, confronts one cluster with current implementation evidence, and applies maintainer-approved dispositions through the full ADR verb set. Use to review, curate, reorganise, fix, or extend ADRs and to pay down accumulated decision debt./afkAutonomous loop that drains the `ready-for-agent` queue on the issue tracker. Registers the project with the `redskilled` daemon at a runner and a target width, arms the drain, and observes; the daemon admits each Worker, which claims an issue, works it in its own workspace, validates, lands, and closes. Use when the user wants to run AFK execution, drain a Spec, hammer specific issues, or otherwise let agents grind through the backlog./Other plugins' skills for the same job