vibe-ui-methodology

vibe-ui-methodology is a skill for Claude Code, Codex from huangrichao2020/pretty-skills. It costs 401 tokens per session (5,283 once invoked), scanned A, original, MIT.

A set of design rules for creating HTML, CSS, SVG, visualisations, presentations, and PDFs with planned colours, patterns, design tokens, and accessibility checks.

In plain words
What is it for?
It is for guiding colour systems, Chinese-style decorative patterns, prompts, dark mode, and accessibility in visual outputs.
Why use it?
It gives coding agents concrete design constraints instead of leaving visual choices to guesswork.

Skill for Claude CodeCodex

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

Good fit It is for guiding colour systems, Chinese-style decorative patterns, prompts, dark mode, and accessibility in visual outputs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huangrichao2020/pretty-skills/vibe-ui-methodology
Install

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.

Any agent
npx skills add huangrichao2020/pretty-skills --skill vibe-ui-methodology
Clone the repo
git clone --depth 1 https://github.com/huangrichao2020/pretty-skills

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 vibe-ui-methodology

README.md
[![agentmods](https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/vibe-ui-methodology/github.svg)](https://agentmods.dev/skills/huangrichao2020/pretty-skills/vibe-ui-methodology)
Your own site
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/vibe-ui-methodology"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/vibe-ui-methodology/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 vibe-ui-methodology

Your own site · 80×15
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/vibe-ui-methodology"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/vibe-ui-methodology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 401 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,283 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.00401 $0.05283
Opus 5.5 $0.00160 $0.02113
Sonnet 5 $0.00080 $0.01057
Haiku 4.5 $0.00040 $0.00528

Measured 15d ago against content hash 0915173de690, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-28, from the pricing page.

Security

Grade A, and why

vibe-ui-methodology 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 15d 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.

视觉创作/vibe-ui-methodology/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VibeCoding UI 视觉设计方法论

这是所有 HTML/CSS/SVG/可视化输出的方法论总入口。 任何涉及 UI 配色、主题、装饰纹样的任务——橙皮书、可视化看板、新中式网页、信息图——都必须先调用本 skill 拿到配色规范与纹样话术,再动手写代码。

1. 三大设计原则(顶层纪律)

# 原则 来源 一句话
1 配色成系统而非凭感觉 色彩手册 1 主色阶 + 4 语义色 + 1 中性色 ≈ 60 个色值,撑起 100% 界面
2 提示词给参数给规则给禁令 色彩手册 §6.1 模糊形容词让 AI 随机;HSL 参数 + 角色分配 + 禁用清单让 AI 精确
3 纹样用 SVG 不用位图 纹样手册 §1.2 SVG 矢量可缩放/可换色/可平铺;位图不可控

这三条是所有可视化输出的「纪律底线」,违反任何一条就会产出「能用但不好看」。

2. 调用决策树

要生成可视化输出?
│
├─► HTML / SVG / CSS(Web 页面 / 仪表盘)?
│   ├─► 需要配色? → 见 references/color-system.md(通用)/ references/chinese-style-themes.md(国风)
│   ├─► 需要纹样? → 五步描述公式 + assets/patterns/30-patterns.md 话术库
│   ├─► 需要提示词? → templates/color-design-prompt.md / pattern-gen-prompt.md
│   └─► 需要验收? → 第 8 节验收清单 + 附录 A HTML 专项
│
├─► PPT / 演示文稿(配合 tencent-pptx)?
│   ├─► 需要配色? → 见 references/ppt-design.md §2-4(投影对比度修正 + 国风映射)
│   ├─► 需要母版? → 见 references/ppt-design.md §1(A/B/C 三区 + Hero/Supporting 节奏)
│   ├─► 需要纹样装饰? → 见 references/ppt-design.md §5(五种幻灯片用法)
│   └─► 需要验收? → 第 8 节验收清单 + 附录 B PPT 专项
│
├─► PDF / 电子书 / 橙皮书(配合 huashu-book-pdf)?
│   ├─► 需要配色? → 见 references/pdf-design.md §2-5(打印色彩 + 章首页 + 目录)
│   ├─► 需要封面? → 见 references/pdf-design.md §5(国风封面配色方案)
│   ├─► 需要纹样? → 见 references/pdf-design.md §8(PDF 纹样注意事项)
│   └─► 需要验收? → 第 8 节验收清单 + 附录 C PDF 专项
│
└─► 不确定场景?
    └─► 先看 references/color-system.md(通用配色基础),再按场景选分支

3. 三大场景速查

维度 HTML/Web PPT/演示 PDF/书籍
背景 浅色 violet-50 或白色 纯白优先(投影亮) 白或米白(仿宣纸)
对比度 4.5:1 (AA) 7:1+(投影损失) 4.5:1(阅读光充足)
饱和度 30% 40-50%(投影吃色) 25%(打印柔和)
字色 gray-800 gray-800(字号≥18px) 95% 黑 #1A1A1A
底纹透明度 0.03-0.05 0.04-0.06 0.08-0.12(打印)
深色模式 支持 禁止整页深色底 不支持(静态文件)
国风适用 全部 4 主题 浅色版(青花>朱砂金>黛蓝/墨绿浅色版) 全部(青花最佳)

3. 60-30-10 黄金配色比例(最高频规则)

比例 角色 用途 典型应用
60% 主色调 背景与留白 页面背景、卡片底色、留白区域
30% 辅助色 次级区块 卡片表面、导航、侧栏、章节底色
10% 强调色 关键行动点 主按钮、链接、关键数据、当前状态

Read the full file on GitHub · 309 lines

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. 15d ago First seen · 309 lines · 401 tokens per session scan A 0915173de690

Subscribe to this mod's changes

vibe-ui-methodology is a skill published in the GitHub repository huangrichao2020/pretty-skills (54 stars, last pushed 15d ago), licensed MIT. It adds 401 tokens to every session and 5,283 once invoked, about $0.0016 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-09-14.