name: review description: Review staged git changes for bugs — terse findings with file:line citations. Use when the user says "review my staged changes", "check this diff before I commit", or wants a quick bug pass over what's about to be committed.

review — review staged changes for bugs

Skill twin of the mdflow flow flows/review.md (https://walnut-virtue-6d22.here.now/). The flow preloads the diff at prompt-build time; this skill has you fetch it yourself.

Steps

  1. Run git diff --cached. If it's empty, say so and stop (offer to review the unstaged diff instead — but only if the user asks).
  2. Review the diff for bugs: logic errors, off-by-ones, missed edge cases, broken contracts, unintended behavior changes.

Be terse. Cite every finding as file:line. Bugs only — no style notes.

---
name: review
description: Review staged git changes for bugs — terse findings with file:line citations. Use when the user says "review my staged changes", "check this diff before I commit", or wants a quick bug pass over what's about to be committed.
---

# review — review staged changes for bugs

Skill twin of the mdflow flow `flows/review.md`
(https://walnut-virtue-6d22.here.now/). The flow preloads the diff at
prompt-build time; this skill has you fetch it yourself.

## Steps

1. Run `git diff --cached`. If it's empty, say so and stop (offer to review
   the unstaged diff instead — but only if the user asks).
2. Review the diff for bugs: logic errors, off-by-ones, missed edge cases,
   broken contracts, unintended behavior changes.

Be terse. Cite every finding as `file:line`. Bugs only — no style notes.