agentsclimarketplace

Design handoff spec

Skill LuckyOneTwoThree/pm-skill/pm-03-design/skills/design-handoff-spec

102 AI Agent Skills for the full product lifecycle. Compatible with Trae / Claude Code. 9 modules from discovery to launch to growth. | 102 个覆盖产品全生命周期的 AI Agent Skills,兼容 Trae / Claude Code,9 大模块从探索发现到上线增长。

Install
npx -y skills add LuckyOneTwoThree/pm-skill --skill design-handoff-spec

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

当设计阶段完成需要交付给开发团队时使用。开发交接摘要自动生成,整合页面清单、路由结构、功能需求和待确认项,产出面向开发的交接文档。关键词:设计交接、设计交付、Handoff、开发对接、交付文档。

SKILL.md

9.5 KB, ~3.1k tokens by cl100k_base, as published. Nobody here has run it

开发交接摘要自动生成

核心原则

  1. PM 定义产品需求,UI 决定实现方式——交接文档只传递产品需求,不定义令牌值/组件规格/动画参数/响应式断点
  2. 引用而非内联——UI 实现细节(令牌/组件/交互/响应式)由 UI Skill 产出,交接文档引用其输出路径
  3. 完整性校验——每个页面、每个功能区域都必须覆盖
  4. 可追溯——需求来源有依据,变更可追踪

交互模式

🤖→👤 AI建议人类审批

输入

输入项类型必填来源说明
IA信息架构JSONoutput/pm-design/design-ia/ia_proposals.json页面路由和导航需求
PRD文档Markdownoutput/pm-design/design-prd/prd.md产品需求参考
PRD结构化数据JSONoutput/pm-design/design-prd/prd.jsonPRD机器可消费版本,供交接文档对齐
交互规范Markdownoutput/pm-design/interaction-spec/interaction-spec.md交互意图和无障碍要求

执行步骤

Step 1: 页面清单与路由映射

基于 IA 和 PRD,生成完整的页面清单:

页面清单

页面名称路由层级功能区域状态
首页/L1轮播/推荐列表/搜索入口已定义
商品详情/product/:idL2商品图/规格选择/评价已定义
购物车/cartL2商品列表/总价/结算已定义
结算页/checkoutL3收货地址/支付方式/确认待定义

路由结构(来自 ia_proposals.json 的 routes):

/                    → 首页
/product/:id         → 商品详情
/cart                → 购物车
/checkout            → 结算页
/checkout/success    → 支付成功
/profile             → 个人中心

Step 2: 功能需求摘要

基于 PRD,提取每个页面的功能需求:

页面功能需求交互意图异常场景
首页展示推荐内容、搜索入口下拉刷新需有反馈网络错误/空推荐
商品详情展示商品信息、加入购物车加入购物车需有确认反馈商品下架/库存不足
购物车管理购物车商品删除需确认/数量调整即时生效空购物车/价格变动
结算页填写收货信息、选择支付表单验证需实时反馈地址无效/支付失败

Step 3: UI 产出引用

引用 UI Skill 的产出路径,不内联定义 UI 实现细节:

UI 产出来源路径说明
设计令牌output/ui-project-init/project-init.json → tokens颜色/字体/间距/阴影/圆角
组件库output/ui-project-init/project-init.json → component_library可复用组件清单和主题定制
视觉方向output/ui-project-init/project-init.json → visual_direction美学方向/色彩策略/视觉禁忌
页面组件output/ui-frontend/page-builder/页面组件代码和交互实现
交互实现ext-interaction-design 产出动画令牌/交互模式/无障碍适配
响应式适配page-builder 产出响应式断点和适配方案

注:以上路径为 UI Skill 执行后的产出位置。若 UI Skill 尚未执行,标注"待 UI Skill 产出"。

Step 4: 待确认项与开放问题

待确认项

编号问题影响范围负责人状态
Q1首页推荐算法是否需要个性化首页数据层后端待确认
Q2购物车商品数量上限购物车交互PM待确认

开放问题

编号问题影响范围状态
O1是否需要离线模式全局交互Open

Step 5: 文档组装

交接文档结构

# {产品名}开发交接摘要

## 1. 概述
### 1.1 项目信息
### 1.2 产出文件索引

## 2. 页面清单与路由
### 2.1 路由结构
### 2.2 页面清单

## 3. 功能需求摘要
### 3.1 逐页面功能需求
### 3.2 交互意图
### 3.3 异常场景

## 4. UI 产出引用
### 4.1 设计令牌引用
### 4.2 组件库引用
### 4.3 视觉方向引用
### 4.4 交互实现引用
### 4.5 响应式适配引用

## 5. 待确认项
## 6. 开放问题

## 附录
- 变更记录

输出

存储路径output/pm-design/design-handoff-spec/

输出文件

文件格式说明
design-handoff-spec.mdMarkdown完整开发交接摘要
design-handoff-spec.jsonJSON结构化数据

