diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-06-10 02:10:34 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:47 -0700 |
| commit | 84d033e9678cb0e0aee46b5483e902a4b4f34a2f (patch) | |
| tree | e2e75f7baf9f221adc00f227309997ff64a804b3 | |
| parent | c73e9a9a3fa9704c9ee42c949916023319a8cbdf (diff) | |
Make diff-pasting non-optional for task reviewer dispatch
Adoption was 6/11 reviews on fractals and 0/17 on svelte when phrased
as guidance; reviewers without the diff re-derive it by hand, which is
the single largest remaining reviewer cost. Now a Red Flags Never entry
and a REQUIRED marker on the template placeholder.
| -rw-r--r-- | skills/subagent-driven-development/SKILL.md | 3 | ||||
| -rw-r--r-- | skills/subagent-driven-development/task-reviewer-prompt.md | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/skills/subagent-driven-development/SKILL.md b/skills/subagent-driven-development/SKILL.md index 67257e1..c21dce5 100644 --- a/skills/subagent-driven-development/SKILL.md +++ b/skills/subagent-driven-development/SKILL.md @@ -282,6 +282,9 @@ Done! - Tell a reviewer what not to flag, or pre-rate a finding's severity in the dispatch prompt ("treat it as Minor at most") — the plan's example code is a starting point, not evidence that its weaknesses were chosen +- Dispatch a task reviewer without pasting the diff into the prompt — run + `git diff BASE..HEAD` yourself first (`--stat` plus relevant hunks if it + exceeds a few hundred lines) - Move to next task while the review has open Critical/Important issues **If subagent asks questions:** diff --git a/skills/subagent-driven-development/task-reviewer-prompt.md b/skills/subagent-driven-development/task-reviewer-prompt.md index 12c6da5..c3ead9c 100644 --- a/skills/subagent-driven-development/task-reviewer-prompt.md +++ b/skills/subagent-driven-development/task-reviewer-prompt.md @@ -28,7 +28,9 @@ Subagent (general-purpose): **Base:** [BASE_SHA] **Head:** [HEAD_SHA] - [DIFF] + [DIFF — REQUIRED: the controller pastes `git diff BASE..HEAD` output + here before dispatching. Dispatching with this placeholder unfilled is + a dispatch error.] Review from the diff above — do not re-run git commands or re-read the files it already shows. If no diff was provided, fetch it yourself: @@ -148,9 +150,9 @@ Subagent (general-purpose): - `[DESCRIPTION]` — what the implementer reports they built - `[BASE_SHA]` — commit before this task - `[HEAD_SHA]` — current commit -- `[DIFF]` — paste `git diff BASE..HEAD` output (use `--stat` plus the - relevant hunks if it exceeds a few hundred lines); a reviewer with the - diff in hand needs few or no tool calls +- `[DIFF]` — REQUIRED: paste `git diff BASE..HEAD` output (use `--stat` + plus the relevant hunks if it exceeds a few hundred lines); a reviewer + with the diff in hand needs few or no tool calls **Reviewer returns:** Spec Compliance verdict (✅/❌/⚠️), Strengths, Issues (Critical/Important/Minor), Task quality verdict |
