From ecc
Runs a GAN-style generator-evaluator loop to build and iteratively improve implementations from a brief, with bounded iterations, automated scoring, and eval modes. Produces score progression report.
npx claudepluginhub kutae5/claude-code-configParse the following from $ARGUMENTS: 1. `brief` — the user's one-line description of what to build 2. `--max-iterations N` — (optional, default 15) maximum generator-evaluator cycles 3. `--pass-threshold N` — (optional, default 7.0) weighted score to pass 4. `--skip-planner` — (optional) skip planner, assume spec.md already exists 5. `--eval-mode MODE` — (optional, default "playwright") one of: playwright, screenshot, code-only ## GAN-Style Harness Build This command orchestrates a three-agent build loop inspired by Anthropic's March 2026 harness design paper. ### Phase 0: Setup 1. Creat...
/gan-buildRuns a GAN-style generator-evaluator loop to build and iteratively improve implementations from a brief, with bounded iterations, automated scoring, and eval modes. Produces score progression report.
/buidlOrchestrates full dev lifecycle from idea to PR: challenge → spec → build → review → ship. Accepts raw idea, spec path, or flags like --max-cycles, --skip-challenge, --dry-run.
/geneExecutes genesis.py LLM orchestration workflow to refine and auto-run goals using fast-gen mode. Accepts goal description, optional iterations, and working directory.
/buildingExecutes implementation plans through gated phases: Load plan, setup tracking, execute sections, verify tests, report status. Uses git worktrees for isolation.
/buildExecutes implementation plan from docs/plans/ using TDD (RED-GREEN-REFACTOR), parallel agents for independent tasks, and 2-stage code reviews. Produces code, tests, atomic git commits, and review reports.
/hatch3r-workflowGuides development lifecycle through Analyze, Plan, Implement, Review phases with agent orchestration; scale-adaptive Quick Mode for small tasks and optional Playwright browser verification.
Share bugs, ideas, or general feedback.
Parse the following from $ARGUMENTS:
brief — the user's one-line description of what to build--max-iterations N — (optional, default 15) maximum generator-evaluator cycles--pass-threshold N — (optional, default 7.0) weighted score to pass--skip-planner — (optional) skip planner, assume spec.md already exists--eval-mode MODE — (optional, default "playwright") one of: playwright, screenshot, code-onlyThis command orchestrates a three-agent build loop inspired by Anthropic's March 2026 harness design paper.
gan-harness/ directory in project rootgan-harness/feedback/, gan-harness/screenshots/Unless --skip-planner is set:
gan-planner agent via Task tool with the user's briefgan-harness/spec.md and gan-harness/eval-rubric.mditeration = 1
while iteration <= max_iterations:
# GENERATE
Launch gan-generator agent via Task tool:
- Read spec.md
- If iteration > 1: read feedback/feedback-{iteration-1}.md
- Build/improve the application
- Ensure dev server is running
- Commit changes
# Wait for generator to finish
# EVALUATE
Launch gan-evaluator agent via Task tool:
- Read eval-rubric.md and spec.md
- Test the live application (mode: playwright/screenshot/code-only)
- Score against rubric
- Write feedback to feedback/feedback-{iteration}.md
# Wait for evaluator to finish
# CHECK SCORE
Read feedback/feedback-{iteration}.md
Extract weighted total score
if score >= pass_threshold:
Log "PASSED at iteration {iteration} with score {score}"
Break
if iteration >= 3 and score has not improved in last 2 iterations:
Log "PLATEAU detected — stopping early"
Break
iteration += 1
iteration 1: 4.2 → iteration 2: 5.8 → ... → iteration N: 7.5## GAN Harness Build Report
**Brief:** [original prompt]
**Result:** PASS/FAIL
**Iterations:** N / max
**Final Score:** X.X / 10
### Score Progression
| Iter | Design | Originality | Craft | Functionality | Total |
|------|--------|-------------|-------|---------------|-------|
| 1 | ... | ... | ... | ... | X.X |
| 2 | ... | ... | ... | ... | X.X |
| N | ... | ... | ... | ... | X.X |
### Remaining Issues
- [Any issues from final evaluation]
### Files Created
- gan-harness/spec.md
- gan-harness/eval-rubric.md
- gan-harness/feedback/feedback-001.md through feedback-NNN.md
- gan-harness/generator-state.md
- gan-harness/build-report.md
Write the full report to gan-harness/build-report.md.