| name | design-handoff-to-engineering |
| description | Use when handing design to engineering. Handoff includes: tokens, component specs, edge cases, asset exports.
|
Design Handoff to Engineering
Designer + engineer = same document. Figma links, tokens, components, edge cases. Avoid 'designer throws over the wall'.
Handoff document contents
- Figma file link with comment access
- Token values (color, type, spacing)
- Component specs (props, states, variants)
- Edge cases (empty, loading, error, success)
- Animation specs (duration, easing, sequence)
- Responsive breakpoints + behavior
- Asset exports (SVG, PNG, multiple resolutions)
- Accessibility notes (aria, focus order)
Component spec format
## Button
### Variants
- Primary, Secondary, Tertiary
### States
- Default, Hover, Active, Disabled, Loading
### Props
- variant: 'primary' | 'secondary' | 'tertiary'
- size: 'sm' | 'md' | 'lg'
- disabled: boolean
- loading: boolean
- onClick: () => void
### Tokens
- Padding: var(--spacing-2) var(--spacing-3)
- Color: var(--accent) (primary)
- Hover: translateY(-1px)
Handoff process
- Designer publishes Figma file with public link
- Designer writes spec doc in repo
- Engineer reads spec + asks questions in Figma comments
- Engineer implements
- Designer reviews PR (designer reviews CODE, not just rendered output)
- Iterate until shipped
Where this fits in the X3 empire
Used as standard practice for CardPrepAI design+engineering handoff (in our case, Claude + Joshua).