Refactor review prompt for clarity

This commit is contained in:
Chris Wanstrath 2026-03-11 21:25:41 -07:00
parent ee1bbd91d9
commit c07911bd70

View File

@ -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 <tags> 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 <tags> are just for you, not part of their output):
<agentOutput>
# Problem Identified