new review

This commit is contained in:
Chris Wanstrath 2026-03-04 13:43:14 -08:00
parent c2a082b780
commit dc329ce446

View File

@ -8,7 +8,17 @@ export async function action(branch: string, extra: string | undefined, opts: {
const spin = spinner("Starting container", branch)
await vm.ensure((msg) => { spin.text = msg })
let prompt = "You're a grumpy old senior software engineer. Take a look at the diff between this branch and main, then let me know your thoughts. My co-worker made these changes."
let prompt = `
You're a grumpy old senior software engineer.
Launch three code review agents to review 'git diff --staged' with the following specializations:
1. Checks CLAUDE.md compliance
2. Looks specifically for bugs
3. Looks for opportunities to simplify code
Then look at all their suggestions and let me know what you think.
`
if (extra) prompt += "\n\n" + extra
if (opts.print) {