buildcrew 1.3.2 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/buildcrew.md +42 -12
- package/bin/setup.js +10 -0
- package/package.json +1 -1
package/agents/buildcrew.md
CHANGED
|
@@ -167,22 +167,27 @@ Automated release — test, version, changelog, push, PR.
|
|
|
167
167
|
|
|
168
168
|
## Workflow: Feature Mode
|
|
169
169
|
|
|
170
|
+
Each iteration runs the **full end-to-end pipeline**. The planner re-evaluates at the start of every cycle.
|
|
171
|
+
|
|
170
172
|
```
|
|
171
173
|
[Feature Request]
|
|
172
174
|
│
|
|
173
175
|
▼
|
|
176
|
+
━━━ Iteration 1/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
|
+
│
|
|
178
|
+
▼
|
|
174
179
|
┌─────────┐
|
|
175
|
-
│ PLANNER │ →
|
|
176
|
-
└────┬────┘
|
|
180
|
+
│ PLANNER │ → Iteration 1: full requirements & acceptance criteria
|
|
181
|
+
└────┬────┘ Iteration 2+: review previous cycle results, refine plan
|
|
177
182
|
│
|
|
178
183
|
▼
|
|
179
184
|
┌──────────┐
|
|
180
|
-
│ DESIGNER │ → UI
|
|
181
|
-
└────┬─────┘
|
|
185
|
+
│ DESIGNER │ → Iteration 1: full UI/UX research + components
|
|
186
|
+
└────┬─────┘ Iteration 2+: refine based on QA/review feedback
|
|
182
187
|
│
|
|
183
188
|
▼
|
|
184
189
|
┌───────────┐
|
|
185
|
-
│ DEVELOPER │ →
|
|
190
|
+
│ DEVELOPER │ → Implement / fix / improve
|
|
186
191
|
└────┬──────┘
|
|
187
192
|
│
|
|
188
193
|
▼
|
|
@@ -201,13 +206,25 @@ Automated release — test, version, changelog, push, PR.
|
|
|
201
206
|
└────┬───────┘
|
|
202
207
|
│
|
|
203
208
|
▼
|
|
204
|
-
[
|
|
209
|
+
[All PASS + no improvements left?]
|
|
205
210
|
│
|
|
206
|
-
No │──→
|
|
211
|
+
No │──→ Next iteration (full pipeline from PLANNER)
|
|
207
212
|
│
|
|
208
213
|
Yes │──→ ✅ Complete (suggest Ship Mode)
|
|
214
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
209
215
|
```
|
|
210
216
|
|
|
217
|
+
### Iteration Behavior by Agent
|
|
218
|
+
|
|
219
|
+
| Agent | Iteration 1 | Iteration 2+ |
|
|
220
|
+
|-------|------------|--------------|
|
|
221
|
+
| **Planner** | Full requirements analysis | Reviews QA/review findings, updates acceptance criteria, identifies new improvement areas |
|
|
222
|
+
| **Designer** | Full research + components | Refines UI based on feedback, fixes design issues found in QA |
|
|
223
|
+
| **Developer** | Full implementation | Fixes issues, implements improvements from updated plan |
|
|
224
|
+
| **QA Tester** | Full verification | Re-verifies fixes + regression check |
|
|
225
|
+
| **Browser QA** | Full browser testing | Re-tests affected flows + new issues |
|
|
226
|
+
| **Reviewer** | Full code review | Verifies fixes applied correctly, new review pass |
|
|
227
|
+
|
|
211
228
|
**Note**: Browser QA is skipped for non-UI features (API-only, config changes, etc.). Reviewer always runs.
|
|
212
229
|
|
|
213
230
|
## Workflow: Project Audit Mode
|
|
@@ -486,11 +503,16 @@ You MUST output a structured status log **before and after** every agent dispatc
|
|
|
486
503
|
▶ DESIGNER · Starting UI/UX research...
|
|
487
504
|
```
|
|
488
505
|
|
|
489
|
-
### On
|
|
506
|
+
### On iteration (full cycle restart)
|
|
490
507
|
|
|
491
508
|
```
|
|
492
|
-
✗
|
|
493
|
-
↻
|
|
509
|
+
✗ REVIEWER · 3 issues found (perf regression, missing error state, a11y)
|
|
510
|
+
↻ Starting iteration 2/5 — full pipeline from PLANNER
|
|
511
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
512
|
+
buildcrew · Feature: {feature-name}
|
|
513
|
+
Mode: Feature · Iteration: 2/5
|
|
514
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
515
|
+
▶ PLANNER · Reviewing iteration 1 results, updating plan...
|
|
494
516
|
```
|
|
495
517
|
|
|
496
518
|
### On completion
|
|
@@ -567,8 +589,16 @@ Each agent's output follows this structure:
|
|
|
567
589
|
1. Parse feature request and iteration count (default: 3)
|
|
568
590
|
2. Create pipeline directory: `.claude/pipeline/{feature-name}/`
|
|
569
591
|
3. Create tasks for tracking progress
|
|
570
|
-
4.
|
|
571
|
-
|
|
592
|
+
4. **For each iteration (1 to N), run the FULL pipeline:**
|
|
593
|
+
- **planner** → reviews previous cycle results (iteration 2+), updates plan
|
|
594
|
+
- **designer** → refines UI based on feedback (iteration 2+)
|
|
595
|
+
- **developer** → implements / fixes / improves
|
|
596
|
+
- **qa-tester** → verifies code-level quality
|
|
597
|
+
- **browser-qa** (if UI) → real browser testing
|
|
598
|
+
- **reviewer** → code review + auto-fix
|
|
599
|
+
5. All PASS + no improvements left → suggest Ship Mode
|
|
600
|
+
6. Issues remain → next full iteration from PLANNER
|
|
601
|
+
7. **Every iteration is a complete end-to-end cycle, not a partial fix loop**
|
|
572
602
|
|
|
573
603
|
### Project Audit Mode
|
|
574
604
|
1. Create pipeline directory: `.claude/pipeline/project-audit/`
|
package/bin/setup.js
CHANGED
|
@@ -404,6 +404,16 @@ async function runInstall(force) {
|
|
|
404
404
|
log(` ${CYAN}Next:${RESET} ${BOLD}npx buildcrew init${RESET} — auto-generates project harness from your codebase.\n`);
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
+
// Check Playwright MCP
|
|
408
|
+
try {
|
|
409
|
+
const { execSync } = await import("child_process");
|
|
410
|
+
const mcpList = execSync("claude mcp list 2>/dev/null", { encoding: "utf8" });
|
|
411
|
+
if (!mcpList.includes("playwright")) {
|
|
412
|
+
log(` ${YELLOW}Optional:${RESET} Enable real browser testing (browser-qa, designer, canary-monitor):`);
|
|
413
|
+
log(` ${DIM}claude mcp add playwright -- npx @anthropic-ai/mcp-server-playwright${RESET}\n`);
|
|
414
|
+
}
|
|
415
|
+
} catch { /* claude CLI not available, skip */ }
|
|
416
|
+
|
|
407
417
|
log(` ${BOLD}Start:${RESET} @buildcrew [your request]\n`);
|
|
408
418
|
}
|
|
409
419
|
|
package/package.json
CHANGED