frontend-design
它能做什么
这个 AI 代理可以帮你为网站和应用设计独特且有明确意图的视觉风格。它会推荐颜色、字体和布局,避免看起来千篇一律或像套用模板,让产品拥有鲜明的视觉个性。
适用场景
- ✓要做一个新网站或新应用,并希望它有独特外观时。
- ✓要重新设计网站或应用,并想避开常见设计套路时。
- ✓客户因方案显得老套或千篇一律而否决了提案时。
技能链接
https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想为一家精品咖啡店做一个网站。你能给我一些视觉设计思路吗?要让它看起来温馨又独特,不要用标准模板。”
每周 5 个新技能,1 分钟读完。
工作原理
它的工作方式类似首席设计师的思路,聚焦项目的视觉识别。它会分析项目的主题、受众和目标,然后针对颜色、字体排版和布局提出具体选择,并避开常见的默认方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
Use non-user-triggered motion sparingly and deliberately, only to draw attention. A single orchestrated moment — one page-load sequence or one reveal — lands better than scattered effects; fade-and-slide-up entrances on each section and hover transitions on every card are the generic default and read as AI-generated. Motion that answers a person's action (opening, expanding, confirming) is welcome when it shows what changed.
Consider written content carefully. Often a design brief may not contain real content, and it's up to you to come up with copy and placeholder content. Copy can make a design feel as templated as the design itself. See the below section on writing for more guidance.
Process: plan, review against the brief, build, critique
For calibration, AI-generated design right now clusters around some traits:
- 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);
- a near-black background with a single bright acid-green or vermilion accent;
- a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns;
…
常见问题
什么是“审美风险”?
指那些偏离常规的设计决策,比如出人意料的配色组合或不常见的字体。只要符合项目需求并能让它脱颖而出,这类大胆的尝试是可以的。
它如何避免设计看起来像“AI 生成”的?
它会识别并避开许多 AI 常用的模式,例如特定的米色背景、通用渐变或过度使用卡片式布局。取而代之的是为每个项目做出有针对性的独特选择。
我需要懂设计才能使用它吗?
不需要。AI 会用简单的语言解释一切,并引导你做出选择,就像一位经验丰富的设计顾问。
详情
作者的原始描述
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.
repo: anthropics/skills
热度
- GitHub 星标
- 181k
- 排名
- #643
- 许可证
- —
- 更新时间
- 2026/10/9
评论
- …
同一仓库的更多技能
academy-guide
181k让你的智能体推荐学习 Claude 的课程和教程。当你对如何使用 Claude 或其相关产品有疑问时很有用。
algorithmic-art
181k帮助你的智能体用代码创作艺术,生成独特的图像。适合你想要原创计算机生成艺术的时候。
brand-guidelines
181k让你的智能体将 Anthropic 的品牌色和视觉风格应用到各类素材上。适用于在不同项目中保持公司视觉形象的统一。
canvas-design
181k帮助你的智能体在文件中创作精美的视觉艺术作品。当你需要海报、艺术图或任何静态设计时很有用。