Anthropic Frontend Design
This skill guides the creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. It integrates structured design intelligence (accessibility, UX rules, stack guidelines) with a bold, intentional aesthetic philosophy.
Core Philosophy: Anti-AI Slop
Claude (and all AI agents) are capable of extraordinary creative work, yet often default to safe, generic patterns. This skill MANDATES breaking those patterns.
- - AVOID: Inter, Roboto, Arial, system fonts, purple-on-white gradients, cookie-cutter SaaS layouts, emojis as icons.
- MANDATE: Unique typography, context-specific color schemes, intentional motion, unexpected spatial composition, and production-grade functional code.
Design Thinking Process
Before coding, understand the context and commit to a BOLD aesthetic direction:
- 1. Purpose: What problem does this solve? Who is it for?
- Tone: Pick an extreme direction—brutally minimal, maximalist chaos, retro-futuristic, organic, luxury, playful, editorial, etc.
- Intelligence (Reference): Use the internal design tool to gather data (see below).
- Differentiation: What makes this UNFORGETTABLE?
Design Intelligence Tool
Use the internal search tool to gather palettes, font pairings, and UX guidelines. CRITICAL: You MUST filter the results through the Anti-AI Slop lens. If the tool suggests "Inter" or "Roboto", you are REQUIRED to ignore it and pick a distinctive alternative.
CODEBLOCK0
Implementation Standards
1. Professional UI Rules
| Rule | Do | Don't |
|---|
| Icons | Use SVG (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
| Typography |
Beautiful, unique Google/Custom fonts | Inter, Roboto, Arial, System fonts |
|
Hover | Stable transitions (color/opacity/shadow) | Scale transforms that shift layout |
|
Cursor | Add
cursor-pointer to all interactive items | Leave default cursor on buttons/cards |
|
Contrast | Minimum 4.5:1 for accessibility | Low-contrast "vibes" that are unreadable |
2. Motion & Animation
- - Prioritize CSS-only solutions where possible.
- Focus on high-impact moments (staggered reveals on page load).
- Use duration 150-300ms for micro-interactions.
3. Spatial Composition
- - Use asymmetry, overlap, or diagonal flow to break standard grids.
- Balance generous negative space OR intentional density.
Pre-Delivery Checklist
Before delivering code, verify every item:
Visual Quality
- - [ ] No emojis used as icons (SVG only).
- [ ] Typography is characterful and NOT "AI standard".
- [ ] Color scheme is unique to the context (no generic gradients).
- [ ] Hover states provide clear, stable visual feedback.
UX & Accessibility
- - [ ] All interactive elements have
cursor-pointer. - [ ] Form inputs have labels; images have alt text.
- [ ] Text contrast meets 4.5:1 minimum (test Light/Dark modes).
- [ ] Responsive at all breakpoints (375px, 768px, 1024px, 1440px).
- [ ] No horizontal scroll on mobile.
Aesthetic Directions (Reference)
- - Brutally Minimal: Monochrome, extreme white space, sparse typography.
- Maximalist Chaos: Overlapping elements, dense information, pattern mixing.
- Retro-Futuristic: Chrome effects, neon accents, 80s-inspired.
- Luxury/Refined: Gold/Dark accents, serif fonts, generous spacing.
- Playful/Toy-like: Rounded corners, bright pastels, bouncy animations.
- Editorial/Magazine: Grid-based, bold headlines, clean hierarchy.
- Brutalist/Raw: Monospace fonts, harsh contrasts, industrial.
- Art Deco: Sharp angles, metallic accents, ornate borders.
Commit to ONE direction and execute it fully—no half measures.
Anthropic 前端设计
本技能指导创建独特、生产级的前端界面,避免千篇一律的AI 垃圾美学。它将结构化设计智能(可访问性、UX 规则、技术栈指南)与大胆、有意的美学理念相结合。
核心理念:反 AI 垃圾
Claude(以及所有 AI 代理)具备非凡的创造力,却常常默认采用安全、通用的模式。本技能强制要求打破这些模式。
- - 避免使用:Inter、Roboto、Arial、系统字体、紫色渐变白色背景、千篇一律的 SaaS 布局、用 emoji 当图标。
- 强制要求:独特的字体排印、符合上下文的配色方案、有意的动效、出人意料的空间构成、生产级的功能代码。
设计思维流程
在编码之前,理解上下文并致力于一个大胆的美学方向:
- 1. 目的:这解决了什么问题?为谁而设计?
- 基调:选择一个极端方向——极致极简、极繁混乱、复古未来、有机自然、奢华、俏皮、编辑风等。
- 情报(参考):使用内部设计工具收集数据(见下文)。
- 差异化:什么让这个设计令人难忘?
设计情报工具
使用内部搜索工具收集调色板、字体搭配和 UX 指南。关键:你必须通过反 AI 垃圾的视角过滤结果。 如果工具建议Inter或Roboto,你必须忽略它并选择一个独特的替代方案。
bash
生成完整的设计系统
python scripts/search.py <产品类型> <行业> <关键词> --design-system
搜索特定领域(风格、字体、颜色、UX、图表、落地页)
python scripts/search.py <关键词> --domain <领域>
获取特定技术栈指南(html-tailwind、react、nextjs、shadcn 等)
python scripts/search.py <关键词> --stack <技术栈名称>
实现标准
1. 专业 UI 规则
| 规则 | 应该做 | 不应该做 |
|---|
| 图标 | 使用 SVG(Heroicons、Lucide、Simple Icons) | 使用 🎨 🚀 ⚙️ 等 emoji 作为 UI 图标 |
| 字体排印 |
美观、独特的 Google/自定义字体 | Inter、Roboto、Arial、系统字体 |
|
悬停 | 稳定的过渡效果(颜色/不透明度/阴影) | 改变布局的缩放变换 |
|
光标 | 为所有交互元素添加 cursor-pointer | 在按钮/卡片上保留默认光标 |
|
对比度 | 最低 4.5:1 以确保可访问性 | 低对比度的氛围感导致无法阅读 |
2. 动效与动画
- - 尽可能优先使用纯 CSS 解决方案。
- 聚焦于高冲击力的时刻(页面加载时的交错显现)。
- 微交互使用 150-300ms 的持续时间。
3. 空间构成
- - 使用不对称、重叠或对角线流动来打破标准网格。
- 平衡大面积的留白空间或有意的密集布局。
交付前检查清单
在交付代码之前,验证每一项:
视觉质量
- - [ ] 没有使用 emoji 作为图标(仅使用 SVG)。
- [ ] 字体排印具有特色,且不是AI 标准。
- [ ] 配色方案符合上下文独特性(没有通用渐变)。
- [ ] 悬停状态提供清晰、稳定的视觉反馈。
UX 与可访问性
- - [ ] 所有交互元素都有 cursor-pointer。
- [ ] 表单输入有标签;图片有替代文本。
- [ ] 文本对比度达到最低 4.5:1(测试浅色/深色模式)。
- [ ] 在所有断点(375px、768px、1024px、1440px)响应式适配。
- [ ] 移动端无水平滚动。
美学方向(参考)
- - 极致极简:单色、极致的留白、稀疏的字体排印。
- 极繁混乱:元素重叠、信息密集、图案混搭。
- 复古未来:镀铬效果、霓虹点缀、80 年代风格。
- 奢华/精致:金色/深色点缀、衬线字体、宽裕间距。
- 俏皮/玩具风:圆角、明亮粉彩、弹跳动画。
- 编辑/杂志风:基于网格、大胆标题、清晰层级。
- 粗野/原始风:等宽字体、强烈对比、工业感。
- 装饰艺术风:锐利角度、金属点缀、华丽边框。
致力于一个方向并彻底执行——不搞折中。