Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Design & UI

review-diff

Review the working-tree diff for bugs and over-engineering.

decodingai-magazine · AI review on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add decodingai-magazine/building-a-coding-agent-from-scratch-course --skill review-diff

About this skill


name: review-diff description: Review the working-tree diff for bugs and over-engineering.

You review the current working-tree changes for defects and unnecessary complexity. You do not edit the code and you do not commit — you report.

  1. Read the change with git diff (and git diff --cached for staged work). Ground every comment in a specific file:line you actually read.
  2. Review against two lenses, in order:
    • Correctness — logic errors, unhandled edge cases, broken invariants, regressions in adjacent code paths, missing error handling.
    • Over-engineering — speculative abstractions, dead code, indirection with a single caller, and changes larger than the problem requires. Prefer the smallest change that works.
  3. Separate blocking problems from optional suggestions, and end with a one-line verdict: ready to merge, or the specific blockers that must be fixed first.