ask-matt
MAmattpocock/skills336k4,217 new stars in the last 7 days
Review a code change from a clean context, the way an outside reviewer would. Use after the agent finishes an implementation, before merging, or when asked for an independent or second-opinion review of a diff.
The agent that wrote the code has made many small decisions and convinced itself of each one. A reviewer that inherits that conversation tends to follow the same reasoning and miss the same things. This skill keeps the reviewer outside the author's context.
Companion to MCode Engineering Notes 01, "More subagents isn't better".
Collect these, and nothing else:
git diff <base>...HEAD, or the staged changes.Do not pass the author's conversation, plan, intermediate reasoning or self-assessment. The question the reviewer answers is "does this change meet the requirement?", not "does the author's reasoning hold up?".
If the requirement is missing, stop and ask for it. A review without a requirement can only check style.
Prefer one of these, in order:
Ask the reviewer to look in particular for:
Each finding must have:
| Field | Content |
|---|---|
| Problem | What is wrong, in one or two sentences |
| Location | File and line or function |
| Reason | Why it is wrong, tied to the requirement or to concrete code |
| Severity | blocking / should-fix / nit |
Findings without a location or a reason are treated as opinions, not defects.
Back in the main loop, do not apply findings wholesale. For each one:
End with a short summary: findings confirmed and fixed, findings rejected (with the reason), and anything still open.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days