[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JD0ET79E497VGSEEMT8YWQ":3,"skill-same:01M6JD0ET79E497VGSEEMT8YWQ":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6JD0ET79E497VGSEEMT8YWQ","gan-style-harness",null,"GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper.","S3YED\u002Fappie-kit","S3YED","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62743867?v=4","01M6JBKBRRVP6KMS0VWZ27T3R6","01M6JBKBX0KG30284PW1DBYJT1",14,"MIT","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fecc\u002Fgan-style-harness\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"harness","gan style harness","GaN","style","quality","agent harness","grep","read","write","edit","community","task","paper","Bash","applications","generator","high","for","generator-evaluator","design","2026-11-10 10:12:30",false,"---\nname: gan-style-harness\ndescription: \"GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper.\"\norigin: ECC-community\ntools: Read, Write, Edit, Bash, Grep, Glob, Task\n---\n\n# GAN-Style Harness Skill\n\n> Inspired by [Anthropic's Harness Design for Long-Running Application Development](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) (March 24, 2026)\n\nA multi-agent harness that separates **generation** from **evaluation**, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve.\n\n## Core Insight\n\n> When asked to evaluate their own work, agents are pathological optimists — they praise mediocre output and talk themselves out of legitimate issues. But engineering a **separate evaluator** to be ruthlessly strict is far more tractable than teaching a generator to self-critique.\n\nThis is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration.\n\n## When to Use\n\n- Building complete applications from a one-line prompt\n- Frontend design tasks requiring high visual quality\n- Full-stack projects that need working features, not just code\n- Any task where \"AI slop\" aesthetics are unacceptable\n- Projects where you want to invest $50-200 for production-quality output\n\n## When NOT to Use\n\n- Quick single-file fixes (use standard `claude -p`)\n- Tasks with tight budget constraints (\u003C$10)\n- Simple refactoring (use de-sloppify pattern instead)\n- Tasks that are already well-specified with tests (use TDD workflow)\n\n## Architecture\n\n```\n                    ┌─────────────┐\n                    │   PLANNER   │\n                    │  (Opus 4.6) │\n                    └──────┬──────┘\n                           │ Product Spec\n                           │ (features, sprints, design direction)\n                           ▼\n              ┌────────────────────────┐\n              │                        │\n              │   GENERATOR-EVALUATOR  │\n              │      FEEDBACK LOOP     │\n              │                        │\n              │  ┌──────────┐          │\n              │  │GENERATOR │--build-->│──┐\n              │  │(Opus 4.6)│          │  │\n              │  └────▲─────┘          │  │\n              │       │                │  │ live app\n              │    feedback             │  │\n              │       │                │  │\n              │  ┌────┴─────┐          │  │\n              │  │EVALUATOR │\u003C-test----│──┘\n              │  │(Opus 4.6)│          │\n              │  │+Playwright│         │\n              │  └──────────┘          │\n              │                        │\n              │   5-15 iterations      │\n              └────────────────────────┘\n```\n\n## The Three Agents\n\n### 1. Planner Agent\n\n**Role:** Product manager — expands a brief prompt into a full product specification.\n\n**Key behaviors:**\n- Takes a one-line prompt and produces a 16-feature, multi-sprint specification\n- Defines user stories, technical requirements, and visual design direction\n- Is deliberately **ambitious** — conservative planning leads to underwhelming results\n- Produces evaluation criteria that the Evaluator will use later\n\n**Model:** Opus 4.6 (needs deep reasoning for spec expansion)\n\n### 2. Generator Agent\n\n**Role:** Developer — implements features according to the spec.\n\n**Key behaviors:**\n- Works in structured sprints (or continuous mode with newer models)\n- Negotiates a \"sprint contract\" with the Evaluator before writing code\n- Uses full-stack tooling: React, FastAPI\u002FExpress, databases, CSS\n- Manages git for version control between iterations\n- Reads Evaluator feedback and incorporates it in next iteration\n\n**Model:** Opus 4.6 (needs strong coding capability)\n\n### 3. Evaluator Agent\n\n**Role:** QA engineer — tests the live running application, not just code.\n\n**Key behaviors:**\n- Uses **Playwright MCP** to interact with the live application\n- Clicks through features, fills forms, tests API endpoints\n- Scores against four criteria (configurable):\n  1. **Design Quality** — Does it feel like a coherent whole?\n  2. **Originality** — Custom decisions vs. template\u002FAI patterns?\n  3. **Craft** — Typography, spacing, animations, micro-interactions?\n  4. **Functionality** — Do all features actually work?\n- Returns structured feedback with scores and specific issues\n- Is engineered to be **ruthlessly strict** — never praises mediocre work\n\n**Model:** Opus 4.6 (needs strong judgment + tool use)\n\n## Evaluation Criteria\n\nThe default four criteria, each scored 1-10:\n\n```markdown\n## Evaluation Rubric\n\n### Design Quality (weight: 0.3)\n- 1-3: Generic, template-like, \"AI slop\" aesthetics\n- 4-6: Competent but unremarkable, follows conventions\n- 7-8: Distinctive, cohesive visual identity\n- 9-10: Could pass for a professional designer's work\n\n### Originality (weight: 0.2)\n- 1-3: Default colors, stock layouts, no personality\n- 4-6: Some custom choices, mostly standard patterns\n- 7-8: Clear creative vision, unique approach\n- 9-10: Surprising, delightful, genuinely novel\n\n### Craft (weight: 0.3)\n- 1-3: Broken layouts, missing states, no animations\n- 4-6: Works but feels rough, inconsistent spacing\n- 7-8: Polished, smooth transitions, responsive\n- 9-10: Pixel-perfect, delightful micro-interactions\n\n### Functionality (weight: 0.2)\n- 1-3: Core features broken or missing\n- 4-6: Happy path works, edge cases fail\n- 7-8: All features work, good error handling\n- 9-10: Bulletproof, handles every edge case\n```\n\n### Scoring\n\n- **Weighted score** = sum of (criterion_score * weight)\n- **Pass threshold** = 7.0 (configurable)\n- **Max iterations** = 15 (configurable, typically 5-15 sufficient)\n\n## Usage\n\n### Via Command\n\n```bash\n# Full three-agent harness\n\u002Fproject:gan-build \"Build a project management app with Kanban boards, team collaboration, and dark mode\"\n\n# With custom config\n\u002Fproject:gan-build \"Build a recipe sharing platform\" --max-iterations 10 --pass-threshold 7.5\n\n# Frontend design mode (generator + evaluator only, no planner)\n\u002Fproject:gan-design \"Create a landing page for a crypto portfolio tracker\"\n```\n\n### Via Shell Script\n\n```bash\n# Basic usage\n.\u002Fscripts\u002Fgan-harness.sh \"Build a music streaming dashboard\"\n\n# With options\nGAN_MAX_ITERATIONS=10 \\\nGAN_PASS_THRESHOLD=7.5 \\\nGAN_EVAL_CRITERIA=\"functionality,performance,security\" \\\n.\u002Fscripts\u002Fgan-harness.sh \"Build a REST API for task management\"\n```\n\n### Via Claude Code (Manual)\n\n```bash\n# Step 1: Plan\nclaude -p --model opus \"You are a Product Planner. Read PLANNER_PROMPT.md. Expand this brief into a full product spec: 'Build a Kanban board app'. Write spec to spec.md\"\n\n# Step 2: Generate (iteration 1)\nclaude -p --model opus \"You are a Generator. Read spec.md. Implement Sprint 1. Start the dev server on port 3000.\"\n\n# Step 3: Evaluate (iteration 1)\nclaude -p --model opus --allowedTools \"Read,Bash,mcp__playwright__*\" \"You are an Evaluator. Read EVALUATOR_PROMPT.md. Test the live app at http:\u002F\u002Flocalhost:3000. Score against the rubric. Write feedback to feedback-001.md\"\n\n# Step 4: Generate (iteration 2 — reads feedback)\nclaude -p --model opus \"You are a Generator. Read spec.md and feedback-001.md. Address all issues. Improve the scores.\"\n\n# Repeat steps 3-4 until pass threshold met\n```\n\n## Evolution Across Model Capabilities\n\nThe harness should simplify as models improve. Following Anthropic's evolution:\n\n### Stage 1 — Weaker Models (Sonnet-class)\n- Full sprint decomposition required\n- Context resets between sprints (avoid context anxiety)\n- 2-agent minimum: Initializer + Coding Agent\n- Heavy scaffolding compensates for model limitations\n\n### Stage 2 — Capable Models (Opus 4.5-class)\n- Full 3-agent harness: Planner + Generator + Evaluator\n- Sprint contracts before each implementation phase\n- 10-sprint decomposition for complex apps\n- Context resets still useful but less critical\n\n### Stage 3 — Frontier Models (Opus 4.6-class)\n- Simplified harness: single planning pass, continuous generation\n- Evaluation reduced to single end-pass (model is smarter)\n- No sprint structure needed\n- Automatic compaction handles context growth\n\n> **Key principle:** Every harness component encodes an assumption about what the model can't do alone. When models improve, re-test those assumptions. Strip away what's no longer needed.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `GAN_MAX_ITERATIONS` | `15` | Maximum generator-evaluator cycles |\n| `GAN_PASS_THRESHOLD` | `7.0` | Weighted score to pass (1-10) |\n| `GAN_PLANNER_MODEL` | `opus` | Model for planning agent |\n| `GAN_GENERATOR_MODEL` | `opus` | Model for generator agent |\n| `GAN_EVALUATOR_MODEL` | `opus` | Model for evaluator agent |\n| `GAN_EVAL_CRITERIA` | `design,originality,craft,functionality` | Comma-separated criteria |\n| `GAN_DEV_SERVER_PORT` | `3000` | Port for the live app |\n| `GAN_DEV_SERVER_CMD` | `npm run dev` | Command to start dev server |\n| `GAN_PROJECT_DIR` | `.` | Project working directory |\n| `GAN_SKIP_PLANNER` | `false` | Skip planner, use spec directly |\n| `GAN_EVAL_MODE` | `playwright` | `playwright`, `screenshot`, or `code-only` |\n\n### Evaluation Modes\n\n| Mode | Tools | Best For |\n|------|-------|----------|\n| `playwright` | Browser MCP + live interaction | Full-stack apps with UI |\n| `screenshot` | Screenshot + visual analysis | Static sites, design-only |\n| `code-only` | Tests + linting + build | APIs, libraries, CLI tools |\n\n## Anti-Patterns\n\n1. **Evaluator too lenient** — If the evaluator passes everything on iteration 1, your rubric is too generous. Tighten scoring criteria and add explicit penalties for common AI patterns.\n\n2. **Generator ignoring feedback** — Ensure feedback is passed as a file, not inline. The generator should read `feedback-NNN.md` at the start of each iteration.\n\n3. **Infinite loops** — Always set `GAN_MAX_ITERATIONS`. If the generator can't improve past a score plateau after 3 iterations, stop and flag for human review.\n\n4. **Evaluator testing superficially** — The evaluator must use Playwright to **interact** with the live app, not just screenshot it. Click buttons, fill forms, test error states.\n\n5. **Evaluator praising its own fixes** — Never let the evaluator suggest fixes and then evaluate those fixes. The evaluator only critiques; the generator fixes.\n\n6. **Context exhaustion** — For long sessions, use Claude Agent SDK's automatic compaction or reset context between major phases.\n\n## Results: What to Expect\n\nBased on Anthropic's published results:\n\n| Metric | Solo Agent | GAN Harness | Improvement |\n|--------|-----------|-------------|-------------|\n| Time | 20 min | 4-6 hours | 12-18x longer |\n| Cost | $9 | $125-200 | 14-22x more |\n| Quality | Barely functional | Production-ready | Phase change |\n| Core features | Broken | All working | N\u002FA |\n| Design | Generic AI slop | Distinctive, polished | N\u002FA |\n\n**The tradeoff is clear:** ~20x more time and cost for a qualitative leap in output quality. This is for projects where quality matters.\n\n## References\n\n- [Anthropic: Harness Design for Long-Running Apps](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) — Original paper by Prithvi Rajasekaran\n- [Epsilla: The GAN-Style Agent Loop](https:\u002F\u002Fwww.epsilla.com\u002Fblogs\u002Fanthropic-harness-engineering-multi-agent-gan-architecture) — Architecture deconstruction\n- [Martin Fowler: Harness Engineering](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Fexploring-gen-ai\u002Fharness-engineering.html) — Broader industry context\n- [OpenAI: Harness Engineering](https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F) — OpenAI's parallel work\n","# GAN-Style Harness Skill\n\n> Inspired by [Anthropic's Harness Design for Long-Running Application Development](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) (March 24, 2026)\n\nA multi-agent harness that separates **generation** from **evaluation**, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve.\n\n## Core Insight\n\n> When asked to evaluate their own work, agents are pathological optimists — they praise mediocre output and talk themselves out of legitimate issues. But engineering a **separate evaluator** to be ruthlessly strict is far more tractable than teaching a generator to self-critique.\n\nThis is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration.\n\n## When to Use\n\n- Building complete applications from a one-line prompt\n- Frontend design tasks requiring high visual quality\n- Full-stack projects that need working features, not just code\n- Any task where \"AI slop\" aesthetics are unacceptable\n- Projects where you want to invest $50-200 for production-quality output\n\n## When NOT to Use\n\n- Quick single-file fixes (use standard `claude -p`)\n- Tasks with tight budget constraints (\u003C$10)\n- Simple refactoring (use de-sloppify pattern instead)\n- Tasks that are already well-specified with tests (use TDD workflow)\n\n## Architecture\n\n```\n                    ┌─────────────┐\n                    │   PLANNER   │\n                    │  (Opus 4.6) │\n                    └──────┬──────┘\n                           │ Product Spec\n                           │ (features, sprints, design direction)\n                           ▼\n              ┌────────────────────────┐\n              │                        │\n              │   GENERATOR-EVALUATOR  │\n              │      FEEDBACK LOOP     │\n              │                        │\n              │  ┌──────────┐          │\n              │  │GENERATOR │--build-->│──┐\n              │  │(Opus 4.6)│          │  │\n              │  └────▲─────┘          │  │\n              │       │                │  │ live app\n              │    feedback             │  │\n              │       │                │  │\n              │  ┌────┴─────┐          │  │\n              │  │EVALUATOR │\u003C-test----│──┘\n              │  │(Opus 4.6)│          │\n              │  │+Playwright│         │\n              │  └──────────┘          │\n              │                        │\n              │   5-15 iterations      │\n              └────────────────────────┘\n```\n\n## The Three Agents\n\n### 1. Planner Agent\n\n**Role:** Product manager — expands a brief prompt into a full product specification.\n\n**Key behaviors:**\n- Takes a one-line prompt and produces a 16-feature, multi-sprint specification\n- Defines user stories, technical requirements, and visual design direction\n- Is deliberately **ambitious** — conservative planning leads to underwhelming results\n- Produces evaluation criteria that the Evaluator will use later\n\n**Model:** Opus 4.6 (needs deep reasoning for spec expansion)\n\n### 2. Generator Agent\n\n**Role:** Developer — implements features according to the spec.\n\n**Key behaviors:**\n- Works in structured sprints (or continuous mode with newer models)\n- Negotiates a \"sprint contract\" with the Evaluator before writing code\n- Uses full-stack tooling: React, FastAPI\u002FExpress, databases, CSS\n- Manages git for version control between iterations\n- Reads Evaluator feedback and incorporates it in next iteration\n\n**Model:** Opus 4.6 (needs strong coding capability)\n\n### 3. Evaluator Agent\n\n**Role:** QA engineer — tests the live running application, not just code.\n\n**Key behaviors:**\n- Uses **Playwright MCP** to interact with the live application\n- Clicks through features, fills forms, tests API endpoints\n- Scores against four criteria (configurable):\n  1. **Design Quality** — Does it feel like a coherent whole?\n  2. **Originality** — Custom decisions vs. template\u002FAI patterns?\n  3. **Craft** — Typography, spacing, animations, micro-interactions?\n  4. **Functionality** — Do all features actually work?\n- Returns structured feedback with scores and specific issues\n- Is engineered to be **ruthlessly strict** — never praises mediocre work\n\n**Model:** Opus 4.6 (needs strong judgment + tool use)\n\n## Evaluation Criteria\n\nThe default four criteria, each scored 1-10:\n\n```markdown\n## Evaluation Rubric\n\n### Design Quality (weight: 0.3)\n- 1-3: Generic, template-like, \"AI slop\" aesthetics\n- 4-6: Competent but unremarkable, follows conventions\n- 7-8: Distinctive, cohesive visual identity\n- 9-10: Could pass for a professional designer's work\n\n### Originality (weight: 0.2)\n- 1-3: Default colors, stock layouts, no personality\n- 4-6: Some custom choices, mostly standard patterns\n- 7-8: Clear creative vision, unique approach\n- 9-10: Surprising, delightful, genuinely novel\n\n### Craft (weight: 0.3)\n- 1-3: Broken layouts, missing states, no animations\n- 4-6: Works but feels rough, inconsistent spacing\n- 7-8: Polished, smooth transitions, responsive\n- 9-10: Pixel-perfect, delightful micro-interactions\n\n### Functionality (weight: 0.2)\n- 1-3: Core features broken or missing\n- 4-6: Happy path works, edge cases fail\n- 7-8: All features work, good error handling\n- 9-10: Bulletproof, handles every edge case\n```\n\n### Scoring\n\n- **Weighted score** = sum of (criterion_score * weight)\n- **Pass threshold** = 7.0 (configurable)\n- **Max iterations** = 15 (configurable, typically 5-15 sufficient)\n\n## Usage\n\n### Via Command\n\n```bash\n# Full three-agent harness\n\u002Fproject:gan-build \"Build a project management app with Kanban boards, team collaboration, and dark mode\"\n\n# With custom config\n\u002Fproject:gan-build \"Build a recipe sharing platform\" --max-iterations 10 --pass-threshold 7.5\n\n# Frontend design mode (generator + evaluator only, no planner)\n\u002Fproject:gan-design \"Create a landing page for a crypto portfolio tracker\"\n```\n\n### Via Shell Script\n\n```bash\n# Basic usage\n.\u002Fscripts\u002Fgan-harness.sh \"Build a music streaming dashboard\"\n\n# With options\nGAN_MAX_ITERATIONS=10 \\\nGAN_PASS_THRESHOLD=7.5 \\\nGAN_EVAL_CRITERIA=\"functionality,performance,security\" \\\n.\u002Fscripts\u002Fgan-harness.sh \"Build a REST API for task management\"\n```\n\n### Via Claude Code (Manual)\n\n```bash\n# Step 1: Plan\nclaude -p --model opus \"You are a Product Planner. Read PLANNER_PROMPT.md. Expand this brief into a full product spec: 'Build a Kanban board app'. Write spec to spec.md\"\n\n# Step 2: Generate (iteration 1)\nclaude -p --model opus \"You are a Generator. Read spec.md. Implement Sprint 1. Start the dev server on port 3000.\"\n\n# Step 3: Evaluate (iteration 1)\nclaude -p --model opus --allowedTools \"Read,Bash,mcp__playwright__*\" \"You are an Evaluator. Read EVALUATOR_PROMPT.md. Test the live app at http:\u002F\u002Flocalhost:3000. Score against the rubric. Write feedback to feedback-001.md\"\n\n# Step 4: Generate (iteration 2 — reads feedback)\nclaude -p --model opus \"You are a Generator. Read spec.md and feedback-001.md. Address all issues. Improve the scores.\"\n\n# Repeat steps 3-4 until pass threshold met\n```\n\n## Evolution Across Model Capabilities\n\nThe harness should simplify as models improve. Following Anthropic's evolution:\n\n### Stage 1 — Weaker Models (Sonnet-class)\n- Full sprint decomposition required\n- Context resets between sprints (avoid context anxiety)\n- 2-agent minimum: Initializer + Coding Agent\n- Heavy scaffolding compensates for model limitations\n\n### Stage 2 — Capable Models (Opus 4.5-class)\n- Full 3-agent harness: Planner + Generator + Evaluator\n- Sprint contracts before each implementation phase\n- 10-sprint decomposition for complex apps\n- Context resets still useful but less critical\n\n### Stage 3 — Frontier Models (Opus 4.6-class)\n- Simplified harness: single planning pass, continuous generation\n- Evaluation reduced to single end-pass (model is smarter)\n- No sprint structure needed\n- Automatic compaction handles context growth\n\n> **Key principle:** Every harness component encodes an assumption about what the model can't do alone. When models improve, re-test those assumptions. Strip away what's no longer needed.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `GAN_MAX_ITERATIONS` | `15` | Maximum generator-evaluator cycles |\n| `GAN_PASS_THRESHOLD` | `7.0` | Weighted score to pass (1-10) |\n| `GAN_PLANNER_MODEL` | `opus` | Model for planning agent |\n| `GAN_GENERATOR_MODEL` | `opus` | Model for generator agent |\n| `GAN_EVALUATOR_MODEL` | `opus` | Model for evaluator agent |\n| `GAN_EVAL_CRITERIA` | `design,originality,craft,functionality` | Comma-separated criteria |\n| `GAN_DEV_SERVER_PORT` | `3000` | Port for the live app |\n| `GAN_DEV_SERVER_CMD` | `npm run dev` | Command to start dev server |\n| `GAN_PROJECT_DIR` | `.` | Project working directory |\n| `GAN_SKIP_PLANNER` | `false` | Skip planner, use spec directly |\n| `GAN_EVAL_MODE` | `playwright` | `playwright`, `screenshot`, or `code-only` |\n\n### Evaluation Modes\n\n| Mode | Tools | Best For |\n|------|-------|----------|\n| `playwright` | Browser MCP + live interaction | Full-stack apps with UI |\n| `screenshot` | Screenshot + visual analysis | Static sites, design-only |\n| `code-only` | Tests + linting + build | APIs, libraries, CLI tools |\n\n## Anti-Patterns\n\n1. **Evaluator too lenient** — If the evaluator passes everything on iteration 1, your rubric is too generous. Tighten scoring criteria and add explicit penalties for common AI patterns.\n\n2. **Generator ignoring feedback** — Ensure feedback is passed as a file, not inline. The generator should read `feedback-NNN.md` at the start of each iteration.\n\n3. **Infinite loops** — Always set `GAN_MAX_ITERATIONS`. If the generator can't improve past a score plateau after 3 iterations, stop and flag for human review.\n\n4. **Evaluator testing superficially** — The evaluator must use Playwright to **interact** with the live app, not just screenshot it. Click buttons, fill forms, test error states.\n\n5. **Evaluator praising its own fixes** — Never let the evaluator suggest fixes and then evaluate those fixes. The evaluator only critiques; the generator fixes.\n\n6. **Context exhaustion** — For long sessions, use Claude Agent SDK's automatic compaction or reset context between major phases.\n\n## Results: What to Expect\n\nBased on Anthropic's published results:\n\n| Metric | Solo Agent | GAN Harness | Improvement |\n|--------|-----------|-------------|-------------|\n| Time | 20 min | 4-6 hours | 12-18x longer |\n| Cost | $9 | $125-200 | 14-22x more |\n| Quality | Barely functional | Production-ready | Phase change |\n| Core features | Broken | All working | N\u002FA |\n| Design | Generic AI slop | Distinctive, polished | N\u002FA |\n\n**The tradeoff is clear:** ~20x more time and cost for a qualitative leap in output quality. This is for projects where quality matters.\n\n## References\n\n- [Anthropic: Harness Design for Long-Running Apps](https:\u002F\u002Fwww.anthropic.com\u002Fengineering\u002Fharness-design-long-running-apps) — Original paper by Prithvi Rajasekaran\n- [Epsilla: The GAN-Style Agent Loop](https:\u002F\u002Fwww.epsilla.com\u002Fblogs\u002Fanthropic-harness-engineering-multi-agent-gan-architecture) — Architecture deconstruction\n- [Martin Fowler: Harness Engineering](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Fexploring-gen-ai\u002Fharness-engineering.html) — Broader industry context\n- [OpenAI: Harness Engineering](https:\u002F\u002Fopenai.com\u002Findex\u002Fharness-engineering\u002F) — OpenAI's parallel work\n",{"name":5,"tools":43,"origin":44,"description":7},"Read, Write, Edit, Bash, Grep, Glob, Task","ECC-community","master","8ec37df6d71fb664ea19d32c079e7d3ff931a8e0","skills\u002Fecc\u002Fgan-style-harness",3,"https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit","https:\u002F\u002Fweblyfe.ai","https:\u002F\u002Fgithub.com\u002FS3YED","2026-08-27 01:54:02",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add S3YED\u002Fappie-kit --skill gan-style-harness",{"tool":59,"command":60},"bunx","bunx skills add S3YED\u002Fappie-kit --skill gan-style-harness",{"tool":62,"command":63},"pnpm","pnpm dlx skills add S3YED\u002Fappie-kit --skill gan-style-harness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fecc\u002Fgan-style-harness\u002FSKILL.md",true,[],[68,93,119,141,168,190],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":38},"01M6JFD4M6N4DSGC7TXEJ5R3J2","ai-music","AI music generation and audio tools: HeartMuLa lyrics-to-music generation, songwriting craft (+ Suno prompts), and audio spectrogram\u002Ffeature visualization.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fwethlete\u002Fai-music\u002FSKILL.md",[],[75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],"music","ai music","humanizer","visualization","Tools","Audio","hermes","hermes agent","songwriting","suno","lyrics","prompts","heartmula","craft","generation","feature","ai music generation","music generation",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6JFCZE4XNFQFMNZDHKHT5V5","agentic-webdesign-design-system-ingestion","Use v0 Design Systems 2.0, Bolt Design System Agents, or Lovable to generate production UI from a client's real design system components — not generic Tailwind. Use when building a client website where brand consistency matters.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-design-system-ingestion\u002FSKILL.md",[],[37,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118],"agentic","design system","system","ingestion","webdesign","agentic webdesign design system ingestion","components","generate","design systems","website","ui","Tailwind","bolt","lovable","v0","design-system","wed","design system components","appie",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M6JFCVPX3913CFAS6QQJ33ZB","agentic-webdesign-agent-elements","Use 21st.dev Agent Elements — 25 shadcn\u002Fui components purpose-built for AI agent UIs. Tool cards (Bash, Edit, Search, Plan, Subagent, MCP), chat, input, streaming. Open source, shadcn-registry install, no runtime lock-in.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-agent-elements\u002FSKILL.md",[],[100,126,104,127,128,129,106,130,131,132,133,134,31,135,136,27,137,138,139,140],"elements","agentic webdesign agent elements","MCP","ai agent","registry","search","streaming","open source","open","plan","subagent","install","input","lock","source",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":38},"01M6JFCQC7H65M9QJ6TRE71BS1","vercel-deployment","Deploy static sites and frontends to Vercel — handles both CLI and REST API paths, including the CLI token sanitization workaround.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fvercel-deployment\u002FSKILL.md",[],[148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167],"deployment","vercel deployment","vercel","macos","cli","linux","windows","deploy","vercel deploy","REST","api","site","deploy to vercel","token","rest api","host","sites","paths","sanitization","static site",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":38},"01M6JFCM4SMTXBM5A01BK2YQG1","software-quality-workflows","Umbrella workflow for TDD, debugging, code simplification, spikes, pre-commit review, and debugger-assisted investigation.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fsoftware-quality-workflows\u002FSKILL.md",[],[175,22,176,177,178,179,180,181,182,183,184,185,186,187,188,189,35],"workflows","software","software quality workflows","review","tdd","workflow","commit","debugging","code","debugger","pre-commit","investigation","code simplification","user","simplification",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":38},"01M6JFCGD0M6CEATY01W7YN6DB","react-component-refactoring","Safely refactor large React components into smaller, maintainable pieces using proven patterns","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Freact-component-refactoring\u002FSKILL.md",[],[197,198,199,200,201,202,203,204,151,205,206,106,207,154,208,183,209,210,211,212],"react","component","refactoring","component refactoring","react component","react component refactoring","frontend","writing","safe","typescript","react components","modular","refactor","simplify","patterns","test-driven-development"]