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.

Or install from your terminal:
npx ccplaybooks add design-handoff-generator
# 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

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

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

Excalidraw Diagram Generator

Generate Excalidraw diagrams directly from text in three formats — Obsidian-ready .md, standalone .excalidraw for excalidraw.com, and an animated .excalidraw with per-element playback order — with the exact JSON element schema (including the undocumented fields that break excalidraw.com if included), a font-size floor, and a full color palette with contrast rules.

5 minutes
Intermediate
Creative & Design

Firecrawl Design System Extractor (DESIGN.md)

Extract a reference website's design system into a DESIGN.md with tokens, layout, components, and imagery, with source evidence for each value

10 minutes
Intermediate
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

Structured Design Critique System

A persistent, multi-round design critique pipeline: scope which of 19 design areas your project actually needs, generate real HTML wireframe options for each, collect Keep/Cut feedback, and let locked decisions constrain everything downstream.

15 minutes
Advanced
Creative & Design

Theme Factory

Apply professional themes to presentations, documents, and landing pages with 10 pre-set themes plus custom theme generation.

5 minutes
Beginner
Creative & Design

UX Copy Audit & Refactoring System

Turn a CLAUDE.md style guide into an enforced standard across an entire product's content — bulk audits, diff-reviewed refactoring, and zero-risk read-only consistency reports across hundreds of files at once.

15 minutes
Intermediate

Browse all Creative & Design playbooks →