TraeSkill: Skill for Claude Code

.trae/Skills/02_Designer_FrontendImplementation/SKILL.md

frontend-design is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 121 tokens per session (3,451 once invoked), scanned A, original, MIT.

A guide to designing web pages, applications, and reusable interface components before writing the implementation. It focuses on choosing a clear visual direction, layout, typography, colours, and interaction style.

In plain words
What is it for?
Use it to plan websites, landing pages, dashboards, React components, and other web interfaces, including their visual style and overall structure.
Why use it?
It helps avoid generic-looking interfaces and design decisions that do not reflect the product, its users, or its constraints.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is boshi-xixixi/TraeSkill's own configuration. It tells Claude Code and Codex how to work on TraeSkill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TraeSkill configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/02_Designer_FrontendImplementation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for frontend-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/02_designer_frontendimplementation)
Your own site
<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.

agentmods 80×15 button for frontend-design

Your own site · 80×15
<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>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,451 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash aee65e132f7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.trae/Skills/02_Designer_FrontendImplementation/SKILL.md · 358 lines

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 个入围作品的界面分析。

Read the full file on GitHub · 358 lines

Files

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.

Changes

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.

  1. 8d ago First seen · 358 lines · 121 tokens per session scan A aee65e132f7e

Subscribe to this mod's changes

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.

Related

frontend-design compared with skills from other repositories

frontend-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-designboshi-xixixi/TraeSkillSkill2889d agoMITA121Claude Code, Codex
frontend-architectSarthib7/agentsmithSkill111mo agononeA81Claude Code, Codex
web-design-engineerConardLi/garden-skillsSkill16k11d agoMITA96Codex
website-design-clonerroedyrustam/vibes-plugSkill1293d agoMITA32Cursor
designRune-kit/runeSkill962d agoMITA67Claude Code
generic-react-design-systemtravisjneuman/.claudeSkill115yesterdayMITA59Claude Code
shadcn-uigiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA74Claude Code