/abbestack:spec-reviewfrom abbestack
Review a diff on two axes that a bug hunt misses: Standards (does it follow this repo's documented rules and avoid known smells?) and Spec (does it do what the issue or spec actually asked for?). Runs both as isolated sub-agents and reports them side by side, unmerged. Use for /spec-review, 'review this branch against the spec', 'does this match what we asked for', or a read-only branch audit before merge.
Ships in abbestack. 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.
None: SKILL.md is the whole skill.
Review the diff between HEAD and a fixed point on two axes:
Each axis runs as its own sub-agent so neither pollutes the other's context. This skill then reports both, side by side, without merging them.
Three neighbours cover different ground. Reach for the right one:
/code-review hunts correctness bugs and reuse or efficiency cleanups, and can apply fixes. It has no spec axis. Run it as well, not instead.interrogate runs the same adversarial prompt across model families on the review role. Its signal is model diversity. This skill's signal is axis separation, and both sub-agents can be the same family.blast-radius asks what a change breaks elsewhere. This skill asks whether the change is the right change.Whatever the user named is the fixed point: a commit SHA, a branch, a tag, main, HEAD~5. If they named nothing, ask.
Capture the diff command once, three-dot so the comparison is against the merge-base:
git diff <fixed-point>...HEAD
git log <fixed-point>..HEAD --oneline
Confirm git rev-parse <fixed-point> resolves and the diff is non-empty before going further. A bad ref should fail here, not inside two parallel sub-agents.
Look in this order, and stop at the first hit:
#123, Closes #45). Fetch via gh issue view.docs/plan.md in the project repo, or a spec under docs/, specs/, or .scratch/ matching the branch name.decisions.tsv at the project root. It is a decision trail rather than a spec, but the rows covering this branch state what was chosen and why, which is enough to review scope creep against.If nothing is found, ask the user where the spec is. If they say there is no spec, skip the Spec sub-agent and say so in the report. Do not invent a spec from the diff, because a spec derived from the code can never disagree with the code.
Read whatever this repo says about how its code should be written:
AGENTS.md and CLAUDE.md at the repo root and in the workspace above it.CONTRIBUTING.md, CODING_STANDARDS.md, or an equivalent.docs/adr/ that touch the changed area, and CONTEXT.md for the domain vocabulary.typescript-best-practices when the diff touches .ts or .tsx.On top of whatever the repo documents, the Standards axis always carries the smell baseline below, so the review still has teeth in a repo that documents nothing. Two rules bind it:
Skip anything tooling already enforces. A lint rule that fails CI does not need a reviewer.
Each smell reads what it is then how to fix it. Match each against the diff:
typescript-best-practices on branded types.switch or if cascade on the same type recurs across the change. Replace with polymorphism, or one map both sites share.a.b().c().d() navigation the caller should not depend on. Hide the walk behind one method on the first object.Send both in one message so they run at the same time. Neither sees the other's brief. Both are read-only subagents on the review role in model-roster.md (in T3 Code, delegate_task with role: "review"); any model from that row will do for either axis.
Standards sub-agent. Give it the diff command, the commit list, the paths of the standards sources from step 3, and the smell baseline pasted in full, because the sub-agent has no other access to it. Then the brief:
Report, per file or hunk where relevant: (a) every place the diff violates a documented standard, citing the standard by file and rule; and (b) any baseline smell you spot, naming it and quoting the hunk. Distinguish hard violations from judgement calls. A documented-standard breach can be hard; a baseline smell is always a judgement call, and a documented repo standard overrides the baseline. Skip anything tooling enforces. Under 400 words.
Spec sub-agent. Give it the diff command, the commit list, and the path or fetched contents of the spec. Then the brief:
Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that was not asked for, meaning scope creep; (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words.
If the spec is missing, skip this sub-agent and note it in the report.
Present the two reports under ## Standards and ## Spec, verbatim or lightly cleaned. Do not merge or rerank the findings. The two axes are deliberately separate.
End with one line: the finding count per axis, and the worst issue within each axis. Do not pick a single winner across axes. That is the reranking the separation exists to prevent.
This skill is read-only. Report the findings. Do not apply them unless the user asks.
A change can pass one axis and fail the other:
Reporting them separately stops one axis from masking the other.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (abbeazale/abbestack) — no native marketplace selected
npx claudepluginhub p/abbeazale-abbestack33 skills in this plugin
/blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./domain-modelingBuild and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.Other plugins' skills for the same job