gan-style-harness
하는 일
이 도구는 완전한 애플리케이션이나 복잡한 기능을 자율적으로 만듭니다. 작업을 정하는 '계획자', 만드는 '생성자', 철저히 시험하는 '평가자'를 사용합니다. 결과가 높은 품질 기준을 충족할 때까지 반복합니다.
사용하는 경우
- ✓간단한 아이디어에서 애플리케이션 전체를 만들 때.
- ✓아름답고 기능적이어야 하는 시각적 인터페이스를 개발할 때.
- ✓세심한 주의가 필요한 복잡한 기능을 만들 때.
스킬 링크
https://github.com/affaan-m/ECC/blob/main/skills/gan-style-harness/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사용자 로그인, 카테고리, 알림 기능이 있는 할 일 목록 앱을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
한 에이전트는 단계를 계획하고, 다른 에이전트는 코드를 쓰고, 세 번째 에이전트는 모든 것을 매우 비판적으로 시험합니다. 시험하는 쪽이 오류를 지적하고 만드는 쪽이 고치는 과정을 결과가 승인될 때까지 반복합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
- Quick single-file fixes (use standard
claude -p) - Tasks with tight budget constraints (<$10)
- Simple refactoring (use de-sloppify pattern instead)
- Tasks that are already well-specified with tests (use TDD workflow)
Architecture
┌─────────────┐
│ PLANNER │
│ (Sonnet) │
└──────┬──────┘
│ Product Spec
│ (features, sprints, design direction)
▼
┌────────────────────────┐
│ │
│ GENERATOR-EVALUATOR │
│ FEEDBACK LOOP │
│ │
│ ┌──────────┐ │
│ │GENERATOR │--build-->│──┐
│ │ (Sonnet) │ │ │
│ └────▲─────┘ │ │
│ │ │ │ live app
│ feedback │ │
│ │ │ │
│ ┌────┴─────┐ │ │
│ │EVALUATOR │<-test----│──┘
│ │ (Sonnet) │ │
│ │+Playwright│ │
│ └──────────┘ │
│ │
│ 5-15 iterations │
└────────────────────────┘
The Three Agents
1. Planner Agent
Role: Product manager — expands a brief prompt into a full product specification.
Key behaviors:
- Takes a one-line prompt and produces a 16-feature, multi-sprint specification
- Defines user stories, technical requirements, and visual design direction
- Is deliberately ambitious — conservative planning leads to underwhelming results
- Produces evaluation criteria that the Evaluator will use later
Model: Sonnet by default; raise via GAN_PLANNER_MODEL=opus for deeper spec expansion
2. Generator Agent
Role: Developer — implements features according to the spec.
Key behaviors:
- Works in structured sprints (or continuous mode with newer models)
- Negotiates a "sprint contract" with the Evaluator before writing code
- Uses full-stack tooling: React, FastAPI/Express, databases, CSS
- Manages git for version control between iterations
- Reads Evaluator feedback and incorporates it in next iteration
Model: Sonnet by default; raise via GAN_GENERATOR_MODEL=opus for maximum coding capability
3. Evaluator Agent
Role: QA engineer — tests the live running application, not just code.
Key behaviors:
- Uses Playwright MCP to interact with the live application
- Clicks through features, fills forms, tests API endpoints
- Scores against four criteria (configurable):
- Design Quality — Does it feel like a coherent whole?
- Originality — Custom decisions vs. template/AI patterns?
- Craft — Typography, spacing, animations, micro-interactions?
- Functionality — Do all features actually work?
- Returns structured feedback with scores and specific issues
- Is engineered to be ruthlessly strict — never praises mediocre work
Model: Sonnet by default; raise via GAN_EVALUATOR_MODEL=opus for stronger judgment + tool use
Evaluation Criteria
The default four criteria, each scored 1-10:
…
자주 묻는 질문
왜 별도의 '평가자'를 쓰나요?
에이전트가 자기 작업을 평가하면 너무 관대해지기 쉽습니다. 엄격하게 비판하는 전담 에이전트가 있어야 고품질 결과만 승인됩니다.
'GAN-inspired'는 무엇을 뜻하나요?
GAN(생성적 적대 신경망)이라는 AI 방식에서 영감을 받았다는 뜻입니다. 이 방식에서는 두 네트워크가 경쟁합니다. 하나는 무언가를 만들고 다른 하나는 그것이 진짜인지 가짜인지 판단합니다. 여기서는 한쪽이 코드를 만들고 다른 쪽이 평가합니다.
시간이 얼마나 걸리나요?
만드는 대상의 복잡도에 따라 생성과 평가를 5번에서 15번 정도 반복할 수 있으며, 그만큼 시간이 걸릴 수 있습니다.
상세 정보
작성자의 원본 설명
GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper. Use when a feature should be built autonomously through generator and evaluator iteration until it clears a quality bar.
repo: affaan-m/ECC
인기도
- GitHub 스타
- 280k
- 순위
- #319
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
accessibility
280k에이전트가 모든 사람이 쓸 수 있는 인터페이스를 만들도록 돕습니다. 시각 장애나 운동 장애가 있는 사람도 쓸 수 있게 합니다.
agent-architecture-audit
280k에이전트가 모든 것이 올바르게 작동하는지 점검하도록 돕습니다. AI 시스템의 문제를 찾아 고쳐서 기대대로 작동하게 합니다.
agent-eval
280k에이전트가 서로 다른 AI 코딩 도구를 비교하도록 돕습니다. 특정 작업에서 어느 도구가 더 빠르고, 저렴하고, 믿을 만한지 측정합니다.
agent-harness-construction
280k에이전트가 작업을 더 잘 이해하도록 돕습니다. 에이전트가 쓰는 도구와 지시문을 최적화해 성공 가능성을 높입니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.