kwakseongjae/oh-my-design / skills/omd-designer-review
omd-designer-review
Verified시각 + 브랜드 일관성 리뷰. HTML/MD/JSX artifact를 받아 brand DESIGN.md 대비 typo hierarchy, 색 budget, radius scale, 컴포넌트 state, 모바일 반응형 검수. severity BLOCK/WARN/FYI + line ref 출력. 'UI 리뷰', '디자인 검토', 'DESIGN.md 대비 검수' 류 트리거.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.3 KB |
SKILL.md
View on GitHub---
name: omd-designer-review
description: "시각 + 브랜드 일관성 리뷰. HTML/MD/JSX artifact를 받아 brand DESIGN.md 대비 typo hierarchy, 색 budget, radius scale, 컴포넌트 state, 모바일 반응형 검수. severity BLOCK/WARN/FYI + line ref 출력. 'UI 리뷰', '디자인 검토', 'DESIGN.md 대비 검수' 류 트리거."
user-invocable: true
metadata:
internal: true
---
# omd:designer-review
artifact를 받아 brand의 DESIGN.md 기준으로 visual / brand consistency를 audit한다. **read-write가 아니라 advisory** — 직접 수정하지 않고 review report만 emit.
구조는 [`mastepanoski/claude-skills` ui-design-review](https://agentskills.so/skills/mastepanoski-claude-skills-ui-design-review)에서 차용.
## 0. 필수 입력
- `artifact_path`: HTML, MD, JSX, TSX 중 하나
- `design_md_path`: 해당 브랜드의 `references/<id>/DESIGN.md` 또는 프로젝트 루트 `DESIGN.md`
- (선택) `viewport`: `mobile` | `desktop` | `both` (default: both)
이 두 입력이 없으면 BLOCK으로 즉시 종료.
## 1. Audit 카테고리 (8)
### 1.1 Typography hierarchy
- DESIGN.md `§ Typography` 스펙 read
- artifact 내 h1/h2/h3/p의 size, weight, line-height 추출
- 일치 여부 검사
- 빈 h-level skip (h1 → h3) → WARN
- 본문 weight가 400/500이 아닌 700 fall-through → WARN
### 1.2 Color budget (Toss "2 saturated brand elements / viewport" rule)
DESIGN.md `§ Color`의 brand saturated tokens 추출.
- viewport당 brand saturated 사용 횟수 카운트
- > 2 → WARN (Toss principle 위반)
- > 4 → BLOCK
- DESIGN.md에 없는 hex 직접 사용 → WARN
- 회색 대신 saturated 사용 (예: warning이 아닌 컨테이너에 red-500) → WARN
### 1.3 Radius scale
- DESIGN.md `§ Radius` 토큰 read (예: 0, 4, 8, 12, 16, 9999)
- artifact 내 `border-radius` 추출
- 토큰에 없는 값 → WARN
- 한 컴포넌트 안에서 radius 혼용 (8 + 12) → FYI
### 1.4 Component states
각 interactive 요소가 다음 state를 갖춰야:
- default ✓
- hover ✓
- focus (focus-visible OK) ✓
- active ✓
- disabled ✓
누락 → BLOCK (focus는 a11y 필수)
### 1.5 Mobile responsiveness
- viewport=both인 경우 mobile에서 검사
- 최소 hit area 44x44 (iOS HIG) → BLOCK 미달
- 가로 스크롤 발생 → BLOCK
- 텍스트 14px 미만 → WARN
### 1.6 Spacing / layout
- DESIGN.md `§ Spacing` 토큰
- 토큰 외 값 (예: `padding: 13px`) → WARN
- 인접 요소 간 일관성 (한 카드 안에서 padding-x가 16 vs 20 혼재) → WARN
### 1.7 Text contrast (측정값으로만 — 눈대중 금지)
T3-3 레인 A에서 두 평가자가 합의한 결함 19건 중 11건이 CONTRAST였다. 브랜드 액센트 위 흰 글자,
사진·그라데이션 위 헤드라인, 회색 메타 텍스트가 반복 원인이다. 이 카테고리는 **추정하지 않는다** —
숫자를 내고, 그 숫자를 이슈 본문에 적는다.
- 렌더된 페이지가 있으면 `omd check contrast <page.html>`(레포에서는 `node test-v2/tools/text-contrast.mjs`)를
돌려 그 출력을 근거로 삼는다. 이 도구는 **명목 색(computed color) 대 실제 배경 픽셀**로 재고,
안티앨리어싱된 글리프 가장자리 픽셀로 평균을 내지 않는다.
- 본문 텍스트 < 4.5:1 → BLOCK · 대형 텍스트(≥24px 또는 ≥19px bold)·필수 UI 경계·아이콘 < 3:1 → BLOCK
- 포커스 링은 인접 배경 대비 < 3:1 → BLOCK (링 색은 최대 채도 지점으로 잰다 — halo를 링으로 착각하지 않는다)
- 사진·영상·그라데이션 위 텍스트에 스크림/솔리드 받침이 없으면, 측정값이 통과해도 WARN
(배경 이미지가 바뀌면 곧바로 깨진다).
- 도구를 돌릴 수 없으면(렌더 없음·브라우저 없음) 그 사실을 WARN으로 적는다 — **통과로 적지 않는다.**
### 1.8 Overlay occlusion (첫 페인트 기준)
- 첫 페인트에 뜨는 오버레이(쿠키 배너·시트·모달·스티키 프로모)가 H1·히어로 피사체·주 CTA를
가리면 → BLOCK. 모바일 뷰포트에서 특히 본다(데스크톱은 멀쩡한데 390px에서만 덮는 사례가 흔하다).
- 히어로 이미지 크롭이 모바일에서 주 피사체를 잘라 브리프가 요구한 정보를 못 보여 주면 → BLOCK.
- 오버레이가 하단 얇은 바이거나 스크롤 후 등장이면 통과.
## 2. Severity 정의
| Severity | 의미 | 후속 조치 |
|---|---|---|
| **BLOCK** | a11y 또는 hard rule 위반. 출간 불가. | writer로 revision round 1 |
| **WARN** | best practice 위반. 출간 가능하나 권장 수정. | writer가 판단 후 fix |
| **FYI** | 정보성. 의도일 수 있음. | 무시 가능 |
## 3. 출력 형식
`<work_dir>/.reviews/designer-review-round-<N>.md`:
```markdown
# Designer review — round <N>
**Date:** <ISO>
**Artifact:** <path>
**DESIGN.md:** <path>
**Viewport:** mobile | desktop | both
## Summary
- BLOCK: <count>
- WARN: <count>
- FYI: <count>
## Issues
### [BLOCK] Focus state missing on primary CTA
- **Location:** `components/SignupForm.tsx:42`
- **Rule:** § Component states — focus is mandatory
- **Evidence:** `<button className="bg-blue-500 hover:bg-blue-600">` — focus 클래스 없음
- **Fix suggestion:** add `focus-visible:ring-2 focus-visible:ring-blue-300`
### [WARN] Color budget exceeded on mobile hero
- **Location:** `index.ko.md:34-41`
- **Rule:** § Color budget — max 2 saturated / viewport
- **Evidence:** 3 saturated brand 사용 (red-500, blue-500, green-500)
- **Fix suggestion:** green-500을 gray-700 또는 텍스트로 대체
...
## Verdict
- **PASS** (BLOCK=0, WARN≤3) — 출간 OK
- **REVISION** (BLOCK=0, WARN>3) — 권장 수정 후 재리뷰 옵션
- **BLOCK** (BLOCK≥1) — 출간 불가, writer revision round 시작
```
## 4. 시각 검수 (optional)
artifact가 HTML/JSX이고 browser-harness가 가용하면 mobile 320px + desktop 1280px 스크린샷을 캡쳐해 `.reviews/screenshots/`에 저장. 텍스트 audit과 함께 첨부.
## 5. DESIGN.md 강제 재독
**Anti-pattern**: 이전 review에서 읽은 DESIGN.md를 캐싱해 재사용 → memory hallucination 위험.
→ 매 호출마다 DESIGN.md를 **다시 read**. 읽은 timestamp를 report 헤더에 명시.
## 6. Anti-patterns
- ❌ "looks good" rubber-stamp (final-qa 동일 룰. designer-review도 "전반적으로 괜찮음" 식 응답 금지)
- ❌ DESIGN.md 안 읽고 일반 best practice로 평가
- ❌ severity inflation (모든 걸 BLOCK)
- ❌ severity deflation (BLOCK 사안을 FYI로)
- ❌ Fix suggestion 없는 issue (반드시 actionable)
- ❌ Line ref 없는 issue (`somewhere in the file` 금지)
## 7. 1회 revision 후 재호출 시
input에 `prior_report_path` 포함되면:
- 이전 BLOCK/WARN 항목을 list로 추출
- artifact 재read
- 항목별로 RESOLVED / UNRESOLVED / NEW로 표시
Round 2에도 UNRESOLVED BLOCK 있으면 orchestrator로 BLOCK escalation.
## 8. 취향 캡처 — review → taste loop (최종 phase)
review report를 emit한 **후에** 이번 run의 finding들을 한 번 스캔해, 반복 패턴을 취향 후보로 제안한다. report 자체는 advisory 그대로 — 이 phase가 유일하게 쓰기를 일으킬 수 있는 지점이고, 그것도 **사용자가 동의한 경우에만**.
### 후보 조건 (둘 중 하나)
1. **같은 axis ≥2회** — 이번 run의 finding을 axis로 분류(radius / color / spacing / typo / voice)했을 때 같은 axis가 2회 이상 등장
2. **기존 pending preference와 매칭** — `.omd/preferences.md`가 존재하면 read해서, finding이 `status: pending` 엔트리의 scope와 같은 축이면 1회여도 후보 (반복의 증거가 이미 파일에 있으므로)
`.omd/preferences.md`가 없으면 조건 2는 생략 — 파일을 만들지 않는다.
### 제안 (run당 질문 1개 max)
후보가 1개 이상이면 **단 한 번** 묻는다: "이 패턴, 취향으로 기록할까요?"
- **Claude Code**: AskUserQuestion — 후보가 여러 개면 multiSelect 옵션으로 묶어서 한 질문에 (후보당 한 줄: axis + 발생 횟수 + 요약)
- **다른 채널 (Codex / OpenCode)**: 같은 내용을 산문 질문 하나로
### 동의 시 기록
선택된 후보는 **omd:remember 스킬의 기록 절차를 그대로 수행**해 기록한다 — 포맷을 손으로 흉내 내 직접 append하지 말 것 (writer는 omd:remember 하나; id 생성·scope 매핑·frontmatter 생성·heading 규칙 전부 그 절차를 따른다):
- `signal: review` / `confidence: inferred` / `status: pending`
- `source_context`: 이번 review report 경로 (예: `.reviews/designer-review-round-1.md`)
### 금지
- **자동 기록 금지** — 질문 없이 append 절대 불가 (omd:remember의 "묻지 말고 기록" 룰은 사용자 발화용 — review 추론에는 적용되지 않는다)
- **자동 fold 금지** — `status: pending`으로만 기록. DESIGN.md 반영은 평소의 fold-in 임계/게이트(omd:learn)가 결정
- run당 질문 2개 이상 금지 — 후보가 많아도 multiSelect 하나로 배칭
- 거절된 후보를 같은 세션에서 재제안 금지
> **수동 검증**: 같은 artifact에서 radius WARN 2건이 나오는 review를 돌리면, report 출력 후 "이 패턴, 취향으로 기록할까요?" 질문이 정확히 1회 뜨고, 동의 시 `.omd/preferences.md`에 `signal: review` / `confidence: inferred` / `status: pending` 엔트리 1개가 append되어야 한다 (DESIGN.md는 변경 없음).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |