Borrowing it
Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/02_Designer_FrontendImplementation/SKILL.mdgit clone --depth 1 https://github.com/boshi-xixixi/TraeSkillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation)<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.03451 |
| Opus 5.5 | $0.00048 | $0.01380 |
| Sonnet 5.5 | $0.00024 | $0.00690 |
| Haiku 4.5 | $0.00012 | $0.00345 |
Grade A, and why
frontend-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚠️ 性能提示: 此 Skill 专注于设计理念和美学规范,不包含具体的实现代码。设计阶段完成后,配合 ReactBestPractices Skill 进行性能优化。
核心设计理念:拒绝 AI 塑料感
什么是"AI 塑料感"?
AI 生成的界面往往呈现出一致的"塑料感"特征:过度使用的字体、无特色的配色、可预测的布局。这些特征让界面看起来"正确"但毫无灵魂。
核心原则:每个设计都应该有明确的美学观点,而不是通用的"AI 风格"。
必须避免的"AI 塑料感"特征
| 反模式 | 问题 | 替代方案 |
|---|---|---|
| 过度使用的字体 | Arial, Inter, Roboto | 选择独特字体:JetBrains Mono, Playfair Display, Space Grotesk |
| 陈腐的配色 | #4F46E5 (蓝紫), 彩虹渐变 | 建立有性格的调色板:单色主导 + 锐利点缀色 |
| 可预测的布局 | 12 栏网格、卡片墙、英雄区 + 功能区 | 不对称、意外的空間构图、大胆的负空间 |
| 通用的动效 | 淡入淡出、基本悬停效果 | 意图明确的微交互、高影响时刻的动画 |
| 缺乏深度 | 纯色背景、无纹理 | 大气背景、微妙渐变、情境细节 |
设计思维框架(Design Before Code)
在编写任何代码之前,必须建立大胆的美学方向:
四个核心问题
1. PURPOSE(目的)
- 这个界面解决什么问题?
- 目标用户是谁?
- 用户的情感需求是什么?
2. TONE(调性)
选择一个大胆的美学方向:
- 极简主义(Minimalist)
- 极繁主义(Maximalist)
- 复古未来主义(Retro-Futuristic)
- 粗犷主义(Brutalist)
- 有机自然(Organic)
- 科技感(Tech/Cyberpunk)
- 手工质感(Handcrafted)
3. CONSTRAINTS(限制)
- 技术限制(浏览器支持、性能要求)
- 品牌规范(如果有)
- 无障碍要求(WCAG 等级)
4. DIFFERENTIATION(独特性)
- 什么让这个设计令人难忘?
- 用户离开后会记得什么?
- 有什么意想不到的元素?
CRITICAL: 选择一个清晰的概念方向并精确执行。大胆的极繁主义和精致的极简主义都可以——关键是意图明确,而非强度高低。
界面从题材里长出来
做 App 原型或落地页时,先回答一个问题:这个产品管的那件事,在现实里长什么样? 界面从那个形状里长出来,而不是从组件的默认样子里长出来。
八条可用的范式:
| 范式 | 意思 |
|---|---|
| 界面即世界 | 整屏就是那件事本身,不是它的列表 |
| 签名物件 | 有一个只属于这个产品的核心物件(旋钮、印章、卡片、胶囊) |
| 时间有形状 | 时长、进度用长度或刻度表达,不用百分比数字 |
| 一套语义色 | 每种颜色有固定含义,不随页面变 |
| 内容当主角 | 图和文字占版面主体,装饰退后 |
| AI 落在物上 | AI 能力附着在具体对象上,不是单独的聊天框 |
| 角色承载状态 | 用角色或形象表达状态,不用状态标签 |
| 可达性定形式 | 尺寸、对比度、触点先定,再谈风格 |
反向清单——这些是"AI 做的"最强信号:
- 紫蓝渐变 + 玻璃拟态当默认背景
- 占掉主屏的聊天气泡框
- 每张卡片一个不同颜色的圆角图标
- 五个 tab 平均用力,看不出主次
- 暖奶油底 + 高反差衬线标题 + 陶土色点缀(这是模型的默认审美,跟题材无关)
借一层,不借一身。 参考一个优秀作品时,拆成三层看:它在解决什么问题、用什么结构解决的、长成什么样。只借中间那层(结构),配色、字体、形状一律从你自己的题材里重新长。
做完之后把自己的图和参照并排摆回去,问一句:熟悉原作的人会不会说这是它的新版本?会,就把长相换掉重做。
该是图的地方放真图。 不要用 emoji、手绘 SVG、灰色方块顶替图片,这对观感的影响远大于多数细节。有生图能力就生成几张挑一张;没有就用本机工具或开放许可的真实素材;实在没有,留占位并明确告诉用户"这里需要一张图",而不是塞一个假图标。
范式与借鉴方法整理自 huashu-design 3.4(MIT,https://github.com/alchaincyf/huashu-design),基于两届 App Store Awards 90 个入围作品的界面分析。
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 358 lines · 121 tokens per session scan A aee65e132f7e
frontend-design is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 121 tokens to every session and 3,451 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
frontend-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-designboshi-xixixi/TraeSkill | Skill | 288 | 9d ago | MIT | A | 121 | Claude Code, Codex |
| frontend-architectSarthib7/agentsmith | Skill | 11 | 1mo ago | none | A | 81 | Claude Code, Codex |
| web-design-engineerConardLi/garden-skills | Skill | 16k | 11d ago | MIT | A | 96 | Codex |
| website-design-clonerroedyrustam/vibes-plug | Skill | 129 | 3d ago | MIT | A | 32 | Cursor |
| designRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 67 | Claude Code |
| generic-react-design-systemtravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 59 | Claude Code |
| shadcn-uigiuseppe-trisciuoglio/developer-kit | Skill | 372 | 2mo ago | MIT | A | 74 | Claude Code |