/forge:reviewingfrom forge
Reviews code implementation against spec requirements and code quality standards using a two-pass workflow. Useful after task implementation to validate correctness before completion.
Ships in forge. 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.
This skill defines the two-pass review workflow that validates implementation quality before a task is marked complete. It is dispatched after a task is implemented and tests pass (at depth >= standard).
You will receive:
This is the primary review pass. It verifies that the implementation actually satisfies the spec.
Procedure:
created_at, updated_at, and role unless the spec asks for them.Output for Pass 1:
## Spec Compliance
STATUS: PASS | ISSUES
CHECKED CRITERIA:
- [x] R001/AC1: POST /auth/register accepts {email, password} — implemented in src/controllers/auth.ts:45
- [ ] R001/AC2: Password hashed with bcrypt (min 12 rounds) — MISSING, no hashing found
- [x] R001/AC3: Returns 201 with JWT + refresh token — implemented in src/controllers/auth.ts:67
ISSUES (if any):
- [CRITICAL] src/controllers/auth.ts — R001/AC2: No password hashing implemented. Raw password stored directly.
- [IMPORTANT] src/controllers/auth.ts:67 — Returns extra fields (created_at, role) not in spec. Over-engineering.
This pass reviews the quality of the implementation itself. Only run this if Pass 1 does not have CRITICAL issues (fix those first).
Check each of these areas:
Output for Pass 2:
## Code Quality
STATUS: PASS | ISSUES
ISSUES (if any):
- [IMPORTANT] src/services/auth.ts:23 — Missing error handling for database connection failure. Will crash with unhandled promise rejection.
- [MINOR] src/controllers/auth.ts:12 — Variable `d` should be named `userData` or similar for clarity.
- [MINOR] src/tests/auth.test.ts:45 — Test "should register user" only asserts status code, not response body. Weak assertion.
The final review output combines both passes:
STATUS: PASS | ISSUES
ISSUES (if any):
- [CRITICAL] file:line — description
- [IMPORTANT] file:line — description
- [MINOR] file:line — description
The review loop is bounded by circuit breakers to prevent infinite cycling:
| Iteration | Focus | Accept Condition |
|---|---|---|
| 1 | All severity levels | PASS = no CRITICAL or IMPORTANT issues |
| 2 | CRITICAL + IMPORTANT only | PASS = no CRITICAL issues, IMPORTANT count decreased |
| 3 (final) | CRITICAL only | Accept with warnings for any remaining IMPORTANT/MINOR |
This skill orchestrates the review by dispatching agents:
The stop hook manages this loop via the state machine. When state is "tests passing + not reviewed", it feeds the review prompt. When state is "review issues + fix attempts < 3", it feeds the fix prompt.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lucasduys/forge --plugin forge10 skills in this plugin
/backpropagationTrace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns/brainstormingInteractive spec generation — turn ideas into concrete specs with R-numbered requirements and testable acceptance criteria/caveman-internalInternal token optimization for Forge agent artifacts (handoff notes, artifact summaries, review notes). NOT exposed as a user-facing /caveman command./collaboratingHackathon-native multiplayer collaboration mode -- brain-dump together, claim tasks across machines, flag decisions async. Drives the subcommands of /forge:collaborate.Other plugins' skills for the same job