This skill translates PRDs into actionable UX specifications, detailing flows, screens, and interactions to guide implementation.
npx playbooks add skill abhsin/designskills --skill ux-specification
Turn product requirements into concrete flows, screens, and interactions that coding agents can implement.
Bridges the gap between product requirements and implementation by defining how the product looks and behaves.
This skill expects:
prd-generation or user-provided)Extract from the PRD:
For each core user story, define the flow:
Questions to answer:
For each screen in the flows:
For key interactions:
Ask targeted questions if needed:
Automatically save the output to design/06-ux-spec.md using the Write tool while presenting it to the user.
# UX Spec: [Project Name]
## Overview
[Brief summary of the product and primary user goal]
---
## Information Architecture
### Navigation Structure
[App Name]
├── [Primary Nav Item 1]
│ ├── [Sub-item]
│ └── [Sub-item]
├── [Primary Nav Item 2]
└── [Primary Nav Item 3]
### Key User Paths
1. **[Path Name]:** [Start] → [Step] → [Step] → [End]
2. **[Path Name]:** [Start] → [Step] → [End]
---
## User Flows
### Flow 1: [Flow Name]
**Trigger:** [What initiates this flow]
**User goal:** [What they're trying to accomplish]
[Start State]
↓
[Action/Decision]
↓
[Screen/State] ──→ [Alternative path if applicable]
↓
[End State]
**Steps:**
1. User [action]
2. System [response]
3. User [action]
4. System [response]
5. User reaches [end state]
**Error paths:**
- If [condition]: [what happens]
- If [condition]: [what happens]
### Flow 2: [Flow Name]
[Same structure]
---
## Screens
### Screen: [Screen Name]
**URL/Route:** `/path`
**Purpose:** [What the user accomplishes here]
**Entry points:** [How users get here]
#### Layout
┌─────────────────────────────────┐
│ [Header/Nav] │
├─────────────────────────────────┤
│ │
│ [Main Content Area] │
│ │
│ [Component] [Component] │
│ │
├─────────────────────────────────┤
│ [Footer/Actions] │
└─────────────────────────────────┘
#### Components
| Component | Description | Behavior |
|-----------|-------------|----------|
| [Name] | [What it displays] | [How it behaves] |
| [Name] | [What it displays] | [How it behaves] |
#### States
| State | Appearance | Trigger |
|-------|------------|---------|
| Default | [Description] | Initial load |
| Loading | [Description] | Data fetching |
| Empty | [Description] | No data exists |
| Error | [Description] | Request failed |
| Success | [Description] | Action completed |
#### Actions
| Action | Trigger | Result |
|--------|---------|--------|
| [Action] | [Click/tap/etc.] | [What happens] |
| [Action] | [Trigger] | [Result] |
### Screen: [Screen Name]
[Same structure]
---
## Components
### Component: [Component Name]
**Used in:** [List of screens]
**Purpose:** [What it does]
#### Props/Inputs
| Prop | Type | Description |
|------|------|-------------|
| [name] | [type] | [what it controls] |
#### Variants
- **[Variant 1]:** [Description]
- **[Variant 2]:** [Description]
#### States
- Default: [Description]
- Hover: [Description]
- Active: [Description]
- Disabled: [Description]
### Component: [Component Name]
[Same structure]
---
## Interactions
### Interaction: [Name]
**Trigger:** [User action]
**Response:** [System behavior]
**Duration:** [Instant / 200ms / async]
**Feedback:** [What user sees/feels]
### Interaction: [Name]
[Same structure]
---
## Responsive Behavior
**Breakpoints:**
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
**Key adaptations:**
- [Component/layout]: [How it changes]
- [Component/layout]: [How it changes]
---
## Design Notes
[Optional — any specific visual direction, references, or constraints]
- **Style:** [Minimal / Dense / Playful / etc.]
- **Reference:** [Any inspiration or similar products]
- **Constraints:** [Accessibility, brand, etc.]
Simple project (1-3 screens):
Medium project (4-8 screens):
Complex project (10+ screens):
After presenting the UX spec, ask:
> "Ready to generate prompts.md with /prompt-export, or want to refine any screens first?"
Note: File is automatically saved to design/06-ux-spec.md. This feeds into development prompts.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.