/uxd-design:uxd-design-handofffrom uxd-design
Produces an implementation-ready design handoff spec from validated designs. Maps UI elements to design system components, enumerates all states, and generates testable acceptance criteria. Use when transitioning from design to development.
Ships in uxd-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produces a structured, implementation-ready handoff spec from a validated design. Works with prototypes, Figma exports, text descriptions, journey maps, or any design artifact. Maps every UI element to design system components, enumerates all visual and interaction states, and generates testable acceptance criteria traced back to design decisions.
This skill is standalone -- any team can use it without a broader workflow.
| Input | Required | Source |
|---|---|---|
| Design artifact (prototype files, Figma screenshots, text description) | Yes | User-provided or upstream skill output |
| Journey map or user flow | Optional | User-provided; scopes the spec to relevant screens and steps |
| Research findings or design rationale | Recommended | User-provided or linked document |
| Target design system | Optional | Auto-detected from project or user-specified |
| Responsive breakpoints | Optional | Defaults to standard breakpoints if not specified |
If no design artifact is provided, stop and ask the user to share one before proceeding.
The handoff spec is written to a local file (markdown by default, JSON when --format=json). It includes:
| Output | Description |
|---|---|
| Component Map | Every UI element mapped to a design system component with props/variants noted |
| State Matrix | All states per component/view: empty, loading, error, populated, partial, responsive |
| Interaction Specs | User flows, transitions, keyboard navigation, focus management |
| Acceptance Criteria | Testable AC for each component and state, traced to design decisions |
| Accessibility Notes | WCAG compliance, ARIA roles, keyboard support, screen reader expectations |
| Open Questions | Ambiguities or gaps that need design/product clarification |
$ARGUMENTS
Parse as: <design-input> [--design-system <name>] [--breakpoints <list>] [--format <markdown|json>]
| Flag | Default | Description |
|---|---|---|
--design-system | auto-detect | Target design system (e.g., patternfly, material, custom). Auto-detected from project dependencies when possible. |
--breakpoints | sm:576, md:768, lg:992, xl:1200, 2xl:1450 | Responsive breakpoints to enumerate. |
--format | markdown | Output format. json writes a structured object to a local file for programmatic consumption. |
Read the design artifact. Accepts prototype files, Figma screenshots, text descriptions, or any combination.
If no design input is present, ask:
What design should I create a handoff spec for? You can share:
- Prototype files or a path to a prototype directory
- Exported Figma screenshots
- A journey map or user flow for the design
- A text description of the design
- A link to design documentation
Do not proceed until a design artifact is available.
If a journey map or user flow is available, use it to keep the handoff scoped to the screens and steps that are actually relevant. Do not expand the spec to every screen in the design artifact unless those screens appear in the flow.
If research findings or design rationale are available (e.g., from a research study, design review, or decision log), read those too -- they inform traceability in the acceptance criteria.
Determine the target design system. Check in order: explicit --design-system flag, project dependencies in package.json (e.g., @patternfly/react-core, @mui/material), then fall back to generic component descriptions. Note the detected system in the output.
Walk through the design screen by screen. For each UI element, identify:
Toolbar with ToolbarFilter)variant="compact", isStriped)Continue to Step 4.
For each component and view identified in Step 3, enumerate these states:
| State | Description |
|---|---|
| Empty | No data available, first-time use, or cleared state |
| Loading | Data is being fetched or processed |
| Error | Request failed, validation failed, or system error |
| Populated | Normal state with data present |
| Partial | Some data loaded, some pending or unavailable |
| Responsive | Behavior at each breakpoint (stacking, hiding, collapsing) |
Not every state applies to every component. Skip states that are not relevant (e.g., a static heading does not have a loading state) and note why.
For responsive states, describe the behavior at each breakpoint rather than listing every combination.
Document:
Generate testable acceptance criteria for each component and state. Each AC must be:
Format:
AC-[N]: [Component] — [State/Behavior]
Given [precondition]
When [action]
Then [expected outcome]
Trace: [design decision, research finding, or "Design spec"]
When research findings or design rationale are available, reference them in the Trace field. When no rationale is documented, use "Design spec" as the trace source.
For each component, document applicable WCAG success criteria, required ARIA roles and attributes, expected keyboard interactions per WAI-ARIA Authoring Practices, and screen reader announcement expectations.
Compile the full handoff spec using this structure into a local file. Name the file after the feature or page (e.g. design-handoff-{slug}.md) and write it in the current workspace.
Note: If --format=json, write the same content as a structured JSON object to a local .json file instead of markdown.
# Design Handoff: [Feature/Page Name]
**Design system:** [detected or specified]
**Date:** [YYYY-MM-DD]
**Source:** [design artifact reference]
## Component Map
| # | Element | Component | Variants/Props | Notes |
|---|---------|-----------|----------------|-------|
| 1 | ... | ... | ... | ... |
## State Matrix
| Component | Empty | Loading | Error | Populated | Partial | Responsive |
|-----------|-------|---------|-------|-----------|---------|------------|
| ... | ... | ... | ... | ... | ... | ... |
## Interaction Specs
### User Flows
[step-by-step flows]
### Keyboard Navigation
[tab order, arrow keys, shortcuts]
### Focus Management
[focus movement rules]
## Acceptance Criteria
[AC-1 through AC-N in Given/When/Then format with traces]
## Accessibility
[Per-component WCAG, ARIA, keyboard, screen reader notes]
## Open Questions
[Ambiguities or gaps needing clarification]
Present the handoff spec to the user for review. Provide a link or directory path to any output files.
Here is the complete handoff spec: . Please review it with the development team. Let me know if any sections need revision or if there are open questions to resolve.
eval/cases/asks-for-design/annotations.yaml (opens in a new tab)eval/cases/asks-for-design/answers.yaml (opens in a new tab)eval/cases/asks-for-design/input.yaml (opens in a new tab)eval/cases/generates-acceptance-criteria/annotations.yaml (opens in a new tab)eval/cases/generates-acceptance-criteria/answers.yaml (opens in a new tab)eval/cases/generates-acceptance-criteria/fixture-design.md (opens in a new tab)eval/cases/generates-acceptance-criteria/input.yaml (opens in a new tab)eval/cases/prototype-input/annotations.yaml (opens in a new tab)eval/cases/prototype-input/answers.yaml (opens in a new tab)eval/cases/prototype-input/fixture-design.md (opens in a new tab)eval/cases/prototype-input/input.yaml (opens in a new tab)eval/cases/state-enumeration/annotations.yaml (opens in a new tab)eval/cases/state-enumeration/answers.yaml (opens in a new tab)eval/cases/state-enumeration/fixture-design.md (opens in a new tab)eval/cases/state-enumeration/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/uxd-canvas-createCreate or refine a canvas as local JSON Canvas, a Miro board, or both. Covers journey maps, service blueprints, architecture diagrams, user flows, affinity maps, mind maps, and Mermaid diagrams. Use when turning a brief, research, an existing canvas, or a Miro board into a spatial artifact./uxd-canvas-exportExport a canvas as a local HTML viewer, canvas.json, or Mermaid. Accepts a local canvas or a Miro board. Use when sharing a journey map locally, producing a static file, or preparing a canvas for publish. Does not update Miro./uxd-canvas-publishPublish an exported canvas to a git repository, GitHub Pages, GitLab Pages, or Vercel. Use when sharing a finished static copy for review or updating a hosted preview. Creating or updating a Miro board is uxd-canvas-create.npx claudepluginhub rh-uxd/ai-helpers --plugin uxd-designOther plugins' skills for the same job