design-handoff
作者: anthropic
從設計生成開發者交接規格。當設計準備好交付工程團隊,且需要一份涵蓋佈局、設計標記、元件等內容的規格表時使用。
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill design-handoff/design-handoff
If you see unfamiliar placeholders or need to check which tools are connected, see 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
- Don't assume — If it's not specified, the developer will guess. Specify everything.
- Use tokens, not values — Reference
spacing-mdnot16px. - Show all states — Default, hover, active, disabled, loading, error, empty.
- Describe the why — "This collapses on mobile because users primarily use one-handed" helps developers make good judgment calls.
Output
## 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
- Share the Figma link — I can pull exact measurements, tokens, and component info.
- Mention edge cases — "What happens with 100 items?" helps me spec boundary conditions.
- Specify the tech stack — "We use React + Tailwind" helps me give relevant implementation notes.
來自 anthropic 的更多技能
comps-analysis
anthropic
始終遵循此數據來源層級:
official
analyzing-financial-statements
anthropic
此技能從財務報表數據計算關鍵財務比率與指標,以進行投資分析。
official
applying-brand-guidelines
anthropic
此技能將一致的企業品牌與風格應用於所有生成的文檔,包括顏色、字體、版面設計及訊息傳遞。
official
cookbook-audit
anthropic
根據評分量表審核 Anthropic Cookbook 筆記本。每當要求進行筆記本審查或審核時使用。
official
creating-financial-models
anthropic
此技能提供一套進階財務建模工具,包含現金流折現分析、敏感度測試、蒙地卡羅模擬及情境規劃,適用於投資…
official
action-creator
anthropic
建立使用者專屬的一鍵動作模板,點擊後可在聊天介面中執行電子郵件操作。當使用者想要可重複使用的動作時使用…
official
docx
anthropic
全面的文件創建、編輯與分析,支援追蹤修訂、註解、格式保留及文字擷取。當Claude…
official
executive-briefing
anthropic
將研究發現轉化為可供高階主管使用的簡報。當使用者提及「executive」、「briefing」、「C-suite」、「board」等詞時自動啟用。
official