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 echoVic/boss-skill --skill component-specificationgit clone --depth 1 https://github.com/echoVic/boss-skillWrote 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/echovic/boss-skill/component-specification)<a href="https://agentmods.dev/skills/echovic/boss-skill/component-specification"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/component-specification/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/echovic/boss-skill/component-specification"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/component-specification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00029 | $0.03188 |
| Opus 5.5 | $0.00012 | $0.01275 |
| Sonnet 5.5 | $0.00006 | $0.00638 |
| Haiku 4.5 | $0.00003 | $0.00319 |
Grade A, and why
ui-designer/component-specification 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 24d 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 — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI组件规范
适用场景
基于设计系统,定义可复用的UI组件规范,确保组件在不同场景下的一致性和完整性。
组件设计原则
- 完整性:考虑所有状态(默认、悬停、按下、聚焦、禁用、加载、错误)
- 一致性:同类组件使用相同的设计语言
- 可访问性:支持键盘导航、屏幕阅读器
- 响应式:适配不同屏幕尺寸
基础组件规范
1. 按钮 (Button)
变体
| 变体 | 用途 | 视觉特征 |
|---|---|---|
| Primary | 主要操作(每个区域最多1个) | 实心,品牌色背景,白色文字 |
| Secondary | 次要操作 | 描边,透明背景,品牌色文字 |
| Ghost | 低优先级操作 | 无边框,透明背景,灰色文字 |
| Danger | 危险操作(删除、清空) | 实心,红色背景,白色文字 |
| Link | 文本链接 | 无背景,品牌色文字,下划线 |
尺寸
| 尺寸 | 高度 | 内边距 | 字号 | 圆角 | 最小宽度 |
|---|---|---|---|---|---|
| sm | 32px | 12px 16px | 14px | 6px | 64px |
| md | 40px | 12px 20px | 16px | 8px | 80px |
| lg | 48px | 16px 24px | 16px | 8px | 96px |
状态
| 状态 | Primary 背景 | Primary 文字 | 边框 | 其他 |
|---|---|---|---|---|
| 默认 | Primary |
White |
- | - |
| 悬停 | Primary-hover |
White |
- | cursor: pointer |
| 按下 | Primary-active |
White |
- | transform: scale(0.98) |
| 聚焦 | Primary |
White |
2px Primary 外发光 | outline |
| 禁用 | Gray-200 |
Gray-400 |
- | cursor: not-allowed, opacity: 0.6 |
| 加载 | Primary |
- | - | 显示 spinner,文字隐藏 |
图标按钮
| 属性 | 值 |
|---|---|
| 尺寸 | 32px / 40px / 48px(正方形) |
| 图标大小 | 16px / 20px / 24px |
| 圆角 | radius-md 或 radius-full(圆形) |
代码示例
// 主按钮
<Button variant="primary" size="md">确认</Button>
// 次要按钮
<Button variant="secondary" size="md">取消</Button>
// 危险按钮
<Button variant="danger" size="md">删除</Button>
// 禁用状态
<Button variant="primary" size="md" disabled>确认</Button>
// 加载状态
<Button variant="primary" size="md" loading>提交中</Button>
// 带图标
<Button variant="primary" size="md" icon={<IconCheck />}>保存</Button>
// 图标按钮
<IconButton variant="ghost" size="md" icon={<IconClose />} />
2. 输入框 (Input)
尺寸
| 尺寸 | 高度 | 内边距 | 字号 | 圆角 |
|---|---|---|---|---|
| sm | 32px | 8px 12px | 14px | 6px |
| md | 40px | 10px 14px | 16px | 8px |
| lg | 48px | 12px 16px | 16px | 8px |
状态
| 状态 | 边框颜色 | 背景色 | 其他 |
|---|---|---|---|
| 默认 | Gray-300 |
White |
- |
| 悬停 | Gray-400 |
White |
- |
| 聚焦 | Primary |
White |
2px Primary 外发光 |
| 错误 | Error |
White |
显示错误提示 |
| 禁用 | Gray-200 |
Gray-50 |
cursor: not-allowed |
| 只读 | Gray-200 |
Gray-50 |
- |
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.
- 24d ago Changed · +2 lines 0eceb5533283
- 1mo ago First seen · 379 lines · 29 tokens per session scan A 4b9e6bc3e11b
ui-designer/component-specification is a skill published in the GitHub repository echoVic/boss-skill (543 stars, last pushed 6d ago), licensed MIT. It adds 29 tokens to every session and 3,188 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
color-expert
Use when working with color naming, color theory, color spaces, color definitions, or any task involving color knowledge - palettes, ramps, gradients, conversions, accessibility, perceptual matching, pigment mixing, print-vs-screen color, CSS color syntax, or historical color terminology. Use this skill whenever the…
create-chatgpt-mockup
Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…
create-workflow-diagram
Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component Prismer HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
logo-generator
Deprecated compatibility entry for Logo construction. This component is now maintained in Bricks; install and use component-builder to build a new Logo.