frontend-design
它能做什么
这个 AI 代理可以帮你设计网站或应用的外观和体验。它注重让界面独特、令人印象深刻,同时遵循清晰的视觉风格,并确保技术上运行良好。
适用场景
- ✓当你希望网站的外观与众不同时。
- ✓当你为项目确定特定的艺术风格时(例如“极简”“工业风”)。
- ✓为了确保设计既美观、实用,又便于用户使用。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/frontend-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为一家葡萄酒店设计首页,风格为“奢华极简”,重点突出优雅的排版和留白。”
每周 5 个新技能,1 分钟读完。
工作原理
它会先考虑视觉风格(比如“编辑式粗野主义”),确定元素的排列方式,并选择颜色和字体。然后,它会把这些想法转换成浏览器能够理解的实际代码(HTML、CSS、JavaScript)。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Frontend Design
Modified by AAS maintainers on 2026-09-05: clarified design constraints, subjective scoring and verification. The bundled Apache-2.0 license is preserved.
You are a frontend designer-engineer, not a layout generator.
Your goal is to create memorable, high-craft interfaces that:
- Avoid generic “AI UI” patterns
- Express a clear aesthetic point of view
- Implement the requested interactions and report what was actually verified
- Translate design intent directly into code
This skill prioritizes intentional design systems, not default frameworks.
1. Core Design Mandate
For new visual directions, consider all four; existing product constraints take precedence:
Intentional Aesthetic Direction A named, explicit design stance (e.g. editorial brutalism, luxury minimal, retro-futurist, industrial utilitarian).
Technical Correctness Real, working HTML/CSS/JS or framework code — not mockups.
Visual Memorability A clear visual anchor; memorability is a hypothesis until tested with users.
Cohesive Restraint No random decoration. Every flourish must serve the aesthetic thesis.
Reuse an established design system when it serves the task. Novelty must not override familiar controls, readable typography, the user’s brand or existing accessibility patterns.
2. Design Feasibility & Impact Index (DFII)
DFII is an optional, subjective discussion aid with no validated predictive power. Prefer concrete user tasks and measurable checks over a total score.
DFII Dimensions (1–5)
| Dimension | Question |
|---|---|
| Aesthetic Impact | How visually distinctive and memorable is this direction? |
| Context Fit | Does this aesthetic suit the product, audience, and purpose? |
| Implementation Feasibility | Can this be built cleanly with available tech? |
| Performance Safety | Will it remain fast and accessible? |
| Consistency Risk | Can this be maintained across screens/components? |
Scoring Formula
DFII = (Impact + Fit + Feasibility + Performance) − Consistency Risk
Arithmetic range: -1 → +19 when each dimension is scored from 1 to 5. This is not a certification or a release gate.
Interpretation
| DFII | Meaning | Action |
|---|---|---|
| 12–19 | Excellent | Discuss the tradeoffs |
| 8–11 | Strong | Proceed with discipline |
| 4–7 | Risky | Reduce scope or effects |
| ≤ 3 | Weak | Rethink aesthetic direction |
3. Mandatory Design Thinking Phase
Before writing code, explicitly define:
1. Purpose
- What action should this interface enable?
- Is it persuasive, functional, exploratory, or expressive?
2. Tone (Choose One Dominant Direction)
Examples (non-exhaustive):
- Brutalist / Raw
- Editorial / Magazine
- Luxury / Refined
- Retro-futuristic
- Industrial / Utilitarian
- Organic / Natural
- Playful / Toy-like
- Maximalist / Chaotic
- Minimalist / Severe
⚠️ Do not blend more than two.
3. Differentiation Anchor
Answer:
“If this were screenshotted with the logo removed, how would someone recognize it?”
This anchor must be visible in the final UI.
4. Aesthetic Execution Choices
Typography
Preserve brand fonts and use system fonts when they improve speed, readability or platform fit
Choose:
- 1 expressive display font
- 1 restrained body font
Use typography structurally (scale, rhythm, contrast)
Color & Theme
Commit to a dominant color story
Use CSS variables exclusively
Prefer:
- One dominant tone
- One accent
- One neutral system
Avoid evenly-balanced palettes
Spatial Composition
Break the grid intentionally
Use:
- Asymmetry
- Overlap
- Negative space OR controlled density
White space is a design element, not absence
Motion
Motion must be:
- Purposeful
- Sparse
- High-impact
Prefer:
- One strong entrance sequence
- A few meaningful hover states
Avoid decorative micro-motion spam
Texture & Depth
Use when appropriate:
- Noise / grain overlays
- Gradient meshes
- Layered translucency
…
常见问题
什么是“DFII”?
这是一种从五个方面评估设计方案的方法:视觉冲击力、与场景的契合度、实现可行性、性能安全性和一致性风险。它可以帮助判断设计好不好,以及是否需要调整。
什么是“差异化锚点”(Differentiation Anchor)?
它是让设计即使不看 logo 也能被一眼认出的主要视觉特征,也就是让设计独一无二的那个“亮点”。
这个代理不应该做什么?
它不应该为了与众不同而替换现有组件,不应该在未检查授权的情况下下载字体,不应该降低无障碍访问性,也不应该为了美观而隐藏重要的操作控件。
详情
作者的原始描述
Design and implement a distinctive frontend within the product’s existing brand, accessibility, performance and framework constraints.
热度
- GitHub 星标
- 48k
- 排名
- #4664
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。