frontend-design 是什么?
Anthropic 的 frontend-design 指导 Agent 从产品主题、受众和页面任务出发设计前端,而不是直接套常见模板。它先形成颜色、字体、布局方案,对照需求检查,再写代码并查看实际效果;可以用于新界面,也可以调整已有界面。
中文说明由本站依据来源整理;英文原文保留在页面下方。
适合用在
- 有明确产品、受众和主要操作的网页,需要从视觉方向到前端实现一起调整。
这些情况不适合
- 只凭“高级感”之类模糊词就套统一配色;也不应把来源列举的常见风格当成任何项目都禁止的样式。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
frontend-design,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 frontend-design
请在 Codex 的当前工作环境中安装并检查 frontend-design 这个 Skill。
项目身份:anthropics/skills / frontend-design
来源:https://github.com/anthropics/skills/blob/e4bb5d960d87126ff3b3a8af1a104b7db67560ba/skills/frontend-design/SKILL.md
已定位的源文件:skills/frontend-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 frontend-design
请在 Claude Code 的当前工作环境中安装并检查 frontend-design 这个 Skill。
项目身份:anthropics/skills / frontend-design
来源:https://github.com/anthropics/skills/blob/e4bb5d960d87126ff3b3a8af1a104b7db67560ba/skills/frontend-design/SKILL.md
已定位的源文件:skills/frontend-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 frontend-design
请在 Cursor Agent 的当前工作环境中安装并检查 frontend-design 这个 Skill。
项目身份:anthropics/skills / frontend-design
来源:https://github.com/anthropics/skills/blob/e4bb5d960d87126ff3b3a8af1a104b7db67560ba/skills/frontend-design/SKILL.md
已定位的源文件:skills/frontend-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 frontend-design
请在 当前 Agent 的当前工作环境中安装并检查 frontend-design 这个 Skill。
项目身份:anthropics/skills / frontend-design
来源:https://github.com/anthropics/skills/blob/e4bb5d960d87126ff3b3a8af1a104b7db67560ba/skills/frontend-design/SKILL.md
已定位的源文件:skills/frontend-design/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 提供页面用途、主要用户、真实内容、现有项目与视觉约束;需求没有说明产品时,先把拟定主题与用户确认。
会得到什么
- 针对需求的设计方案与前端实现,说明实际取舍及浏览器检查范围。
实际使用顺序
- 先确认产品主题和用户要完成的主要操作,首屏用最能代表该主题的内容,而不是自动套“大数字+渐变”结构。
- 拟定紧凑设计方案:4至6个命名色值、字体角色、布局线框与对齐方式;复查哪些选择来自这个项目,哪些只是惯用模板。
- 修订方案后再写代码,注意CSS选择器之间的覆盖与间距冲突;文案用用户能理解的动作名称,错误和空状态给出下一步。
- 检查手机布局、键盘焦点、降低动态效果设置与可读性;环境允许时通过截图自查,并去掉与任务无关的装饰。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
使用 frontend-design,为一个本地社区修理服务做预约页面原型。用户主要在手机上选择修理类型、日期并留下联系方式;我会提供真实服务项目和营业时间。先给出颜色、字体、布局与主操作方案,对照这个场景说明取舍,再修改我提供的页面。保留已有业务接口,不自行编造用户评价或成交数据。预期得到围绕预约流程的设计和页面实现,关键操作在手机上易识别;未实际测试的交互应另行说明。本站未执行本例。
使用条件与边界
- 用户明确给出的视觉方向优先;来源列举的常见设计并非绝对禁用,关键在于是否适合当前需求。
- 设计代码产出与业务功能验证是不同结果,不能凭截图就称预约接口可用。
常见问题
它会直接给我一套固定模板吗?
这份来源恰恰要求先理解主题,再制定配色、字体与布局。它是一套设计和实现方法,而非单一模板文件。
一定要加动画才算用了这个Skill吗?
不是。来源建议少用自动动画,把动态效果用在能说明状态变化或值得强调的地方;无必要时应克制。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-17T10:48:36.762Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skills/frontend-design/SKILL.md · 抓取时间 2026-11-17T10:48:36.762Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Guidance 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.
查看源文件章节 / Source sections
- 原文:Frontend Design
- 原文:Ground your designs in the subject matter
- 原文:Design principles
- 原文:Process: plan, review against the brief, build, critique
- 原文:Restraint and self-critique
- 原文:More on writing in design
原文:Frontend Design
Approach this as the design lead at a design studio known for giving every client a distinct visual identity that is not mistaken for anyone else's. This client has already rejected proposals that felt cliché or templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take aesthetic risk if justified.
原文:Ground your designs in the subject matter
If the brief does not identify what the product or subject matter is, identify it yourself before designing, and confirm with the client. You can come up with one concrete subject, the design's audience, and the design's primary job, as a proposal. If there's any information in your memory about the client's preferences or context about what they're building, use that as a hint. The subject's industry, subject matter, materials, and vernacular are where distinctive visual choices come from — a design for a toy for girls aged 8–11 will be very aesthetically different from a dashboard for financial analysts. Build with the brief's real content and subject matter throughout.
原文:Design principles
For web designs, the hero is the first thing viewers will see. Open with the most characteristic thing in the subject's world, in the form that is most appropriate: a headline, an image, an animation, a live demo, an interactive moment, or other treatments. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the default treatment, so only use it if that's truly the best option. Typography carries the personality of the page. You don't need a different typeface for display or headline text and body content: use one family or two, and if two, make them clearly distinct. Choose your typefaces deliberately, not the default families you would reach for on any other project, and set a clear type scale following the default guidance of The Elements of Typographic Style with intentional weights, widths, and spacing. When type is used as a headline or visual element, use the type treatment itself as an active part of the design, not a neutral delivery vehicle for the content. Default to line lengths of less than 80 characters. Serif typefaces can have slightly longer line lengths; give serif body text slightly more line-height than a sans-serif. Avoid these default typographic treatments; they are the commonest tells of a generated page: - Accenting just a single word or phrase in a headline, like putting one word in italic/bold or a different color. - Using all caps for labels. - Adding unnecessary typographic labels above content. Visual structure is information. Structural devices like outlines, borders, numbering, eyebrows, dividers, labels, etc., encode useful information about the content rather than decorate it. Many generic designs use numbered markers (01 / 02 / 03), but that's only appropriate if the content actually is a sequence — like a stepped process or a timeline. Before adding numbered markers, check the content really is a sequence.
本段为节选,完整内容见源文件。
原文:Process: plan, review against the brief, build, critique
For calibration, AI-generated design right now clusters around some traits: 1. a warm cream background (near #F4F1EA) with a high-contrast serif display and a terracotta or warm-clay accent (often near #D97757 — Anthropic's own Claude-interaction accent, so on a user's brief it reads as a tell); 2. a near-black background with a single bright acid-green or vermilion accent; 3. a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns; 4. the SaaS-card kit: content chopped into identical rounded cards, one border-radius on everything regardless of hierarchy, the same soft grey shadow (rgba(0,0,0,.1)) under each, and gradient washes as decoration; 5. template chrome that appears whatever the subject: a tracked-out ALL-CAPS eyebrow label above every heading; meta strings joined with middle dots ('A · B · C'); labels built as 'WORD — fragment' with a spaced em dash; tinted near-black (#0B0B0B, #111) standing in for black; a monospace face for small data labels; a '→' appended to link and button text. All traits are legitimate for some briefs, but they are defaults rather than choices, and they appear regardless of subject. Where the brief pins down a visual direction, follow it exactly — the brief's own words always win, including when it asks for one of these looks. Where it leaves an axis free, don't spend that freedom on one of these defaults. As with a hired human designer, there's often a careful balance between doing what you're good at and taking each project as a chance to experiment and learn. Work in two passes. First, brainstorm a short design plan based on the client's design brief: create a compact token system with color, type, layout, and principles. - Color: describe the core base palette as 4–6 named hex values. - Type: the typefaces and their roles. - Layout: a layout concept, using one-sentence prose descriptions and ASCII wireframes to ideate and compare. Include alignment guidance; should the content be left aligned, center aligned, justified? - Principles: the high-level guidance for what makes this page unique.
本段为节选,完整内容见源文件。
原文:Restraint and self-critique
Spend your boldness in one place. Let one element be the memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected, visually accessible, harmonious color palettes. Critique your own work as you build, taking screenshots to review if your environment supports it — a picture is worth 1000 tokens. Consider Chanel's advice: before leaving the house, take a look in the mirror and remove one accessory. Human creatives have memory and always try to do something new, so if you have a space to quickly jot down notes about what you've tried, it can help you in future passes.
原文:More on writing in design
Words appear in a design for one reason: to make it easier to understand and use. They are design content, not decoration. Bring the same intentionality and minimalism to copywriting that you would bring to spacing and color. Before writing anything, ask what the design needs to say, and how it can best be said to help the person navigate the experience. Write from the end user's perspective. Name things by what users will understand in simple language, not by how the system is built. A user manages notifications, not webhook config. Describe what something is or does in plain terms rather than selling it. Being specific and legible to new users is always better than being clever. Use active voice as default. A CTA says exactly what happens when it is used: "Save changes," not "Submit." An action keeps the same name through the whole flow, so the button that says "Publish" produces a toast that says "Published." The vocabulary of an interface is the signposting for someone navigating the product. Cohesion and consistency are how people learn their way around. Treat failure and emptiness as moments for direction, not mood. Explain what went wrong and how to fix it, in the interface's voice rather than a person's. Errors don't apologize, and they are never vague about what happened. An empty screen is an invitation to act. Keep the tone conversational: plain verbs, sentence case, no filler, with tone matched to the brand and the audience. Let each written element do exactly one job.
文件 SHA256:d91970639e9f5c37682ac7ab60094d35f1c7c1f38d731bd56396563aee10c1d3
仓库许可证记录:未提供;skill-declaration-captured-not-interpreted,查看来源。
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。
历史收录数据
| Skill标识 | frontend-design |
|---|---|
| 来源仓库 | anthropics/skills |
| 榜单快照 | 2026-07-28 |
| 榜单口径 | Skills.sh累计安装量 |
| 快照名次 | 2 |
| 快照累计安装量 | 712671 |
历史资料说明
- 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
- 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。
此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。
