Skip to content

webkubor/ui-craft / skills/ui-design

ui-design

Verified

帮助 AI coding agent 做出更好的 UI:从读取项目设计规范、确定页面层级与风格,到实现组件、检查真实截图、修复视觉问题。遵循已有品牌和 tokens;无契约时在授权范围内记录假设、建立 DESIGN.md 并继续实现;完成后按项目规范验证响应式、可访问性与交互。适用于新页面、存量改版、组件设计、UI 评审与视觉修复。

FileKindSize
LICENSEother1.0 KB
README.mdmarkdown1.9 KB
SKILL.mdskill md10.5 KB
evals/evals.jsonconfig2.5 KB
references/decision-visualization.mdmarkdown2.0 KB
references/differentiation.mdmarkdown4.4 KB
references/engineering.mdmarkdown2.5 KB
references/geo.mdmarkdown2.3 KB
references/impeccable.mdmarkdown2.1 KB
references/maintainability.mdmarkdown1.5 KB
references/observability.mdmarkdown1.6 KB
templates/DESIGN.mdmarkdown2.3 KB
templates/tokens.cssother2.4 KB

templates/DESIGN.md

View on GitHub
# DESIGN.md — <项目名>

> 本文件是本项目 UI 的唯一风格真源。所有 Agent 改 UI 前先读它;与需求冲突时问 owner,不自行改风格。
> tokens 文件:`<路径,如 src/styles/tokens.css 或 tailwind.config.ts>`

## 1. 一句话定位

<这是什么、给谁、解决什么。与 title / meta / JSON-LD 保持一致。>

## 2. 受众与目的

- 受众:
- 页面要达成:<转化 / 操作效率 / 阅读 / 品牌>
- 设备与主题:<桌面优先 / 移动优先;light / dark / 跟随系统>

## 3. 语气(Tone)

<3–5 个形容词 + 每个的具体表现。例:克制——单一强调色,正文不用粗体堆叠。>

## 4. 定位与差异化

| 同类产品 | 它们长什么样 | 我们刻意不同在哪 |
|---|---|---|
| | | |

- 品类共性套路:
- 可记忆点(signature element):<一个;出现在哪、不出现在哪>
- 换名测试:<通过(列出差异化的 ≥2 轴:配色结构 / 版式 / 密度与信息结构) / 未通过(写明仅 0–1 轴不同及接受代价,严禁假写通过)>
- AI 模板味检查:<通过;若有意使用某"模板"元素(或由 logo 导出的靛紫色系),写明原因>

## 5. 视觉系统(摘要,数值以 tokens 为准)

- 色彩来源:<已有 logo / brand-mark 时写文件路径与提取色值;无 logo 时写「无 logo,从 Step 1 方向推导」>
- 色彩:<主色 / 强调色 / 中性色阶 / 语义色;light 与 dark 映射>
- 字体与字阶:<字体族、字阶比例、正文行高>
- 间距与密度:<基准单位、scale、整体密度>
- 圆角 / 阴影 / 描边:
- 动效:<时长档、曲线、哪些交互有动效、reduced-motion 策略>

## 6. Do / Don't

| Do | Don't |
|---|---|
| | |

## 7. 参考

- <链接或截图路径 + 取了它的哪一点>

## 8. GEO / 内容结构

- 适用性:<适用 / 不适用(理由)>
- 信息架构与各页 h1:
- 渲染方式:<SSR / SSG / 预渲染 / CSR + 方案>
- 结构化数据:<Organization / Product / FAQPage / Article …>
- FAQ 问题清单:
- llms.txt / sitemap / robots / canonical / OG:

## 9. 决策记录

| 日期 | 决策 | 拍板人 | 放弃的选项及原因 |
|---|---|---|---|
| YYYY-MM-DD | 选定方向 <X> | <owner> | <方向 Y:…;方向 Z:…> |
| YYYY-MM-DD | 新增 token `<name>` | <owner/agent> | <为什么现有 token 不够> |
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall