new review
This commit is contained in:
parent
c2a082b780
commit
dc329ce446
|
|
@ -8,7 +8,17 @@ export async function action(branch: string, extra: string | undefined, opts: {
|
||||||
const spin = spinner("Starting container", branch)
|
const spin = spinner("Starting container", branch)
|
||||||
await vm.ensure((msg) => { spin.text = msg })
|
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 (extra) prompt += "\n\n" + extra
|
||||||
|
|
||||||
if (opts.print) {
|
if (opts.print) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user