savinofiore/doe-kit/doe-doe-review-fix
Claude Code and agent skill by savinofiore/doe-kit
- community
Checking that the SKILL.md file is still in the repository.
Applies the findings of a prior /doe-review on two tracks — DOE directives implemented test-first through the gate (logic findings), and direct edits for non-testable findings. Requires explicit user approval of which items to fix. Never combines review and fix in one pass.
Install
npx vskill@latest install savinofiore/doe-kit/doe-doe-review-fixSKILL.md
The same SKILL.md was published earlier as savinofiore/doe-kit/doe-doe-review-fix.
Pi: invoke this skill with/skill:doe-doe-review-fix.
Review Fix — apply what the review found
Prerequisite
/doe-review must have run in the same conversation (or the user must supply a review report explicitly). The review produces two outputs this skill consumes:
- Block A — DOE directives
.doe/directives/NN_review_<tier>.md(logic findings). - Block B — non-testable findings in the report (direct fixes).
With no review to work from:
- Refuse to run.
- Tell the user to run
/doe-reviewfirst. - Produce no edits.
Two tracks
- Track A — DOE directives (Block A). For each selected
NN_review_*.md, run the DOE BUG
flow test-first and the .doe/execution/run.sh gate. This is the only path for logic fixes: no code without a directive and without a green gate.
- Track B — direct fixes (Block B). Non-testable findings (styling, cosmetic, responsive,
i18n): applied with Edit, outside the gate, with static analysis as the only check.
Why not the host's --fix
Claude Code's /code-review --fix applies findings straight to the working tree. For a Block B finding that is the same work this skill does, and using it is fine. For a Block A finding it is not: it writes a logic fix into the protected roots with no directive and no red test — which is the one thing the whole process exists to prevent. The directive-guard will refuse the write anyway, so the practical result is a half-applied review.
Track A is the reason this skill exists. Route logic findings through it, always.
Workflow
Step 1 — Confirm scope
Ask which items to apply, stating which track each belongs to. Examples:
"all the Critical ones"(can touch both tracks)"directive 05"(Track A only)"the style fixes"(Track B only)"everything"(needs explicit confirmation — it is usually scope creep)
Do NOT proceed without a concrete answer.
Step 2 — Track A: implement the DOE directives (BUG flow, test-first)
For each confirmed NN_review_<tier>.md, in finding order:
- Baseline —
.doe/execution/run.sh <path>to pin the starting state. - Red tests — write the Test Contract regression tests (one per finding) → gate → RED,
each for the right reason. Show they are red before touching production code.
- Fix — change ONLY production code (never the tests) until the tests pass.
- Gate —
.doe/execution/run.sh→ iterate to GREEN (analysis + whole suite, no
regression).
- L3 cleanup — green gate + checklist complete → delete the directive file from
.doe/directives/.
Red-test rule (the keystone): a red test means the code is wrong, never the test. Do notmodify a test to make it pass.
Step 3 — Track B: direct fixes (preview + apply)
For each confirmed non-testable finding, before applying:
- Show the file path and the lines involved.
- Show the proposed diff (before/after).
Wait for the user's OK when the diff is non-trivial or touches more than one file. Then apply one change at a time with Edit.
If a PostToolUse hook runs static analysis after each edit and reports new errors:
- Stop immediately.
- Show the error.
- Ask whether to fix or roll back.
Step 4 — Final verification
After both tracks:
Expected: green gate and a clean analysis (or only pre-existing issues).
Step 5 — Final report
One unified table with a track column:
Plus:
- Applied vs requested counters, per track.
- Directives deleted (L3) with their gate outcome.
- Final output of
.doe/execution/run.shand of the static analysis.
RULES (STRICT)
- Do not apply fixes the user did not explicitly approve.
- Do not introduce changes absent from the review (no scope creep — if you spot another
problem, note it at the end of the report but do NOT apply it).
- Track A is test-first: never change logic code without a red test first, and never
without a green gate. Never adapt a test to make it pass.
- Do not combine with a fresh review. If the user asks for "review + fix", split it:
/doe-review first, then /doe-review-fix.
- If static analysis or the gate introduces new errors, stop and ask. Do not auto-correct
aggressively.
- Delete a directive (L3) only after a green gate and a completed checklist.
The failure pattern this prevents
Usage reports showed recurring cases where, during a review-only pass, the assistant started implementing unrequested fixes, forcing the user to interrupt and ask for a rollback. Formally splitting /doe-review (analysis) from /doe-review-fix (application) makes that pattern impossible.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpi/skills/doe-doe-review-fix/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/savinofiore/doe-kit/doe-doe-review-fix)