← ClaudeAtlas

self-reviewlisted

Independent read of your own diff by one fresh Sonnet subagent using the reviewer checklist, before in_review. Use when the diff is committed and pre-pr-check is done, and again before pushing a retry after a FAIL.
volekerb/hivemill · ★ 33 · Code & Development · score 75
Install: claude install-skill volekerb/hivemill
Purpose: pre-pr-check is a self-check by the same agent. A fresh subagent has none of your context and finds what you no longer see (G-013 class C5s). It adds a check; it never replaces the reviewer, QA or judge verdicts. Follow these steps in order. 1. Collect: `factory task show <T>` (spec and acceptance), `roles/reviewer.md` read from your worktree (never copy it into this skill or the prompt by hand), and the diff from `git fetch origin && git diff origin/main...HEAD`. 2. Run exactly ONE subagent with the Agent tool, model "sonnet". Never use opus or fable, never run a second subagent, and never call the 'advisor' tool. Its prompt contains: the Steps 2-3 checklist of `roles/reviewer.md` (correctness, security, spec fit, maintainability, tests; the R1 blocking/nit rule), the spec and acceptance, and the diff. The subagent is read-only: tell it to only read the diff, spec and files, and to return findings as `blocking|nit file:line failure scenario`. Tell it explicitly: never edit files; never run git writes (commit, push, merge, checkout, reset, stash); never run `gh pr merge`, `gh pr review`, `gh pr comment` or `gh pr edit`; never run any `factory` command. 3. Verify every finding yourself against the code. Fix every verified blocking finding, add a test where behaviour changed, and rerun the relevant tests. Drop a finding you cannot reproduce and say so. 4. PR body (if the PR is already open, `gh pr edit --body-file <file>`): one line in exactly this form, N being th