webkubor/ui-craft / skills/ui-design
ui-design
Verified帮助 AI coding agent 做出更好的 UI:从读取项目设计规范、确定页面层级与风格,到实现组件、检查真实截图、修复视觉问题。遵循已有品牌和 tokens;无契约时在授权范围内记录假设、建立 DESIGN.md 并继续实现;完成后按项目规范验证响应式、可访问性与交互。适用于新页面、存量改版、组件设计、UI 评审与视觉修复。
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.0 KB |
| README.md | markdown | 1.9 KB |
| SKILL.md | skill md | 10.5 KB |
| evals/evals.json | config | 2.5 KB |
| references/decision-visualization.md | markdown | 2.0 KB |
| references/differentiation.md | markdown | 4.4 KB |
| references/engineering.md | markdown | 2.5 KB |
| references/geo.md | markdown | 2.3 KB |
| references/impeccable.md | markdown | 2.1 KB |
| references/maintainability.md | markdown | 1.5 KB |
| references/observability.md | markdown | 1.6 KB |
| templates/DESIGN.md | markdown | 2.3 KB |
| templates/tokens.css | other | 2.4 KB |
references/observability.md
View on GitHub# 可观测细则
UI 交付要能检查真实页面和运行行为,但不要求每个项目引入同一套工具。先使用项目已有的浏览器、日志、错误上报与性能监控能力。
| 需要观察什么 | 最低可用证据 | 工具如何选择 |
|---|---|---|
| 页面结构与视觉 | 可复现页面地址、视口/主题/状态、真实截图 | 使用当前环境可用的浏览器自动化或人工浏览器 |
| 交互与错误 | 关键交互结果、控制台错误、API 失败线索 | 复用项目现有测试、浏览器工具或运行时日志 |
| 部署版本 | 当前页面版本,以及切换部署后的更新表现 | 遵循项目已有更新检测与错误兜底方案 |
| 性能 | 页面、视口、网络条件下的 LCP / INP / CLS 基线和复测 | 使用浏览器 DevTools、web-vitals 或项目已有监控 |
## 复测记录
至少记录:页面/路由、版本或 commit、视口、主题、语言、登录/数据状态、截图位置、验证步骤、观察结论与未测项。对比前后截图时固定这些条件。
## 使用原则
- 需要登录或连接真实服务的浏览器测试必须遵循项目授权与脱敏规则;不要把凭证写入截图、日志或公开记录。
- 截图应由 Agent 或评审者实际打开检查。采集截图或 DOM 本身不等于完成视觉评审。
- 工具不可用时写清具体环境限制和未验证范围;不要用成功的本地请求或 HTTP 状态码冒充目标环境验收。
- 不为满足本 skill 而重复安装日志、错误上报或版本更新产品;已有等价能力优先。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |