Compare commits

..

3 Commits

Author SHA1 Message Date
3631411ce2 0.0.27 2026-03-11 21:27:06 -07:00
c07911bd70 Refactor review prompt for clarity 2026-03-11 21:25:41 -07:00
ee1bbd91d9 0.0.26 2026-03-11 14:40:19 -07:00
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@because/sandlot", "name": "@because/sandlot",
"version": "0.0.25", "version": "0.0.27",
"description": "Sandboxed, branch-based development with Claude", "description": "Sandboxed, branch-based development with Claude",
"type": "module", "type": "module",
"bin": { "bin": {

View File

@ -11,14 +11,16 @@ 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 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 1. Checks CLAUDE.md compliance
2. Looks specifically for bugs 2. Looks specifically for bugs
3. Also looks specifically for bugs 3. Also looks specifically for bugs
4. Looks for opportunities to simplify code 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> <agentOutput>
# Problem Identified # Problem Identified