/moai-designer:design-iteration-loopfrom 🎨 디자이너
Implements a Builder-Evaluator GAN loop for iterative design quality improvement with Sprint Contract negotiation, 4-dimension scoring (Design Quality, Originality, Completeness, Functionality), stagnation detection, and escalation.
Ships in 🎨 디자이너. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
MoAI-ADK 프로젝트에서는
.moai/config/sections/design.yaml과 기존 스프린트 산출물을 읽는다. Claude Cowork·ChatGPT Work 데스크톱에서는 사용자가 제공한 브리프와 실제 시안으로 같은 평가 항목을 점검할 수 있다. 설정 파일이나 검사 도구가 없으면 그 항목을 미검증으로 기록하고 점수나 PASS를 만들어 내지 않는다.
Implements the Builder-Evaluator GAN loop for iterative design quality improvement. Absorbed from the retired v2.x design constitution Section 11 and Section 12 (per the design constitution absorption policy). Integrates Sprint Contract Protocol, 4-dimension scoring, stagnation detection, and Evaluator Leniency Prevention.
In a MoAI-ADK project, read loop parameters from .moai/config/sections/design.yaml; the values below describe the current project configuration and are not portable defaults. In a desktop conversation without that file, agree on criteria with the user and report observations without inventing thresholds.
design.gan_loop:
max_iterations: 5 # Maximum Builder-Evaluator cycles
pass_threshold: 0.75 # Score >= this value to exit loop
escalation_after: 3 # Escalate to user after N iterations without passing
improvement_threshold: 0.05 # Minimum score delta per iteration
strict_mode: false # If true, each must-pass criterion must pass individually
sprint_contract:
enabled: true
required_harness_levels: [thorough]
optional_harness_levels: [standard]
artifact_dir: ".moai/sprints"
max_negotiation_rounds: 2
| Dimension | Description |
|---|---|
| Design Quality | Visual consistency, supplied brand token compliance, measured contrast |
| Originality | Brand-specific expression against the supplied brief |
| Completeness | Requested BRIEF sections present, copy matches the agreed text |
| Functionality | Observed responsive behavior and tested interactions |
The current design.yaml does not define weights for these dimensions. Do not present 30/25/25/20 or any other split as configured. The ADK evaluator owns the overall score; cite its actual rubric and result. In a standalone desktop review, report each observed dimension and gaps without a synthetic overall score.
In the ADK loop, pass requires the evaluator's measured overall score to reach pass_threshold and every contracted must-pass criterion to pass. Strict mode adds the constitution's two-iteration minimum. A standalone desktop review without a configured evaluator does not issue this numeric PASS.
Phase 1: Sprint Contract (when required by harness level)
Required when harness_level == thorough.
Optional when harness_level == standard and user opts in.
Skipped when harness_level == minimal.
Sprint Contract generation:
acceptance_checklist: concrete, testable criteria for this iterationpriority_dimension: which of the 4 dimensions to focus ontest_scenarios: specific verification stepspass_conditions: minimum score per criterionmax_negotiation_rounds rounds)design.gan_loop.sprint_contract.artifact_dir/sprint-N.jsonConstraint: Evaluator must not score on criteria outside the Sprint Contract. Builder must not claim criteria as met without evidence.
Phase 2: Builder Execution
Builder implements based on:
design-copywritingdesign-brand-system or design-workflow (Path A handler)Builder outputs: code files, rendered previews (if Playwright available), implementation notes.
Phase 3: Evaluator Scoring
Evaluator scores against the 4 dimensions using the Evaluator Leniency Prevention mechanisms:
Output: evaluation-report-N.json in sprint_contract.artifact_dir.
Phase 4: Loop Decision
if overall_score >= pass_threshold:
EXIT LOOP → proceed to next phase
elif iteration >= max_iterations:
ESCALATE → present failure report to user
elif stagnation_detected:
ESCALATE → present stagnation options
else:
ITERATE → pass feedback to Builder, increment N
Phase 5: Iteration Feedback
If looping back:
Stagnation is detected when the score improvement between consecutive iterations is below improvement_threshold for 2 or more iterations.
Tracking:
{iteration: N, score: X} in the sprint artifact.delta = score[N] - score[N-1].delta < improvement_threshold for the last 2 iterations, flag stagnation.When stagnation is detected, present the findings through the available user question channel with three options:
The escalation trigger at escalation_after iterations applies independently: if 3 iterations pass without a PASS score, escalate regardless of stagnation state.
The following 5 mechanisms prevent score inflation and must be applied on every evaluation:
Mechanism 1: Rubric Anchoring
Score descriptions for each dimension:
Always state which rubric level applies and why before assigning a numeric score.
Mechanism 2: Must-Pass Firewall
The following conditions cause immediate FAIL regardless of other scores:
copy.json or BRIEF copy sectionMechanism 3: Anti-Pattern Penalty
Known anti-patterns that cap dimension score at 0.50:
alt attributes on non-decorative images (Functionality capped)Mechanism 4: Evidence Requirement
Each dimension score must cite specific evidence:
Mechanism 5: Regression Baseline
If a previous iteration passed a criterion, the current iteration must maintain that criterion. Regression from a previously passed criterion triggers an automatic score reduction in the relevant dimension.
Sprint Contract document format (sprint-N.json):
{
"sprint_id": "sprint-N",
"iteration": N,
"priority_dimension": "Design Quality | Originality | Completeness | Functionality",
"acceptance_checklist": [
{
"id": "AC-01",
"criterion": "Hero headline contrast ratio >= 4.5:1",
"verification": "Check color pair with contrast calculator",
"status": "pending | passed | failed"
}
],
"test_scenarios": [
{
"id": "TS-01",
"description": "Mobile viewport renders without horizontal scroll",
"tool": "Playwright | visual inspection",
"command": "playwright test --viewport 375x667"
}
],
"pass_conditions": {
"Design Quality": 0.75,
"Originality": 0.70,
"Completeness": 0.80,
"Functionality": 0.75
},
"negotiation_history": [],
"created_at": "ISO-8601"
}
When strict_mode: true in design.yaml:
Every 5th project triggers an independent re-evaluation:
sprint_contract.artifact_dir/calibration-log.json.When a browser or Playwright is available, the Evaluator may run the relevant checks:
When testing tools are unavailable, record code observations and mark browser behavior, accessibility and interaction criteria unverified. Do not score an unobserved criterion as passed.
design-brand-system: Provides design tokens that Evaluator validates in Design Quality dimensiondesign-copywriting: Copy JSON is the reference for Completeness dimensionmoai)의 sync-auditor가 함께 설치된 환경에서는 해당 agent로 평가를 보강할 수 있습니다.design-workflow: Extracted tokens (Path A) serve as the design reference baselineSource: Absorbed from the retired v2.x design constitution per the design constitution absorption policy (Section 11 GAN Loop Contract, Section 12 Evaluator Leniency Prevention). REQ coverage: (internal provenance omitted) Version: 0.1.0
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub modu-ai/moai-cowork --plugin moai-designer17 skills in this plugin
/design-brand-system제공된 브랜드 자료와 화면 목적을 바탕으로 웹 시각 디자인 토큰과 컴포넌트 사양을 만듭니다.
색상·서체·간격·레이아웃·접근성 검토가 필요할 때 사용하세요.
Claude Cowork와 ChatGPT Work에서는 사용자 자료를 바로 입력으로 받고, MoAI 프로젝트에서는 기존 브랜드 파일을 함께 확인합니다.
/design-brand-visual브랜드 자료에 맞는 히어로·OG·목업·마스코트 이미지의 구도와 제약을 정하고 실제 이미지 생성 경로로 보냅니다.
ChatGPT Work에서는 현재 대화의 이미지 생성 도구를, Higgsfield 지정 요청에는 이 플러그인의 공식 Higgsfield 연결을 사용합니다.
"브랜드 히어로 이미지 만들어줘", "OG 이미지 생성해줘", "마스코트 다른 포즈로 그려줘" 같은 요청에 사용하세요.
/design-brief화면·프로토타입·시각 문서 제작 요청을 검토 가능한 디자인 브리프로 정리합니다.
"Claude Design 브리프 만들어줘", "디자인 요청 정리해줘", "프로토타입 프롬프트 작성해줘" 같은 요청에 사용하세요.
사용자 자료에 없는 대상·브랜드·참고 사례는 미정으로 남깁니다.
/design-copywriting브랜드 보이스와 실제 제품 자료에 맞춰 웹 화면의 제목·설명·버튼·오류 문구를 작성합니다.
디자인 파이프라인이 필요하면 섹션별 JSON으로, 단독 요청이면 사용자가 원하는 형식으로 제공합니다.
수치·보증·후기는 확인된 근거가 있을 때만 사용합니다.
/design-gui-guide모든 화면을 구성하는 10개 GUI 요소(버튼·폼·메뉴·링크·다이얼로그·알림·아이콘·체크박스/라디오·탭·검색)와 보너스 2(윈도우·포인터)에 대한 증거 기반 사용성 가이드라인 86종.
UX Tigers(Jakob Nielsen, 2026-07-29) "10 GUI Design Elements"를 shadcn 컴포넌트와 1:1로 매핑해 한국어 실용 지침으로 증류.
design-prompt-builder 패턴 3(디자인 시스템 생성)·패턴 6(사용성 감사)이 컴포넌트별 체크리스트로 참조.
다음과 같은 요청 시 반드시 이 스킬을 사용하세요:
- "컴포넌트 사용성 가이드라인"
- "GUI 위젯 설계 규칙"
- "버튼/폼/다이얼로그 잘 만드는 법"
- "Nielsen GUI 가이드라인"
- "디자인 시스템 컴포넌트 감사 체크리스트"
/design-handoff디자인 브리프와 실제 브랜드·화면 자료로 Claude Design 또는 코드 구현에 넘길 핸드오프 문서를 만듭니다.
"디자인 핸드오프 준비해줘", "Claude Design에 넘길 프롬프트 써줘" 같은 요청에 사용하세요.
MoAI 프로젝트의 기존 다섯 파일 경로는 해당 파이프라인에서 필요할 때 사용합니다.
Other plugins' skills for the same job