Pdlc ui design
UI/UX 设计From its SKILL.md
npx -y skills add kanfu-panda/pdlc-skills --skill pdlc-ui-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 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.
SKILL.md
3.7 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
UI/UX 设计
<!-- @include templates/prompts/iron-law.md -->根据需求文档,生成 UI/UX 设计方案,包含页面布局、交互流程、组件规范。
PDLC 前置检查(必须执行,不可跳过)
- 从用户输入中提取功能名称关键词
- 在
docs/01_requirements/prd/目录下搜索包含该关键词的 PRD 文档- 匹配新格式:
F<日期>-<编号>-*<关键词>*-prd.md - 匹配旧格式:
YYYYMMDD-*<关键词>*-prd.md - 同时检查文件内容中是否包含该关键词
- 匹配新格式:
- 未找到 → 输出以下信息后立即停止,不继续执行:
⛔ PDLC 守卫:未找到与「<功能名>」相关的 PRD 文档。 UI 设计必须基于已有的 PRD。请先运行: 👉 /pdlc-prd <需求描述> - 找到 → 提取功能ID(如
F20260326-090000),读取该 PRD 内容,继续执行
工作流程
- 阅读需求: 阅读找到的 PRD 文档
- 分析用户旅程: 梳理核心用户操作路径,绘制用户旅程图
- 页面结构设计: 为每个页面输出 ASCII 线框图(Wireframe)
- 交互流程设计: 描述页面间跳转逻辑、状态变化
- 组件清单: 列出所需的 UI 组件及其属性
- 输出设计文档: 在
docs/02_design/ui-ux/下创建 UI 设计文档
文档内容
- 文件名格式:
<功能ID>-<功能名>-ui.md(如F20260326-090000-user-auth-ui.md)- 若 PRD 为旧格式无功能ID,则使用旧格式
YYYYMMDD-<功能名>-ui.md
- 若 PRD 为旧格式无功能ID,则使用旧格式
- 文档顶部必须包含 PDLC 追溯头:
<!-- PDLC-TRACE --> <!-- 功能ID: F20260326-090000 --> <!-- 功能名称: user-auth --> <!-- 阶段: 设计 --> <!-- 前置文档: docs/01_requirements/prd/F20260326-090000-user-auth-prd.md --> - 页面列表与层级关系
- 每个页面的 ASCII 线框图
- 交互状态说明(加载中、空状态、错误状态、成功状态)
- 响应式适配方案(如需要)
- 组件复用清单(标注哪些组件可复用已有组件)
线框图示例格式
┌─────────────────────────────────┐
│ 顶部导航栏 [用户头像] │
├─────────────────────────────────┤
│ 侧边栏 │ 主内容区域 │
│ ┌─────┐ │ ┌──────────────┐ │
│ │菜单1│ │ │ 表格/列表 │ │
│ │菜单2│ │ │ │ │
│ │菜单3│ │ └──────────────┘ │
│ └─────┘ │ [分页器] │
├─────────────────────────────────┤
│ 底部信息栏 │
└─────────────────────────────────┘
要求
<!-- @include templates/prompts/output-language.md -->- 每个页面必须考虑 4 种状态:正常、加载中、空数据、异常
- 标注交互细节:按钮点击后的反馈、表单校验时机、确认弹窗等
- 如果是前端应用,同步在
frontend/<分类>/<应用名>/docs/下放一份副本
设计目标: $ARGUMENTS
<!-- @include templates/prompts/handoff.md -->本命令的 handoff 输出:
✅ UI/UX 设计文档 完成
📦 产出:docs/02_design/ui-ux/<功能ID>-<功能名>-ui.md
👉 下一步:(本次流程结束,无后续)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most design frontend skills give in ~1.1k tokens
Counted across 1,169 of the 1,878 authors here whose files we hold, read 2026-08-07
- Use CSS variables for color consistencyin 72 of 1169, across 23 files
- Commit to one bold aesthetic direction before codingin 72 of 1169, across 27 files
- Match implementation complexity to the aesthetic visionin 70 of 1169, across 20 files
- Add atmospheric background effects and texturesin 57 of 1169, across 9 files
- Use unexpected spatial compositions and layoutsin 56 of 1169, across 8 files
- Implement real working codein 55 of 1169, across 7 files
- Vary themes and aesthetics across different designsin 48 of 1169, across 7 files
- Launch chromium in headless modein 47 of 1169, across 4 files
- Close the browser when donein 47 of 1169, across 4 files
- Run provided scripts with help flag firstin 47 of 1169, across 4 files
- Wait for network idle statein 47 of 1169, across 4 files
- Use descriptive selectors for elementsin 47 of 1169, across 4 files
Said here and by no other author read
- Extract feature name keywords from user input
- Search for matching PRD documents
- Stop if no matching PRD document is found
- Map core user journeys
- Output ASCII wireframes for each page
- Describe page transitions and state changes
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.