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 AXIOTN/frontend-page-generator --skill ui-designgit clone --depth 1 https://github.com/AXIOTN/frontend-page-generatorWrote 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/axiotn/frontend-page-generator/ui-design)<a href="https://agentmods.dev/skills/axiotn/frontend-page-generator/ui-design"><img src="https://agentmods.dev/badge/skills/axiotn/frontend-page-generator/ui-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/axiotn/frontend-page-generator/ui-design"><img src="https://agentmods.dev/badge/skills/axiotn/frontend-page-generator/ui-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.00000 | $0.01235 |
| Opus 5 | $0.00000 | $0.00617 |
| Sonnet 5 | $0.00000 | $0.00247 |
| Haiku 4.5 | $0.00000 | $0.00123 |
Grade A, and why
ui-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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI 设计子技能
概述
提供标准化的 UI 设计规范,包括配色、排版、间距、圆角、阴影等。
配色规范
语义色
- 主色 (Primary): 品牌色,用于CTA、链接、选中状态
- 辅色 (Secondary): 辅助色,用于次要操作、标签
- 成功 (Success): #22c55e (绿色-500)
- 警告 (Warning): #f59e0b (琥珀-500)
- 错误 (Error): #ef4444 (红色-500)
- 信息 (Info): #3b82f6 (蓝色-500)
背景色
- 浅色背景: #f8fafc (石板色-50)
- 卡片背景: #ffffff (白色)
- 深色背景: #0f172a (石板色-900)
文字色
- 主文字: #1e293b (石板色-800)
- 次文字: #64748b (石板色-500)
- 浅色文字: #94a3b8 (石板色-400)
常用配色方案
| 风格 | 主色 | 适用场景 |
|---|---|---|
| 专业蓝 | #3b82f6 | 企业、SaaS、工具 |
| 活力橙 | #f97316 | 电商、促销、社交 |
| 自然绿 | #22c55e | 健康、环保、农业 |
| 智慧紫 | #8b5cf6 | 教育、创意、科技 |
| 简约灰 | #6b7280 | 工具、效率、中性 |
| 热情红 | #ef4444 | 娱乐、游戏、紧急 |
Tailwind CSS 配置模板
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a'
}
}
}
}
}
排版规范
字体栈
- 中文: "PingFang SC", "Microsoft YaHei", sans-serif
- 英文: "Inter", system-ui, sans-serif
- 代码: "Fira Code", monospace
字号阶梯
- xs: 12px | sm: 14px | base: 16px | lg: 18px
- xl: 20px | 2xl: 24px | 3xl: 30px | 4xl: 36px
字重
- Regular: 400 | Medium: 500 | Semibold: 600 | Bold: 700
间距系统 (4px基准)
- space-1: 4px | space-2: 8px | space-3: 12px | space-4: 16px
- space-5: 20px | space-6: 24px | space-8: 32px | space-10: 40px
- space-12: 48px | space-16: 64px | space-20: 80px | space-24: 96px
圆角规范
- rounded-sm: 4px | rounded: 6px | rounded-md: 8px | rounded-lg: 12px
- rounded-xl: 16px | rounded-2xl: 24px | rounded-full: 9999px
阴影规范
- shadow-sm: 0 1px 2px rgba(0,0,0,0.05)
- shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06)
- shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06)
- shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05)
- shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04)
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 · 106 lines · 0 tokens per session scan A fd1ee98c0b6f
ui-design is a skill published in the GitHub repository AXIOTN/frontend-page-generator (12 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,235 tokens. 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
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…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
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.
reveal-hover-effect
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
better-colors
Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.