From wigtn-plugins
Generates screen specifications (IA, user flow, wireframes, dev handoff) from an existing PRD. Supports optional interview mode and platform targeting.
How this command is triggered — by the user, by Claude, or both
Slash command
/wigtn-plugins:screen-spec <feature name>The summary Claude sees in its command listing — used to decide when to auto-load this command
# Screen Specification Generation PRD를 입력으로 받아 화면정의서 5종 산출물을 생성합니다. `/prd` 다음, `/implement` 이전 단계의 **선택적 게이트**. ## Pipeline Position `[/prd] → [prd-reviewer] → [/screen-spec] (현재 단계) → [/implement] → [/auto-commit]` | 이전 단계 | 현재 | 다음 단계 | |----------|------|----------| | `prd-reviewer` PASS | `/screen-spec` - 화면정의서 5종 생성 | `/implement` - 코드 구현 | ## When to Use PRD §5.4 Pages에 `Has FE Components: Yes` 행이 1개 이상일 때만 실행(권장). 백엔드/API 전용이면 스킵하고 바로 `/implement`, PRD가 없으면 먼저 `/prd`, 빠른 PoC(화면 1개 미만)면 생략 가능. ## Usage ## Parameters - `feature-name`: 기능명 (required, PRD 파일명과 일치) - `--intervi...
PRD를 입력으로 받아 화면정의서 5종 산출물을 생성합니다. /prd 다음, /implement 이전 단계의 선택적 게이트.
[/prd] → [prd-reviewer] → [/screen-spec] (현재 단계) → [/implement] → [/auto-commit]
| 이전 단계 | 현재 | 다음 단계 |
|---|---|---|
prd-reviewer PASS | /screen-spec - 화면정의서 5종 생성 | /implement - 코드 구현 |
PRD §5.4 Pages에 Has FE Components: Yes 행이 1개 이상일 때만 실행(권장). 백엔드/API 전용이면 스킵하고 바로 /implement, PRD가 없으면 먼저 /prd, 빠른 PoC(화면 1개 미만)면 생략 가능.
/screen-spec <feature-name>
/screen-spec <feature-name> --interview
/screen-spec <feature-name> --platform=mobile
/screen-spec <feature-name> --pages=/submit,/my
feature-name: 기능명 (required, PRD 파일명과 일치)--interview: LOAD 후 단일 턴 배치 Q&A로 화면 레이어 의사결정을 끌어냄 (네비 패턴, 밀도, 에러 톤, 빈 상태, 전환 방식, 모바일 우선순위 등 5~7개)--platform=<web|mobile>: 출력 템플릿 분기. 미지정 시 PRD §1 Overview의 모바일 시그널(React Native, RN, iOS, Android, 네이티브, 앱스토어, 모바일 앱, mobile) 감지로 자동 선택 — 시그널 있으면 mobile, 없으면 web. ⚠️ 단독 앱은 시그널 아님(웹앱에 오탐). 명시값이 있으면 자동 감지를 덮어쓴다.--pages=<list>: 특정 페이지만 명세 (쉼표 구분, 예: --pages=/submit,/my). 재실행 시 지정 파일만 덮어쓰고 나머지 산출물은 보존--verify-vision: (선택·스트레치) 04-WIREFRAME.html을 렌더→이미지로 캡처해 §5.4.1 상태·스펙과 대조 검증 (Phase 4). 렌더 도구가 없으면 자동 스킵Note: 와이어프레임은 흑백 + 의미색만 사용하는 lo-fi 산출물이며, 스타일/브랜드/타이포 결정은 별도 단계(mockup 또는
/implement직전)에서 수행한다.
docs/prd/PRD_<feature-name>.md 읽기Has FE Components: Yes만)/prd <feature-name>을 실행하세요"/implement로 진행하세요"/prd를 다시 실행해 보강하거나 수동 보완하세요"--interview 플래그 시에만)PRD가 다루지 않는 화면 레이어 의사결정을 끌어낸다. 단일 메시지에 5~7개 객관식 질문을 번호 매겨 제시하고 사용자 1회 응답을 받는다 — 네비게이션 패턴(top/side/bottom/drawer), 정보 밀도(compact/spacious), 에러 톤, 빈 상태 철학, 전환 방식(page/modal/drawer), 모바일 우선순위(desktop-first/mobile-first/parity), 첫 화면 후크.
응답은 03-SCREEN-SPEC.md 작성 시 명시적으로 반영. 플래그가 없으면 PRD 추론만으로 진행.
자동 추천 힌트: PRD에 TBD / ??? / 빈 셀이 5건 이상 감지되면 Phase 5 안내문에 "--interview로 재실행 추천" 한 줄 출력.
screen-spec 스킬을 호출하여 5종 산출물을 순차 생성. 각 단계는 이전 단계 산출물에 의존.
1. 01-IA.md ← PRD §5.4 + §3
2. 02-USER-FLOW.md ← PRD §5.5 확장 (분기 조건 명시)
3. 03-SCREEN-SPEC.md ← 페이지별 (Audience/Auth/States/Components/Microcopy/Responsive)
4. 04-WIREFRAME.html ← 단일 HTML, anchor 네비, 흑백 + 의미색만
5. 05-DEV-HANDOFF.md ← FR ↔ 화면 ↔ 컴포넌트 매핑
저장 위치: docs/prd/screens/<feature-name>/
무거운 산출물 분기: 04-WIREFRAME.html, 05-DEV-HANDOFF.md는 별도 subagent 컨텍스트에서 생성하여 메인 스레드 누적 컨텍스트를 절감한다.
생성 완료 후 frontend-developer 에이전트를 호출하여 자동 리뷰:
| 점검 항목 | 통과 기준 |
|---|---|
| 접근성 (a11y) | landmark, label, aria-* 누락 없음 |
| 반응형 | 모바일 분기점이 모든 페이지에 존재 |
| AI 냄새 | 클리셰 카피, 보랏빛 그라데이션 남발 없음 |
| 마이크로카피 | §5.4.1 체크된 상태마다 카피 존재 |
| 컴포넌트 명세 | 모든 폼 필드에 validation + microcopy |
결과 처리:
(선택) Vision 검증 — --verify-vision 플래그 또는 사용자 요청 시:
화면정의서 5종이 생성되었습니다: docs/prd/screens/<feature>/
산출물:
01-IA.md - 정보구조도 (페이지 ↔ 기능 매핑)
02-USER-FLOW.md - 사용자 플로우 (분기 조건 포함)
03-SCREEN-SPEC.md - 화면별 명세 (상태/컴포넌트/카피)
04-WIREFRAME.html - 클릭 가능한 HTML 와이어프레임 (흑백 + 의미색)
05-DEV-HANDOFF.md - 개발 인계 (FR ↔ 화면 매핑)
frontend-developer 리뷰: PASS
다음 단계
1. 와이어프레임 확인
open docs/prd/screens/<feature>/04-WIREFRAME.html
브라우저로 열어 현업 피드백 받기
2. 디테일 보강이 필요하면 (옵션)
/screen-spec <feature> --interview
화면 레이어 의사결정(네비/밀도/톤 등) Q&A 후 03-SCREEN-SPEC.md 재생성
3. 특정 페이지만 재생성 (옵션)
/screen-spec <feature> --pages=/submit
4. 구현 시작
/implement <feature>
Task Plan + Screen Spec을 같이 참조하여 구현
/implement와의 연동/implement 실행 시 다음 우선순위로 컨텍스트 로드:
1. docs/prd/PRD_<feature>.md (필수)
2. docs/todo_plan/PLAN_<feature>.md (필수)
3. docs/prd/screens/<feature>/ (있으면 강제 참조)
├── 03-SCREEN-SPEC.md → 컴포넌트 props/state 도출
├── 04-WIREFRAME.html → 레이아웃 마크업 재활용
└── 05-DEV-HANDOFF.md → FR ↔ 화면 매핑으로 task 분해
화면정의서가 있으면 /implement는 추측 대신 명세를 그대로 따른다.
prd-reviewer와의 연동prd-reviewer가 §5.4.1 / §5.5 누락을 critical로 막아주면, /screen-spec은 항상 안정된 입력을 받음.
/screen-spec <feature> (FE 4페이지) → §5.4 FE 페이지 감지 → 5종 산출물을 docs/prd/screens/<feature>/에 생성 → frontend-developer 리뷰(PASS/WARN) → 와이어프레임 확인 + /implement 안내.--interview → LOAD 직후 5~7개 질문 일괄 제시 → 번호 답변 → 03-SCREEN-SPEC.md에 반영./implement <feature>로 바로 진행하세요."/screen-spec을 실행하지 않는다/screen-spec 책임 밖. mockup 또는 /implement 직전 단계에서 수행/prd 완료 + PRD §5.4에 FE 페이지가 있으면 자동으로 /screen-spec 사용을 제안한다 (/prd Phase 7에서 처리).
npx claudepluginhub wigtn/wigtn-plugins --plugin wigtn-plugins/product-specCreates a structured product specification interactively. Asks about detail level and document decomposition, then produces product-spec.md, user journeys, wireframes, metrics, and clickable mockups.
/createuxprdGenerates UX PRD document from design docs, wireframes, Figma notes, or autonomously from PRD.md and codebase, saved to .spec_system/PRD/PRD_UX.md.
/shapeWireframes a UI screen by producing an ASCII layout, state list, content inventory, and clarifying questions before code is written. Enforces low-fidelity thinking to avoid generic AI UIs.
/uxGuides the full UX design workflow from research through handoff and QA. Also supports audit and smart router modes.
/f5-designGenerates structured design documents (architecture, database, API, screens) and specifications (SRS, use cases, business rules) into versioned .f5/specs/ paths. Also supports validation and export.
/show-me-the-prdTransforms a rough idea into four design documents (PRD, user flow, system design, UI spec) using a draft-first approach — asks only core questions, produces a draft immediately, then validates assumptions in batch.