design-handoff-spec.json 结构

{
  "project_info": {
    "product": "产品名",
    "version": "1.0"
  },
  "pages": [
    {
      "name": "页面名",
      "route": "/path",
      "level": "L1/L2/L3",
      "functional_areas": [],
      "status": "已定义/待定义"
    }
  ],
  "routes": [],
  "functional_requirements": [
    {
      "page": "页面名",
      "requirements": [],
      "interaction_intents": [],
      "error_scenarios": []
    }
  ],
  "ui_output_references": {
    "design_tokens": "output/ui-project-init/project-init.json → tokens",
    "component_library": "output/ui-project-init/project-init.json → component_library",
    "visual_direction": "output/ui-project-init/project-init.json → visual_direction",
    "page_components": "output/ui-frontend/page-builder/",
    "interaction_implementation": "ext-interaction-design 产出",
    "responsive_adaptation": "page-builder 产出"
  },
  "open_questions": []
}

输出校验规则:详见下方输出校验规则章节

输出校验规则

字段路径类型必填说明
project_info.productstring产品名称
project_info.versionstring文档版本号
pagesarray页面清单,不可为空
pages[].namestring页面名称
pages[].routestring页面路由
pages[].levelstring页面层级(L1/L2/L3)
pages[].functional_areasarray功能区域列表
pages[].statusstring定义状态
routesarray路由结构
functional_requirementsarray功能需求摘要
functional_requirements[].pagestring页面名称
functional_requirements[].requirementsarray功能需求列表
functional_requirements[].interaction_intentsarray交互意图列表
functional_requirements[].error_scenariosarray异常场景列表
ui_output_referencesobjectUI 产出引用
open_questionsarray待确认项

决策规则

条件决策
IA缺失页面清单基于PRD推导,标注"缺乏IA验证"
PRD缺失功能需求基于IA和用户描述推导,标注"缺乏PRD验证"
交互规范缺失交互意图基于PRD推导,标注"缺乏交互规范验证"
UI Skill 尚未执行ui_output_references 标注"待 UI Skill 产出"

质量检查

  • 页面清单与路由完整
  • 每个页面有功能需求摘要
  • 每个页面有交互意图和异常场景
  • UI 产出引用路径正确
  • 待确认项已列出

降级策略

缺失的上游输入降级方案输出影响
IA缺失页面清单基于PRD推导路由结构可能不完整
PRD缺失功能需求基于IA推导功能需求可能不够完整
交互规范缺失交互意图基于PRD推导交互意图可能不够细致
IA+PRD均缺失基于用户描述推导整体置信度降低

上游变更响应

上游变更影响

上游变更影响范围响应策略
IA结构变更(路由/导航调整)页面清单、路由结构标注受影响的路由和页面,建议人类确认是否更新路由映射
PRD需求变更(功能增删)功能需求摘要、交互意图、异常场景标注受影响的功能点,建议人类确认是否更新交接范围
交互规范变更交互意图、异常场景标注受影响的交互意图,建议人类确认是否更新

下游通知机制

交接文档变更类型通知范围通知方式
页面/路由变更开发团队、测试团队标记变更影响范围,触发路由和页面结构重新确认
功能需求变更开发团队、测试团队标记需求变更,触发功能实现和测试用例更新
交互意图变更开发团队标记交互变更,触发交互实现更新

变更记录

  • v3.0: 重新定位为开发交接摘要(移除令牌/组件/交互/响应式等UI决策,改为引用UI产出);移除对UI产出的反向依赖(不再需要design-system.json作为输入);输出Schema精简
  • v2.1: 初始版本

Gives 0 of the 12 instructions most design frontend skills give in ~3.1k tokens

Counted across 1,170 of the 1,878 authors here whose files we hold, read 2026-08-06

  • use css variables for color consistencyin 73 of 1170, across 24 files
  • match implementation complexity to the aesthetic visionin 70 of 1170, across 20 files
  • commit to one bold aesthetic direction before codingin 70 of 1170, across 25 files
  • add atmospheric background effects and texturesin 58 of 1170, across 10 files
  • use unexpected spatial compositions and layoutsin 55 of 1170, across 7 files
  • implement real working codein 55 of 1170, across 7 files
  • vary themes and aesthetics across different designsin 48 of 1170, across 7 files
  • launch chromium in headless modein 47 of 1170, across 4 files
  • close the browser when donein 47 of 1170, across 4 files
  • run provided scripts with help flag firstin 47 of 1170, across 4 files
  • use descriptive selectors for elementsin 47 of 1170, across 4 files
  • wait for network idle statein 46 of 1170, across 3 files

Said here and by no other author read

  • Reference UI outputs instead of inlining details
  • Cover every page and functional area completely
  • Generate page list and route mapping
  • Extract functional requirements per page
  • List pending confirmation items and open questions
  • Assemble handoff document following specified structure

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.