Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tranfu-labs/tranfu-skills --skill tranfu-website-designgit clone --depth 1 https://github.com/tranfu-labs/tranfu-skillsWrote 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/tranfu-labs/tranfu-skills/tranfu-website-design)<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/tranfu-website-design"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-website-design/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/tranfu-labs/tranfu-skills/tranfu-website-design"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/tranfu-website-design.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.00156 | $0.06780 |
| Opus 5 | $0.00078 | $0.03390 |
| Sonnet 5 | $0.00031 | $0.01356 |
| Haiku 4.5 | $0.00016 | $0.00678 |
Grade A, and why
tranfu-website-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 9d 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 — 454 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TranFu 网站与产品 UI 设计
在 TranFu React/Vite 官网与产品 UI 的创建、修改、重构、设计评审和 Visual QA 中,执行统一的品牌、组件和响应式规范。
核心约束
- MUST 先确认任务模式、目标和编辑权限,再修改文件。
- MUST 只加载当前任务需要的参考资料,并记录实际加载项。
- MUST 使用本文件定义的权威边界解决跨文件规则,不按“最后读到的规则”覆盖前文。
- MUST 将未执行的校验记录为
not_run并给出原因;NEVER 把静态推断写成视觉检查通过。 - MUST 输出与任务模式对应的命名报告。
- NEVER 凭记忆补齐缺失的设计规则或品牌资源。
- 本 Skill 是 UI 实现与视觉验证的所有者;页面结构由
$tranfu-layout-systems决定。本 Skill MUST 消费布局产物,NEVER 在布局依赖返回后重新进入同一布局调用。
任务模式与完成标准
| 模式 | 典型输入 | 默认权限 | 命名产物 | 完成标准 |
|---|---|---|---|---|
create |
新页面、Section、组件或视觉状态 | 用户要求实现且运行时可写时编辑;否则仅建议补丁 | TRANFU_UI_CHANGE_REPORT |
结构化记录目标、范围、实际变更或建议补丁、规则、偏离和所有适用校验 |
modify |
修改现有页面、组件、样式或资源 | 同上 | TRANFU_UI_CHANGE_REPORT |
同上,并记录未改动的边界 |
refactor |
保持视觉与交互语义的实现重构 | 同上 | TRANFU_UI_CHANGE_REPORT |
同上,并验证共享实现没有意外影响无关页面或状态 |
review |
文件、截图、设计稿或明确 UI 区域 | 仅评审,不修改 | TRANFU_DESIGN_REVIEW |
每条发现包含严重程度、规则、位置、证据、修复方案和验证方式 |
visual_qa |
运行中的应用、截图或明确 UI 状态 | 仅评审;用户要求修复时切换到 modify |
TRANFU_VISUAL_QA_REPORT |
每个适用视口有独立状态和证据,未检查视口不得标记为通过 |
若实现与评审之间存在会改变权限的实质歧义,提出一个简短问题并等待回答;其他可安全推断的细节直接继续。
参考资料与权威边界
权威职责
| 来源 | 唯一负责的决策 | 不得覆盖的内容 |
|---|---|---|
页面级 TRANFU_LAYOUT_DECISION / TRANFU_LAYOUT_REVIEW |
页面类型、主要活动、信息组织、Section 顺序、桌面/移动结构及布局评审发现 | 品牌视觉值、组件样式和品牌资源 |
references/design-spec.md |
设计定位、十大原则、三层视觉层级、Logo 与文案方向 | 模块的具体 Token、组件配方和响应式数值 |
references/tokens.md |
颜色、字体、间距、圆角、阴影、图标和状态的基础值与语义 Token | 组件内容结构和页面容器行为 |
references/cards.md |
组件承载、结构、交互模式、适用状态和组件专属几何配方 | 重定义 Token 值、页面宽度和断点 |
references/responsive-layout.md |
Browser Header、Viewport Band、Content Rail、宽度、断点、栅格、重排、溢出和视口校验 | 品牌色、字体、组件状态语义 |
组件文档中的颜色、字体、间距、圆角、阴影和图标 MUST 引用 tokens.md;只有明确标记为“组件专属几何配方”的高度、宽度或构图尺寸才能由 cards.md 单独定义。
加载路由
- 在做出品牌或 UI 决策前,读取
references/design-spec.md。 - 涉及颜色、字体、间距、圆角、阴影、图标、焦点、状态或主题变量时,读取
references/tokens.md。 - 涉及卡片、按钮、Tabs、标签、表单、列表、表格、菜单、浮层或反馈状态时,读取
references/cards.md。 - 涉及页面宽度、容器、栅格、断点、移动重排、媒体构图或溢出时,读取
references/responsive-layout.md。
若任一必需资料缺失、不可读或内部格式损坏到无法可靠解释,输出 TRANFU_DESIGN_BLOCKER_REPORT 并退出。不要加载与任务无关的模块。
What ships with it
16 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.
- agents/openai.yaml 391 B
- assets/app-icon-primary.svg 1.5 KB
- assets/icon.png 722 B
- assets/icon.svg 745 B
- assets/logo-lockup-h-en-primary-on-light.svg 4.1 KB
- assets/logo-symbol-primary.svg 1.5 KB
- assets/logo-wordmark-primary.svg 2.7 KB
- assets/README.md 714 B
- INSTALL.md 854 B
- README.md 4.4 KB
- README.zh.md 4.1 KB
- references/cards.md 24 KB
- references/design-spec.md 15 KB
- references/responsive-layout.md 9.3 KB
- references/tokens.md 27 KB
- scripts/verify_reicon_icons.py 10 KB runs code
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.
- 9d ago First seen · 454 lines · 156 tokens per session scan A f8f7231bfe3d
tranfu-website-design is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 156 tokens to every session and 6,780 once invoked, about $0.0008 per session on Opus 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-09-03.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
cobejs
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
stitch::react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.
seed-design
An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.
ss-studio
Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI…