affaan-m avatar

Gan Style Harness

This implements the adversarial generator-evaluator pattern from Anthropic's 2026 harness paper. Three agents work in sequence: a Planner expands your one-line prompt into a full product spec, a Generator builds it, and an Evaluator uses Playwright to test the live app and score it against design quality, originality, craft, and functionality. The Generator reads feedback and iterates until hitting a 7.0 weighted score or max iterations. Best for when you want production-quality output and can spend $50-200 on a full-stack app. Skip it for quick fixes or tight budgets. The key insight is that agents are terrible at evaluating their own work but you can engineer a separate evaluator to be ruthlessly strict.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill gan-style-harness --agent claude-code

Installs into .claude/skills of the current project.

Files

GAN-Style Harness Skill

Inspired by Anthropic's Harness Design for Long-Running Application Development (March 24, 2026)

A multi-agent harness that separates generation from evaluation, creating an adversarial feedback loop that drives quality far beyond what a single agent can achieve.

Core Insight

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.

This is the same dynamic as GANs (Generative Adversarial Networks): the Generator produces, the Evaluator critiques, and that feedback drives the next iteration.

When to Use

  • Building complete applications from a one-line prompt
  • Frontend design tasks requiring high visual quality
  • Full-stack projects that need working features, not just code
  • Any task where "AI slop" aesthetics are unacceptable
  • Projects where you want to invest $50-200 for production-quality output

When NOT to Use

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Code Review & Quality, AI & Agent Building, Automation & Workflows, Design & UI/UX
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarprediction-market-risk-reviewaffaan-m/eccReview prediction-market, basket, oracle, and trading-agent workflows for compliance, safety, data-quality, privacy, and execution risk. Use before any workflow5.3Kskills.sh installs
2jeffallan avatarrag-architectjeffallan/claude-skillsDesigns and implements production-grade RAG systems by chunking documents, generating embeddings, configuring vector stores, building hybrid search pipelines, a4.9Kskills.sh installs
3jeffallan avatarcloud-architectjeffallan/claude-skillsDesigns cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, 4.9Kskills.sh installs
4affaan-m avatarinherit-legacy-styleaffaan-m/eccLegacy-project style inheritance skill. Use when the user types /inherit-legacy-style, or when onboarding an AI coding agent onto a hand-written legacy project 4.8Kskills.sh installs
5giuseppe-trisciuoglio avatarreact-code-reviewgiuseppe-trisciuoglio/developer-kitProvides comprehensive code review capability for React applications, validates component architecture, hooks usage, React 19 patterns, state management, perfor4.5Kskills.sh installs
6dotnet avatarassertion-qualitydotnet/skillsAnalyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, ident4.3Kskills.sh installs