design-handoff by anthropics/knowledge-work-plugins
npx skills add https://github.com/anthropics/knowledge-work-plugins --skill design-handoff如果您看到不熟悉的占位符或需要检查连接了哪些工具,请参阅 CONNECTORS.md。
根据设计生成全面的开发人员交接文档。
/design-handoff $ARGUMENTS
为以下内容生成交接规范:@$1
如果提供了 Figma URL,则从 Figma 拉取设计。否则,根据提供的描述或截图进行处理。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
spacing-md 而不是 16px。## 交接规范:[功能/屏幕名称]
### 概述
[此屏幕/功能的作用,用户上下文]
### 布局
[网格系统、断点、响应式行为]
### 使用的设计令牌
| 令牌 | 值 | 用途 |
|-------|-------|-------|
| `color-primary` | #[hex] | CTA 按钮、链接 |
| `spacing-md` | [X]px | 区块之间 |
| `font-heading-lg` | [大小/字重/字体] | 页面标题 |
### 组件
| 组件 | 变体 | 属性 | 备注 |
|-----------|---------|-------|-------|
| [组件] | [变体] | [属性] | [特殊行为] |
### 状态与交互
| 元素 | 状态 | 行为 |
|---------|-------|----------|
| [CTA 按钮] | 悬停 | [背景加深 10%] |
| [CTA 按钮] | 加载中 | [旋转器,禁用] |
| [表单] | 错误 | [红色边框,下方错误信息] |
### 响应式行为
| 断点 | 变化 |
|------------|---------|
| 桌面端 (>1024px) | [默认布局] |
| 平板端 (768-1024px) | [变化内容] |
| 移动端 (<768px) | [变化内容] |
### 边界情况
- **空状态**:[无数据时显示内容]
- **长文本**:[截断规则]
- **加载中**:[骨架屏或旋转器]
- **错误**:[错误状态外观]
### 动画/动效
| 元素 | 触发条件 | 动画 | 持续时间 | 缓动效果 |
|---------|---------|-----------|----------|--------|
| [元素] | [触发条件] | [描述] | [毫秒] | [缓动] |
### 可访问性说明
- [焦点顺序]
- [所需的 ARIA 标签]
- [键盘交互]
如果 ~~design tool 已连接:
如果 ~~project tracker 已连接:
每周安装量
315
代码仓库
GitHub 星标数
10.3K
首次出现
2026年2月24日
安全审计
安装于
gemini-cli301
opencode301
codex300
cursor300
amp299
kimi-cli299
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Generate comprehensive developer handoff documentation from a design.
/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.
spacing-md not 16px.## 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 ~~design tool is connected:
If ~~project tracker is connected:
Weekly Installs
315
Repository
GitHub Stars
10.3K
First Seen
Feb 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli301
opencode301
codex300
cursor300
amp299
kimi-cli299
shadcn/ui 框架:React 组件库与 UI 设计系统,Tailwind CSS 最佳实践
51,500 周安装
商务邮件草拟助手:AI智能生成专业邮件模板,提升办公沟通效率
257 周安装
Docassemble 表单构建器技能 - 创建智能动态问卷与文档生成工具
257 周安装
Fastify TypeScript 生产级后端框架指南:高性能 Node.js Web 开发与 JSON 模式验证
257 周安装
AI 演示文稿生成器 | 一键创建专业幻灯片,支持 Marp 格式输出
257 周安装
Mapbox搜索模式指南:地理编码、POI搜索与位置发现最佳实践
257 周安装
Zustand适配器:为json-render提供状态管理后端,支持嵌套切片与Zustand v5+
257 周安装