From plugin-hive
Generate W3C Design Token JSON from an existing brand-system YAML, plus a visual HTML preview of the tokens in use. Gates on .pHive/brand/brand-system.yaml. Not for establishing a new brand identity (use /brand-system).
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-hive:design-systemThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert a brand system into implementation-ready W3C Design Token JSON.
Convert a brand system into implementation-ready W3C Design Token JSON.
Input: $ARGUMENTS optionally contains additional token categories to generate beyond the defaults.
See hive/references/skill-prelude.md — standard skill preamble (persona / config / memory loading).
Check .pHive/brand/brand-system.yaml:
If the check fails, display this message and stop:
No brand system found. Run
/hive:brand-systemfirst to establish colors, typography, and spacing before generating design tokens.
See hive/references/ui-skill-gates.md for the full gate specification.
Read .pHive/brand/brand-system.yaml in full.
Read hive/agents/ui-designer.md in full.
Read and cite hive/references/ui-prompts/design-system.md as the canonical ui-designer task prompt.
Inject the following placeholder values before passing to the subagent: none.
Spawn a subagent with the full ui-designer persona (hive/agents/ui-designer.md) and the rendered prompt body.
Design System Complete
Artifacts:
Source: .pHive/brand/brand-system.yaml
Tokens: .pHive/brand/tokens.json
Preview: .pHive/brand/tokens-preview.html ← OPEN THIS TO SEE TOKENS IN USE
Token categories generated:
color — {count} tokens
typography — {count} tokens
spacing — {count} tokens
border-radius — {count} tokens
Compatible with: Tailwind CSS, Style Dictionary, Figma Token plugin, W3C Design Token importers.
To view:
open .pHive/brand/tokens-preview.html
Next: Tokens are ready for frontend-developer to apply via Tailwind config or CSS custom properties.
hive/references/html-preview-format.md — HTML preview format for tokens-preview.htmlhive/agents/ui-designer.md — agent persona for token generationhive/references/ui-skill-gates.md — gate specification for design-system.pHive/architecture/ui-team-skills-arch.md — W3C token format specificationGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub firefly-events/plugin-hive --plugin plugin-hive