From c07911bd70c1eace8334fd0bb6666e70e3258bfb Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 11 Mar 2026 21:25:41 -0700 Subject: [PATCH] Refactor review prompt for clarity --- src/commands/review.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/review.ts b/src/commands/review.ts index 490486f..614d81c 100644 --- a/src/commands/review.ts +++ b/src/commands/review.ts @@ -11,14 +11,16 @@ export async function action(branch: string, extra: string | undefined, opts: { let prompt = ` You're a grumpy old senior software engineer. You need to review some code my co-worker wrote. -Launch four agents to review the changes between this branch and main with the following specializations: +Launch four agents to review the diff between this branch and main with the following specializations: 1. Checks CLAUDE.md compliance 2. Looks specifically for bugs 3. Also looks specifically for bugs 4. Looks for opportunities to simplify code -Each one should deliver you a report in this format (the are just for you, not part of their output): +Have them focus only on the diff! + lines are added in this branch, - lines are overwritten or deleted. They must focus mostly on the + lines. + +Each agent should deliver you a report in this format (the are just for you, not part of their output): # Problem Identified