brandkit

GitHub

根据品牌简报生成完整的可访问性设计系统,包含DTCG令牌、主题CSS及WCAG合规验证。

.claude/skills/brandkit/SKILL.md plugin87/ux-ui-agent-skills

Trigger Scenarios

需要从零构建品牌基础设计系统 创建新的调色板或类型系统 为产品生成可主题化的令牌套件

Install

npx skills add plugin87/ux-ui-agent-skills --skill brandkit -g -y
More Options

Non-standard path

npx skills add https://github.com/plugin87/ux-ui-agent-skills/tree/main/.claude/skills/brandkit -g -y

Use without installing

npx skills use plugin87/ux-ui-agent-skills@brandkit

指定 Agent (Claude Code)

npx skills add plugin87/ux-ui-agent-skills --skill brandkit -a claude-code -g -y

安装 repo 全部 skill

npx skills add plugin87/ux-ui-agent-skills --all -g -y

预览 repo 内 skill

npx skills add plugin87/ux-ui-agent-skills --list

SKILL.md

Frontmatter
{
    "name": "brandkit",
    "description": "Generate a complete, accessible brand design system from a brief — primitive → semantic → component DTCG tokens (color, type, spacing, radius, shadow, motion), light + dark, plus a single theme.css — verified for WCAG. Use when the user wants a from-scratch brand\/design foundation, a new palette + type system, or a themeable token kit for a product."
}

Skill: Brand Kit

Stand up the foundation (one token system everything renders from) before any screen. Get this right and every page stays consistent and themeable from one place.

Steps

  1. Brief Inference (mandatory) — name the industry, audience, the one mood adjective, and motion depth (taste/design-taste.md → Brief Inference). Pick an anchoring archetype from taste/aesthetic-systems.md.
  2. Primitives — generate the brand color ramp in OKLCH (11 shades, consistent chroma) + a neutral ramp; verify the 500 shade ≥ 4.5:1 on white (text) and 600 ≥ 3:1 (UI) per CLAUDE.md Color Generation.
  3. Semantic layer — map roles to primitives: action.primary/-hover/destructive, text.{primary,secondary,on-action,link}, surface.{page,card,raised}, border.{default,strong}, feedback.{success,warning,error,info} — and the dark overrides (designed, not inverted).
  4. Scales — Major Third type scale + composite text styles, 4px spacing scale, radius tiers, elevation, and tokens/motion.json-style durations/easings.
  5. Emit the DTCG tokens/*.json (3-tier) + a single theme.css (the one shared source, [data-theme="dark"] overrides). Optionally feed the token-build pipeline (token-build skill) for other platforms.

Verification (definition of done)

  • python3 scripts/validate_tokens.py — valid JSON, all aliases resolve.
  • python3 scripts/validate_contrast.py — required text/action/border pairs pass WCAG AA in light AND dark; border.strong ≥ 3:1.
  • python3 scripts/validate_theme_refs.py — every component var(--…) resolves to the theme.
  • One theme, no per-page palettes; destructive = danger token (not primary); zero hardcoded values.

Output is a verified token foundation — the measurable part is provable (run npm run verify). Brand "feel" still benefits from a human review against taste/design-taste.md.

Version History

  • 93a7fbb Current 2026-07-25 07:40

Same Skill Collection

.claude/skills/a11y-audit/SKILL.md
.claude/skills/apply-aesthetic/SKILL.md
.claude/skills/design-code/SKILL.md
.claude/skills/design-component/SKILL.md
.claude/skills/design-qa/SKILL.md
.claude/skills/design-review/SKILL.md
.claude/skills/design-tokens/SKILL.md
.claude/skills/figma-integration/SKILL.md
.claude/skills/governance/SKILL.md
.claude/skills/image-to-code/SKILL.md
.claude/skills/migrate-design-system/SKILL.md
.claude/skills/performance/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/redesign/SKILL.md
.claude/skills/token-build/SKILL.md
.claude/skills/ux-writing/SKILL.md

Metadata

Files
0
Version
93a7fbb
Hash
47f27dd2
Indexed
2026-07-25 07:40

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:14
浙ICP备14020137号-1 $mapa de visitantes$