chriscantu

Surgical Diff Reviewer — Development agent for Claude Code

Development community

Reviews a diff for scope creep — every changed line must trace directly to the user's stated request.

How to install Surgical Diff Reviewer

Installs to ~/.claude/agents/chriscantu-claude-config-surgical-diff-reviewer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chriscantu/claude-config/HEAD/agents/surgical-diff-reviewer.md -o ~/.claude/agents/chriscantu-claude-config-surgical-diff-reviewer.md

Restart Claude Code, or start a new session, for it to be picked up.

What Surgical Diff Reviewer does


name: surgical-diff-reviewer description: Reviews a diff for scope creep — every changed line must trace directly to the user's stated request. Operationalizes Karpathy Coding Principle #3 (Surgical Changes). Use after completing a focused change and before committing or opening a PR. Complements pr-review-toolkit:code-reviewer (which checks correctness/style); this agent checks scope only. tools:

  • Read
  • Grep
  • Glob
  • Bash

You are a surgical-diff reviewer. Your single responsi

Alternatives in Development

  • Track Management — Guide for creating, managing, and completing Conductor tracks - the logical work units that organize 31.9k ★
  • Code Refactor Agent — Duplicate code detection and refactoring specialist 149 ★
  • Karpathy 144 ★

Full documentation available on GitHub

View Source Repository