Home
cd ../playbooks
Creative & DesignIntermediate

Design Handoff Generator

Generate comprehensive developer handoff documentation from design files

10 minutes
By AnthropicSource
#design-handoff#developer-docs#specifications#design-to-code

Your developer says 'the padding looks off' and you realize your handoff was a Figma link with no specs. They're guessing at spacing, breakpoints, and hover states — and the build looks nothing like your design.

Who it's for: UI designers handing work to developers, design leads standardizing handoff processes, product designers tired of implementation bugs, design system teams documenting components, agencies delivering to client dev teams

Example

"Generate handoff docs for this settings page redesign" → Structured spec with layout measurements, design tokens, component props, interaction states, responsive breakpoints, and accessibility notes — everything devs need without Slack back-and-forth

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# Design Handoff Generator

## Your Role
You are a design-to-development handoff assistant. You generate comprehensive developer handoff documentation from designs, covering layout specifications, design tokens, component props, interaction states, responsive breakpoints, edge cases, and animation details.

## 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 Format

```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]
```

## Tips

1. **Share the Figma link or screenshots** — More visual context means more accurate and complete specs.
2. **Mention edge cases** — "What happens with 100 items?" helps spec boundary conditions.
3. **Specify the tech stack** — "We use React + Tailwind" helps generate relevant implementation notes.
README.md

What This Does

Generates comprehensive developer handoff documentation from your design files. The assistant produces structured specs covering layout measurements, design tokens, component props, interaction states, responsive breakpoints, edge cases, animation details, and accessibility notes -- everything a developer needs to implement a design without guessing.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Set Up Your Project

Create a project folder and place the template inside:

mkdir -p ~/Projects/design-handoff
mv ~/Downloads/CLAUDE.md ~/Projects/design-handoff/

Add your design screenshots, Figma exports, or design spec images to the folder.

Step 3: Start Working

cd ~/Projects/design-handoff
claude

Say: "Generate handoff specs for this design"


What Gets Documented

The handoff spec covers six areas:

  • Visual Specifications -- Exact measurements, design token references, responsive breakpoints, component variants
  • Interaction Specifications -- Click/tap behavior, hover states, transitions, gesture support
  • Content Specifications -- Character limits, truncation behavior, empty/loading/error states
  • Edge Cases -- Min/max content, international text, slow connections, missing data
  • Accessibility -- Focus order, ARIA labels, keyboard interactions, screen reader announcements
  • Animation / Motion -- Element triggers, descriptions, durations, and easing functions

Tips

  • Use tokens, not raw values -- The assistant references design tokens like spacing-md instead of 16px, keeping specs aligned with your design system.
  • Specify the tech stack -- Mentioning "We use React + Tailwind" produces implementation-relevant notes alongside the specs.
  • Ask about edge cases -- Prompting "What happens with 100 items?" or "What about very long names?" generates boundary condition specs developers appreciate.
  • Describe the why -- Adding context like "This collapses on mobile because users primarily use one-handed" helps developers make good judgment calls.

Example Prompts

"Generate a handoff spec for this settings page design"
"Create developer documentation for this checkout flow"
"What are all the states and interactions for this form component?"
"Spec out the responsive behavior for this dashboard layout"
"Document the animation and transition details for this modal"

$Related Playbooks

Creative & Design

Design System Manager

Audit, document, or extend a design system with component guidelines and tokens

10 minutes
Advanced
Creative & Design

Diagram & Flowchart Creator

Create professional diagrams using Mermaid, PlantUML, and other text-based diagram tools. Generate flowcharts, sequence diagrams, architecture diagrams, and more.

10 minutes
Advanced
Creative & Design

HTML Presentation Builder

Build interactive HTML presentations with animations, code highlighting, and speaker notes using reveal.js.

10 minutes
Advanced
Creative & Design

HTML to PowerPoint Converter

Convert HTML/Markdown to PowerPoint presentations using Marp

10 minutes
Advanced
Creative & Design

AI Image Generation Prompts

Create effective AI image generation prompts for DALL-E, Midjourney, and Stable Diffusion. Generate prompts for various styles and use cases.

10 minutes
Intermediate
Creative & Design

Infographic Layout Designer

Design infographic layouts and content structure. Plan visual storytelling with data, icons, and text hierarchy for impactful information design.

10 minutes
Intermediate
Creative & Design

AI Image Enhancer — Upscale & Sharpen Photos with Claude Code

Upscale low-resolution images, sharpen blurry photos, and remove compression artifacts using Claude Code. Batch-process screenshots, product photos, and graphics for professional quality.

5 minutes
Beginner
Creative & Design

Markdown to Slides Converter

Convert Markdown files into professional presentations exportable to PDF, PPTX, or HTML using Marp.

10 minutes
Beginner
Creative & Design

PPT Creator

Create professional slide decks from topics or documents — structured content with data-driven charts, speaker notes, and complete PPTX files, applying the Pyramid Principle and assertion-evidence storytelling.

15 minutes
Intermediate
Creative & Design

Presentation Visual Designer

Design presentation visuals and slide layouts. Create visual concepts, suggest graphics, and provide design specifications for impactful PowerPoint slides.

10 minutes
Intermediate
Creative & Design

PowerPoint Manipulation Tool

Programmatically create and edit PowerPoint presentations with text, shapes, charts, and tables.

10 minutes
Advanced
Creative & Design

Scientific Docx

'Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like ta...

5 minutes
Beginner

Browse all Creative & Design playbooks →