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

references/maintainability.md

View on GitHub
# 可维护细则

UI 工作的长期产物是可延续的设计契约、tokens 与可理解组件;遵守项目的既有文档和代码风格。

## 维护项

| 主题 | 约定 |
|---|---|
| 设计真源 | 新增长期有效的设计决策时更新 DESIGN.md 和 tokens;一次性小改动无需创建整套设计系统 |
| Agent 上下文 | 在项目 AGENTS.md / CLAUDE.md 中链接本项目 DESIGN.md,并说明 UI 改动前读取它 |
| 组件与状态 | 将重复的视觉和交互抽到项目组件;不要为每个页面复制一份近似实现 |
| 变更记录 | 按项目已有方式更新 changelog、版本和设计决策记录;本 skill 不规定项目发版工具 |
| 评审记录 | 视觉改动记录页面版本、截图条件、具体发现、修改和复查证据 |

## AGENTS.md / CLAUDE.md 参考片段

```markdown
## UI changes

- Before changing UI, read `DESIGN.md` and the referenced design tokens.
- Follow existing components and document any decision that changes the design system.
- After implementation, inspect the rendered page in a browser and fix important visual issues.
```

将文件路径和命令改成项目实际值。不要写入不可用的工具名称或声称已接入未安装的审计、版本同步或浏览器系统。

## 避免复制粘贴式设计

在页面或组件中发现重复的配色、字号、间距和状态规则时,先对照现有 tokens 与组件库;确有长期复用价值再抽象。保持改动与项目任务相称,不为使用 UI skill 而强制重构。
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