Skill 的引导内容
- 01寻找视觉方向
与产品相关的配色、字体层级和布局。
- 02审查计划
在构建前对照 brief 检查方向。
- 03构建和完善
具有清晰操作和无障碍状态的响应式界面。
frontend-design作者 AnthropicClaude Code 和 Codex 的独特 UI 设计 skill:有目的地选择排版、颜色和布局。
A considered space for your next project, from the first quote to the final yes.
Create your quote ↗“A quoting tool for freelance designers.
Make the next step feel clear.”
01 从 brief 到界面
告诉 Claude Code 或 Codex 产品、受众和内容;frontend-design skill 负责做出视觉决策。
与产品相关的配色、字体层级和布局。
在构建前对照 brief 检查方向。
具有清晰操作和无障碍状态的响应式界面。
02 找到适合场景
当视觉决策是工作的一部分时使用 frontend-design skill——在 Claude Code 或 Codex 中构建新页面,或重新设计看起来像模板的界面。
03 带着意图设计
frontend-design skill 指导 Claude Code 或 Codex 执行的四件事,以及每件事如何转化你的输入。
Agent 会先弄清楚产品是什么、服务谁、以及它所在的世界是什么样子,然后再做任何选择。一款面向八岁儿童的玩具和一个面向分析师的仪表板不应该共享同一种外观。
一到两种带有真实比例的字体,一个 4-6 色的配色方案(以十六进制命名),以及一个带有对齐规则的布局概念。结构性设计元素——线条、编号、标签——仅在承载信息时使用。
Skill 分两步工作。它先起草计划,然后根据「我会为任何类似页面制作这个吗?」这一问题检查每个部分,并修订那些读起来像默认选项的内容——说明改变了什么以及为什么。代码在之后生成。
响应式适配至移动端,可见的键盘焦点,尊重减少动效偏好,无障碍配色,以及从用户视角以简明、主动的语言编写的文案。
04 投入使用
一条 npx skills add 命令,然后在你的 Agent 中提供一个 brief,并对首次结果进行检查。
在你的项目中运行该命令,按照安装程序的 Agent 选择提示操作,然后检查你的 Agent 是否能够发现 frontend-design。
npx skills add https://github.com/anthropics/skills --skill frontend-design命令来源:skills.sh 上的 frontend-design 条目。按照安装程序操作并确认该 skill 出现在你的 Agent 中。
根据你的产品细节调整此 brief,附上其中提到的品牌资产,然后在 Claude Code 或 Codex 中运行。
Use the frontend-design skill to design the homepage for a project-quoting tool for freelance designers. Goal: visitors should understand three things — how quotes are built, how scope changes are confirmed, and how clients approve — and then start creating a quote. Content: use the attached brand colors and logo. Include a hero, how it works, features, pricing, and FAQ. Use the real pricing tiers and FAQ answers I have provided; do not invent numbers or testimonials. Process: propose a visual direction that fits freelance designers and this product first, then build the desktop and mobile pages. Keep clear calls to action, visible keyboard focus, and a reduced-motion experience.一个好的首次运行结果很容易识别。在接受页面之前,在记录和输出中查找以下内容:
正在使用 OpenDesign?frontend-design 已内置在 OpenDesign 中:打开 Plugins → Skills,在顶部栏中选择它,它的 SKILL.md 会与你的 DESIGN.md 一起组合到提示中。Claude Code、Codex、Cursor 或 OpenCode 会完成工作。
05 开源、可追溯
本页面事实的来源,以及最后检查时间。
mainskills/frontend-design/SKILL.md 验证时记录的内容校验和;commit 34040c9为构建新 UI 或重塑现有 UI 提供独特、有意图的视觉设计指导。帮助确定美学方向、排版,并做出不显得像模板化默认样式的选择。
Front-matter description from SKILL.md. The full instructions are about 9,400 characters and cover subject grounding, design principles, a plan → review → build → critique process, restraint, and writing in design. 在 GitHub 上阅读完整文件.
Frontend Design
frontend-design skill 内置于 OpenDesign。下载应用,在 Plugins → Skills 中选择该 skill,粘贴示例提示,在看代码前先读一读计划。
npx skills add https://github.com/anthropics/skills --skill frontend-design