/wigtn-plugins:screen-spec runs instead · from wigtn-plugins
Generates 5 screen specification documents (IA, User Flow, Screen Spec, Wireframe HTML, Dev Handoff) from a PRD. Acts as an optional gate between /prd and /implement.
This skill never runs in Claude Code
It ships in wigtn-plugins at skills/, but /wigtn-plugins:screen-spec (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
/screen-spec 의 실행 엔진. PRD 하나를 읽어 화면정의서 5종을 각각 별도 파일로 만든다.
docs/prd/screens/<feature>/ 아래에 아래 5개 파일을 만든다. 하나의 문서로 합치지 않는다.
각 산출물은 해당 보일러플레이트를 Read해서 PRD 데이터로 채운다.
| # | 파일 | 보일러플레이트 (${CLAUDE_PLUGIN_ROOT}/skills/screen-spec/) |
|---|---|---|
| 1 | 01-IA.md | templates/01-IA.md — 정보구조도, 페이지 ↔ FR 매핑 |
| 2 | 02-USER-FLOW.md | templates/02-USER-FLOW.md — 분기 조건까지 명시한 플로우 |
| 3 | 03-SCREEN-SPEC.md | templates/03-SCREEN-SPEC.md — 화면당 7개 슬롯 |
| 4 | 04-WIREFRAME.html | templates/04-WIREFRAME.html (web) / templates/04-WIREFRAME-mobile.html (mobile) |
| 5 | 05-DEV-HANDOFF.md | templates/05-DEV-HANDOFF.md — FR ↔ 화면 ↔ 컴포넌트 |
01 → 02 → 03 → 04 → 05 순서로 만든다. 앞 산출물이 뒤 산출물의 입력이다.
docs/prd/PRD_<feature>.md 를 읽는다. Role Key · FR ID · Route · 상태는 PRD에서 그대로 인용하고 새로 지어내지 않는다.
| PRD 섹션 | 쓰이는 곳 |
|---|---|
| §3.3 User Roles | 각 화면의 Audience (Role Key를 그대로) |
| §3.4 Acceptance Criteria | 시나리오 ↔ Flow 매핑 (02), task 분해 참조 (05) |
| §5 Features & Requirements | 페이지 ↔ FR 매핑 (01, 05) |
| §6.9 Pages | 대상 페이지 목록 (route / auth / responsive) |
| §6.9.1 Page State Matrix | 화면별 상태 명세 (03) |
| §6.10 User Flow | 플로우 확장의 출발점 (02) |
§6.9에서는 Has FE Components: Yes 인 행만 대상으로 한다. PRD 골격 정본은 ${CLAUDE_PLUGIN_ROOT}/contracts/PRD-CONTRACT.md.
상태 어휘는 5개로 고정: loading / empty / error / success / no-permission.
§6.9.1에서 체크된 상태는 03-SCREEN-SPEC.md에 1줄 이상 명세한다 (누락은 리뷰의 critical).
중단 조건 — 추측으로 메우지 말고 stop한다:
/implement 로 진행하세요"--platform 명시값이 있으면 그것이 우선. 없으면 PRD §1 Overview의 모바일 시그널(React Native, RN, iOS, Android, 네이티브, 앱스토어, 모바일 앱, mobile)을 보고 mobile 로 자동 전환하며, 전환했음과 --platform=web 으로 덮어쓸 수 있음을 사용자에게 알린다. 시그널이 없으면 web.
⚠️ 단독 앱은 시그널이 아니다 — 웹앱 / web app 에 부분 매칭되어 오탐한다.
⚠️ §1.3 Scope의 "제외"나 §2.3 Non-Goals에 적힌 시그널은 세지 않는다 — "제외: 네이티브 앱"은 웹 제품이라는 뜻이다.
모바일 템플릿은 네비 패턴 3종을 모두 담고 있으므로, 실제 산출물에서는 쓰지 않는 패턴 섹션을 제거한다.
--interview 일 때만)PRD가 다루지 않는 화면 레이어 결정을 한 메시지에 번호 매긴 5~7개 객관식으로 묻고 1회 응답으로 끝낸다. 질문을 한 개씩 쪼개 보내지 않는다(라운드트립 폭증).
네비게이션(top / side / bottom / drawer) · 정보 밀도(compact / spacious) · 에러 톤(공식 / 친근) · 빈 상태 철학(일러스트+CTA / 최소 텍스트+CTA) · 전환 방식(page / modal / drawer) · 모바일 우선순위(desktop-first / mobile-first / parity) · 첫 화면 후크(value / action / story-first).
받은 답변은 03-SCREEN-SPEC.md에 명시적으로 반영한다. 플래그가 없으면 이 단계를 건너뛴다(PRD 추론 모드).
PRD에 TBD / ??? / 빈 셀이 5건 이상이면 종료 안내에서 --interview 재실행을 권한다.
실행 분기 (컨텍스트 절약)
general-purpose subagent에 분리 발주한다 — 출력이 가장 크고 재참조가 적다. subagent에 PRD 경로 · 01~03 경로 · 사용할 템플릿 경로 · INTERVIEW 결정사항 · 출력 경로를 넘기고, 파일 경로와 검증 요약만 돌려받는다(본문을 메인 컨텍스트에 싣지 않는다).와이어프레임은 lo-fi다
neutral-*) + 의미색만: error=red, success=green, warning·no-permission=amber.<a href="#screen-<slug>"> anchor로 클릭 가능하게 만든다.04-wireframes/<slug>.html 로 쪼개고 04-WIREFRAME.html 은 인덱스로 둔다.연결 무결성
<section id="screen-<slug>"> 가 일치해야 한다.frontend-developer 에이전트에 산출물 디렉토리와 ${CLAUDE_PLUGIN_ROOT}/skills/screen-spec/references/handoff-checklist.md 를 넘겨 검증한다. INTERVIEW 결정사항이 있으면 그것이 일관되게 반영됐는지도 확인한다.
판정은 findings 롤업이다 — critical ≥1이면 FAIL(해당 산출물만 재생성 후 재검증), critical 0이고 major ≥1 또는 minor ≥5면 WARN(표시하고 진행), 그 외 PASS. 점수는 매기지 않는다.
--pages=<list> 나 "와이어프레임만 다시 만들어" 같은 요청은 지정된 파일만 통째로 덮어쓰고 나머지 산출물은 보존한다. diff 머지는 하지 않는다.
${CLAUDE_PLUGIN_ROOT}/skills/screen-spec/references/state-checklist.md — 상태별 UI 패턴${CLAUDE_PLUGIN_ROOT}/skills/screen-spec/references/microcopy-patterns.md — 마이크로카피 패턴${CLAUDE_PLUGIN_ROOT}/skills/screen-spec/references/handoff-checklist.md — 리뷰 체크리스트 + 반환 스키마design-discovery 가 /implement 직전에 담당한다./implement 의 입력이다: 03 → 컴포넌트 props/state, 04 → 레이아웃 마크업, 05 → task 분해.references/handoff-checklist.md (opens in a new tab)references/microcopy-patterns.md (opens in a new tab)references/state-checklist.md (opens in a new tab)templates/01-IA.md (opens in a new tab)templates/02-USER-FLOW.md (opens in a new tab)templates/03-SCREEN-SPEC.md (opens in a new tab)templates/04-WIREFRAME-mobile.html (opens in a new tab)templates/04-WIREFRAME.html (opens in a new tab)templates/05-DEV-HANDOFF.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/architecture-diagramDraw an architecture, system, or flow diagram as a committable hand-drawn (sketch) image — SVG + PNG — in the Excalidraw / Mermaid handDrawn look: rough outlines, pastel hachure fills, Korean handwriting titles. A clean style is available too. Text is measured in a real browser before layout, so labels never clip, and a layout check fails the render on overflow, overlap, or an edge running through a node or label. Use for READMEs, docs, slides, Devpost. Triggers on: '아키텍처 그려줘', '아키텍처 다이어그램', '구조도', '시스템 구성도', '플로우 그려줘', '흐름도', '다이어그램 그려줘', '손그림 다이어그램', '스케치 도식', 'architecture diagram', 'system diagram', 'flow diagram', 'hand-drawn diagram', 'sketch diagram', 'Devpost diagram'./code-review-levelsReference documents for deep code review (Level 3) and architecture review (Level 4). Used by code-reviewer agent for advanced review levels./demo-videonpx claudepluginhub wigtn/wigtn-plugins --plugin wigtn-pluginsOther plugins' skills for the same job