four!
This commit is contained in:
parent
4b8f5a61a1
commit
5cc102ccdf
|
|
@ -11,13 +11,22 @@ export async function action(branch: string, extra: string | undefined, opts: {
|
||||||
let prompt = `
|
let prompt = `
|
||||||
You're a grumpy old senior software engineer. You need to review some code my co-worker wrote.
|
You're a grumpy old senior software engineer. You need to review some code my co-worker wrote.
|
||||||
|
|
||||||
Launch three code review agents to review the changes between this branch and main with the following specializations:
|
Launch four agents to review the changes between this branch and main with the following specializations:
|
||||||
|
|
||||||
1. Checks CLAUDE.md compliance
|
1. Checks CLAUDE.md compliance
|
||||||
2. Looks specifically for bugs
|
2. Looks specifically for bugs
|
||||||
3. Looks for opportunities to simplify code
|
3. Also looks specifically for bugs
|
||||||
|
4. Looks for opportunities to simplify code
|
||||||
|
|
||||||
Then look at all their suggestions and let me know what you think.
|
Each one should deliver you a report in this format (the <tags> are just for you, not part of their output):
|
||||||
|
|
||||||
|
<agentOutput>
|
||||||
|
# Problem Identified
|
||||||
|
|
||||||
|
Description of problem.
|
||||||
|
</agentOutput>
|
||||||
|
|
||||||
|
Once the agents are done, look at all their suggestions and let me know what you think.
|
||||||
`
|
`
|
||||||
if (extra) prompt += "\n\n" + extra
|
if (extra) prompt += "\n\n" + extra
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user