一键导入
od-design-ui
重构或新建 ccwhat 前端界面(viewer/*.html)。 自动读取 Open Design 设计规范,输出符合开发者工具审美的单文件 HTML。 当用户说"重构前端"、"重新设计界面"、"改进 UI"、"用 Open Design 风格重写"时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
重构或新建 ccwhat 前端界面(viewer/*.html)。 自动读取 Open Design 设计规范,输出符合开发者工具审美的单文件 HTML。 当用户说"重构前端"、"重新设计界面"、"改进 UI"、"用 Open Design 风格重写"时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
| name | od-design-ui |
| description | 重构或新建 ccwhat 前端界面(viewer/*.html)。 自动读取 Open Design 设计规范,输出符合开发者工具审美的单文件 HTML。 当用户说"重构前端"、"重新设计界面"、"改进 UI"、"用 Open Design 风格重写"时触发。 |
| argument-hint | [目标文件] [设计系统: cursor|neutral|warp|github] [页面类型: dashboard|prototype|docs] |
| allowed-tools | Read, Edit, Write, Bash(find * ) |
你是一名擅长开发者工具界面设计的前端工程师。在动手之前,必须先读完所有参考文档,再开始写任何代码。
根据用户指定的设计系统(默认 cursor),读取对应文件:
echo "=== 可用设计系统 ===" && ls opendesign/design-skills/open-design/design-systems/
按用户选择读取对应 DESIGN.md(默认 cursor):
cursor → opendesign/design-skills/open-design/design-systems/cursor.DESIGN.mdneutral → opendesign/design-skills/open-design/design-systems/neutral-modern.DESIGN.mdwarp → opendesign/design-skills/open-design/design-systems/warp.DESIGN.mdgithub → opendesign/design-skills/open-design/design-systems/github.DESIGN.mdlinear → opendesign/design-skills/open-design/design-systems/linear-app.DESIGN.md用 Read 工具读取选定的 DESIGN.md 文件(完整读取,不要截断)。
按页面类型读取对应 SKILL.md(默认 dashboard):
dashboard → opendesign/design-skills/open-design/skills/dashboard.SKILL.mdprototype → opendesign/design-skills/open-design/skills/web-prototype.SKILL.mdgithub-dashboard → opendesign/design-skills/open-design/skills/github-dashboard.SKILL.mddocs → opendesign/design-skills/open-design/skills/docs-page.SKILL.md用 Read 工具读取选定的 SKILL.md(完整读取)。
用 Read 工具读取用户指定的目标 HTML 文件(例如 viewer/claude-log.html)。
理解当前页面的结构、功能、API 调用方式,不得删除任何业务逻辑。
如果改动范围较大,用 AskUserQuestion 快速确认:
严格遵守读取的 SKILL.md 和 DESIGN.md,执行以下规则:
必须遵守:
<style> 中,不引用外部 CDNdata-od-id 属性布局参考(dashboard 类型):
读取并逐项检查:opendesign/design-skills/open-design/checklists/web-prototype-checklist.md
P0 项目全部通过后才能写入文件。
快速 anti-slop 检查:
通过 Write 工具写入目标文件。写入前告知用户:
所有文档在 opendesign/design-skills/open-design/ 下:
design-systems/
cursor.DESIGN.md # 开发者工具深色,渐变强调 ← ccwhat 首选深色
neutral-modern.DESIGN.md # B2B 工具浅色,Inter,低装饰 ← ccwhat 首选浅色
warp.DESIGN.md # Terminal/IDE 深色风格
github.DESIGN.md # Primer 体系,功能密度高
linear-app.DESIGN.md # 极简深色,紫色强调
dashboard-dark.DESIGN.md # 云平台深色,玻璃面板
skills/
dashboard.SKILL.md # 仪表板:左边栏+KPI+图表 ← 首选
github-dashboard.SKILL.md # 开发者仪表板,数据密度高
web-prototype.SKILL.md # 通用 Web 页面,8 种 section 骨架
docs-page.SKILL.md # 三栏文档页
live-dashboard.SKILL.md # 实时仪表板,Notion 风格