Skip to main content
skill CX Codex official · Anthropic

design-handoff — Claude Code skill: dev specs from a design

Turns a Figma file or a written design description into a developer handoff spec: measurements, tokens, states, breakpoints, edge cases.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/knowledge-work-plugins --skill design-handoff -a claude-code
Open on GitHub

What design-handoff does

The design-handoff skill writes the document engineers get when a design is ready to build. Give it a Figma link and it pulls the file; give it a description or screenshot and it works from that instead.

The spec covers exact padding, margins and widths, token references rather than raw values, component variants and states, click and hover behaviour, animation duration and easing, gesture support. Content rules are in there too: character limits, truncation, empty, loading and error states. So is accessibility — focus order, ARIA labels and roles, keyboard interactions.

The skill needs an argument: a Figma URL or a design description. With nothing to point at, there is nothing to spec. Connect a project tracker and it links the handoff to the implementation ticket and splits the spec into sub-tasks. Naming your stack up front gets you implementation notes that match your code.

What it helps with

  • write a dev handoff spec from a finished design
  • reference design tokens instead of hardcoded pixel values
  • document every component state: hover, active, disabled, loading, error
  • spell out behaviour at desktop, tablet and mobile breakpoints
  • cover edge cases: empty list, long strings, slow connection

Example prompts for the agent

  • Generate a handoff spec for the checkout screen from this Figma link
  • Spec the payment button states and what the form does on error
  • Write the spec for the product card, we use React and Tailwind

How to install design-handoff

1Skills CLI (Vercel)

npx skills add anthropics/knowledge-work-plugins --skill design-handoff -a claude-code

2Manually: put the files in place

~/.claude/skills/design-handoff/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/design-handoff/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about design-handoff

How do I install design-handoff in Claude Code?

Run npx skills add anthropics/knowledge-work-plugins --skill design-handoff -a claude-code. The skill file lands at ~/.claude/skills/design-handoff/SKILL.md.

What does design-handoff do?

It produces developer handoff documentation from a design: measurements, tokens, component variants, interaction states, responsive breakpoints, animation details and edge cases.

What input does the skill need?

A Figma URL or a design description. Without a link it works from the description or screenshot, so the details have to come as text.

Source text

SKILL.md · Apache-2.0
---
name: design-handoff
description: Generate developer handoff specs from a design. Use when a design is ready for engineering and needs a spec sheet covering layout, design tokens, component props, interaction states, responsive breakpoints, edge cases, and animation details.
argument-hint: "<Figma URL or design description>"
---

# /design-handoff

> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).

Generate comprehensive developer handoff documentation from a design.

## Usage

```
/design-handoff $ARGUMENTS
```

Generate handoff specs for: @$1

If a Figma URL is provided, pull the design from Figma. Otherwise, work from the provided description or screenshot.

## What to Include

### Visual Specifications
- Exact measurements (padding, margins, widths)
- Design token references (colors, typography, spacing)
- Responsive breakpoints and behavior
- Component variants and states

### Interaction Specifications
- Click/tap behavior
- Hover states
- Transitions and animations (duration, easing)
- Gesture support (swipe, pinch, long-press)

### Content Specifications
- Character limits
- Truncation behavior
- Empty states
- Loading states
- Error states

### Edge Cases
- Minimum/maximum content
- International text (longer strings)
- Slow connections
- Missing data

### Accessibility
- Focus order
- ARIA labels and roles
- Keyboard interactions
- Screen reader announcements

## Principles

1. **Don't assume** — If it's not specified, the developer will guess. Specify everything.
2. **Use tokens, not values** — Reference `spacing-md` not `16px`.
3. **Show all states** — Default, hover, active, disabled, loading, error, empty.
4. **Describe the why** — "This collapses on mobile because users primarily use one-handed" helps developers make good judgment calls.

## Output

```markdown
## Handoff Spec: [Feature/Screen Name]

### Overview
[What this screen/feature does, user context]

### Layout
[Grid system, breakpoints, responsive behavior]

### Design Tokens Used
| Token | Value | Usage |
|-------|-------|-------|
| `color-primary` | #[hex] | CTA buttons, links |
| `spacing-md` | [X]px | Between sections |
| `font-heading-lg` | [size/weight/family] | Page title |

### Components
| Component | Variant | Props | Notes |
|-----------|---------|-------|-------|
| [Component] | [Variant] | [Props] | [Special behavior] |

### States and Interactions
| Element | State | Behavior |
|---------|-------|----------|
| [CTA Button] | Hover | [Background darken 10%] |
| [CTA Button] | Loading | [Spinner, disabled] |
| [Form] | Error | [Red border, error message below] |

### Responsive Behavior
| Breakpoint | Changes |
|------------|---------|
| Desktop (>1024px) | [Default layout] |
| Tablet (768-1024px) | [What changes] |
| Mobile (<768px) | [What changes] |

### Edge Cases
- **Empty state**: [What to show when no data]
- **Long text**: [Truncation rules]
- **Loading**: [Skeleton or spinner]
- **Error**: [Error state appearance]

### Animation / Motion
| Element | Trigger | Animation | Duration | Easing |
|---------|---------|-----------|----------|--------|
| [Element] | [Trigger] | [Description] | [ms] | [easing] |

### Accessibility Notes
- [Focus order]
- [ARIA labels needed]
- [Keyboard interactions]
```

## If Connectors Available

If **~~design tool** is connected:
- Pull exact measurements, tokens, and component specs from Figma
- Export assets and generate a complete spec sheet

If **~~project tracker** is connected:
- Link the handoff to the implementation ticket
- Create sub-tasks for each section of the spec

## Tips

1. **Share the Figma link** — I can pull exact measurements, tokens, and component info.
2. **Mention edge cases** — "What happens with 100 items?" helps me spec boundary conditions.
3. **Specify the tech stack** — "We use React + Tailwind" helps me give relevant implementation notes.

© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins

Similar skills

Everything for Design →

From the same set159

The whole set →
validate-data Runs QA checks on data reports, SQL queries, and charts before stakeholder review. Catches calculation bugs, flawed logic, and analytical bias. CX Codex +1 3,700installs seo-audit This skill audits a site’s search visibility, pages, technical signals, and competitor content. Use it to identify SEO work and sort findings into priorities. CX Codex +1 3,700installs brand-voice-enforcement This skill automatically applies your brand guidelines to any content: emails, posts, proposals. It loads your rules, adapts tone to the audience, and explains how each brand choice works. CX Codex +1 3,600installs reconciliation Compares GL balances with subledgers, bank statements, or third-party data. Useful for finding and classifying reconciliation differences. CX Codex +1 3,500installs write-spec Turns vague ideas, feature requests, or problem statements into structured PRDs with goals, non-goals, and prioritized requirements. CX Codex +1 3,600installs account-research Researches target prospect companies, checks fit against your ICP, and cross-references CRM records before outreach. CX Codex +1 3,400installs legal-response This skill drafts replies to common legal inquiries from configured templates and checks when a matter needs counsel. Use it for DSRs, NDAs, vendor questions, and subpoenas. CX Codex +1 3,400installs compliance-check Skill surfaces applicable regulations, required approvals, and risk areas for any action, product feature, or business initiative. Use before launching anything that touches personal data or has cross-border implications. CX Codex +1 3,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor