build-looplisted
Install: claude install-skill createusernam/setup_project
# /build-loop — Autonomous Generator-Evaluator Cycle
## Why this skill exists
From the Anthropic Applied AI talk (May 2026): the load-bearing pattern for long-running coding agents is a **generator and evaluator in separate context windows**, grading against a **contract negotiated on disk before any code is written**.
Three rules from the talk that this skill enforces:
1. **Evaluator never sees generator's reasoning or traces.** Sycophancy contagion otherwise.
2. **Evaluator launches the live app**, not reads diffs. Playwright/Chrome MCP clicks, types, screenshots, measures.
3. **Restart > patch on hard failures.** Use the contract's restart threshold instead of accumulating low-progress patches.
## Where this fits
```
/planning-with-files → /design-rubric (UI only) → /contract → /build-loop → /code-review-expert → ship
▲
you are here
```
For **bugfixes**: don't use this skill. Use `/diagnose` → `/tdd`. /build-loop is for greenfield/feature work with subjective quality dimensions (UI, design, originality).
## Prerequisites — HARD GATE
`scripts/run.sh` enforces every item below before it creates mutable loop state. Static contract and
attestation checks run in `validate-prerequisites.py`; the iteration contract has its dedicated
validator; runtime reachability is represented only by trusted orchestrator environment handoffs;
preflight and GRACE