본문으로 건너뛰기
Skillpedia
에이전트280k · #319

gan-style-harness

하는 일

이 도구는 완전한 애플리케이션이나 복잡한 기능을 자율적으로 만듭니다. 작업을 정하는 '계획자', 만드는 '생성자', 철저히 시험하는 '평가자'를 사용합니다. 결과가 높은 품질 기준을 충족할 때까지 반복합니다.

사용하는 경우

  • ✓간단한 아이디어에서 애플리케이션 전체를 만들 때.
  • ✓아름답고 기능적이어야 하는 시각적 인터페이스를 개발할 때.
  • ✓세심한 주의가 필요한 복잡한 기능을 만들 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/gan-style-harness/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/gan-style-harness/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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):
    1. Design Quality — Does it feel like a coherent whole?
    2. Originality — Custom decisions vs. template/AI patterns?
    3. Craft — Typography, spacing, animations, micro-interactions?
    4. 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