원클릭으로
ui-spec-prd
UI spec and PRD: product type, sector, key components, palette, anti-patterns; plan before building; design_system.py --persist.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
UI spec and PRD: product type, sector, key components, palette, anti-patterns; plan before building; design_system.py --persist.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generates complete brand identity systems with color psychology, typography pairings, and visual identity rules mapped to Universal Design System palettes. Use when the user asks for brand identity, brand design, brand colors, style guide, or visual identity.
Component documentation and Storybook: stories, MDX, props tables, usage guidelines from UDS component specs.
Audits existing UIs for WCAG accessibility, color contrast, typography hierarchy, spacing consistency, and industry anti-patterns. Generates scored reports with actionable fixes. Use when the user asks for design audit, UI audit, accessibility audit, or design review.
Design system governance and scaling: centralized vs federated, lifecycle, contribution model, multi-team adoption.
Figma to code handoff using UDS tokens. Align Figma variables with design-tokens.json, naming conventions, Dev Mode, and token sync.
Internationalization and right-to-left layout using UDS localization data. Logical CSS properties, dir="rtl", text expansion, and RTL mapper for existing CSS.
| name | ui-spec-prd |
| description | UI spec and PRD: product type, sector, key components, palette, anti-patterns; plan before building; design_system.py --persist. |
Use this skill when the user wants to plan, spec, or write requirements before building a UI. Output a short UI spec or PRD aligned with the Universal Design System: product type, sector, recommended palette, key components, and anti-patterns to avoid. Optionally generate a persisted design system (MASTER.md and page files) so the MAIN skill or follow-up builds have a single reference.
A minimal UI spec / PRD that includes:
src/data/anti-patterns.csv or MCP get_anti_patterns if available.Keep the spec short (one page or a few bullets). The goal is to give the MAIN skill (or a developer) a clear target so generated UIs are consistent and on-brand.
So that an AI or developer can "read the spec" when building specific pages:
# Generate and persist a design system (creates design-system/MASTER.md)
python src/scripts/design_system.py "saas landing" --persist
# Persist with a specific page (creates design-system/pages/dashboard.md)
python src/scripts/design_system.py "saas dashboard" --persist --page dashboard
From the CLI: uds generate "saas landing" --persist or uds generate "saas dashboard" --persist --page dashboard. Run uds generate --help for options (e.g. --format box, --framework react).
design_system.py --persist so that when the user (or MAIN skill) builds pages later, they can read MASTER.md and pages/*.md for consistency.If the user first asks for a spec and then says "now build the landing page," use the persisted MASTER (and any page file) as context when generating the implementation.
| Goal | Action |
|---|---|
| Write UI spec / PRD | Output product type, sector, palette, key components, anti-patterns (and optionally typography/pattern). |
| Persist for later | python src/scripts/design_system.py "<query>" --persist [--page <name>] or uds generate "<query>" --persist [--page <name>]. |
| Search for context | python src/scripts/search.py "<query>" or MCP search_design_system to pull products, components, anti-patterns. |
| One-shot summary | python src/scripts/design_system.py "<query>" --format box for a compact ASCII summary (pattern, palette, components, typography, avoid, checklist). |
Use design_system.py and search (or MCP) so the spec is grounded in UDS data, not invented from scratch.