with one click
requesting-code-review
Self-reviews work against the plan before sign-off.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Self-reviews work against the plan before sign-off.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Flags risky shell commands and unsafe tree ops.
Detects high-confidence security risks in code.
Surfaces the dojo's non-negotiable prime directives.
Activates the dojo framework at the start of a session.
Plans multi-step work before writing code.
Captures lessons and promotes recurring patterns.
| name | requesting-code-review |
| description | Self-reviews work against the plan before sign-off. |
| tier | practical |
| category | workflow |
| created_by | human |
| platforms | ["windows","macos","linux"] |
| tags | ["self-review","quality","gate"] |
| author | Andreas Wasita (@andreaswasita) |
Self-reviews the agent's own output against the original plan before declaring done or opening a PR. Surfaces issues by severity; critical issues block progress. Does NOT replace human review — it ensures the human review starts from a defensible baseline.
tasks/todo.md (or equivalent design doc).view and grep tools to read the diff and surrounding code.git for the diff inspection.verify-before-done skill should already have run).1. Compare implementation to the plan spec, criterion by criterion.
2. Walk the self-review checklist.
3. Tag each finding 🔴 / 🟡 / 🟢 / ✅.
4. Act on findings — 🔴 blocks, 🟡 fixed before PR, 🟢 logged.
5. Emit a short summary before claiming completion.
| Severity | Meaning | Action |
|---|---|---|
| 🔴 Critical | Wrong behavior, security risk, broken test | STOP. Fix before next task. |
| 🟡 Major | Should fix before merge | Fix before PR; OK to continue current task |
| 🟢 Minor | Style, nit, future improvement | Log to tasks/todo.md follow-ups |
| ✅ Passing | Criterion met | Note in summary |
| Checklist item | Look at |
|---|---|
| Matches plan spec | tasks/todo.md |
| Tests pass (including new) | Latest test run output |
| No debug artifacts | grep for console.log, print, TODO |
| Edge cases covered | The new test file |
| No security regressions | Auth, input validation, secrets |
| Follows project conventions | Adjacent files |
| Diff scope = task scope | git diff main --stat |
Open tasks/todo.md with view. For the task just completed, read its acceptance criteria. Tick each one explicitly — do not summarize.
For each row in the Quick Reference checklist, mark ✅ or flag a finding. Use grep to hunt for debug artifacts:
grep -nE "console\.log|print\(|TODO|XXX|FIXME" <changed files>
(Use the grep Copilot tool, not bare shell grep.)
Group findings under 🔴 / 🟡 / 🟢 / ✅:
## Self-Review
### 🔴 Critical
- `api/users.ts:42` — DELETE endpoint missing authorization check.
### 🟡 Major
- `api/users.ts:88` — Returns 500 instead of 404 for missing user.
### 🟢 Minor
- `api/users.ts:120` — Consider pagination on the list endpoint.
### ✅ Passing
- 4/4 endpoints match spec.
- 12 new tests, all green.
- Diff scope = task scope.
tasks/todo.md under follow-ups.Always emit a short visible summary before "done":
**Review: Step 3 — Implement API endpoints**
- ✅ 4/4 endpoints per spec
- ✅ Input validation on all routes
- 🟡 Missing rate limit on POST /users (logged for Step 6)
- ✅ 12 new tests, all passing
Proceeding to Step 4.
tasks/todo.md follow-ups.