From supervibe
Use WHEN brandbook is approved AND frontend implementation needs theme to export brandbook tokens to framework-specific format (Tailwind/MUI/CSS vars/Style Dictionary). Triggers: 'выгрузи токены', 'export tokens', 'tailwind theme', 'нужна тема'.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
Before exporting or auditing tokens, run project memory, code search, and internal `supervibe:design-intelligence` lookup for brand-to-token sync, token drift, component states, and stack handoff evidence. Approved design-system tokens remain source of truth.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Before exporting or auditing tokens, run project memory, code search, and internal supervibe:design-intelligence lookup for brand-to-token sync, token drift, component states, and stack handoff evidence. Approved design-system tokens remain source of truth.
WHEN:
.supervibe/artifacts/prototypes/_design-system/tokens.css and .supervibe/artifacts/prototypes/_design-system/manifest.json exist with confidence ≥9)NOT for: ad-hoc one-off color changes (those go through brandbook update first).
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
.supervibe/artifacts/prototypes/_design-system/tokens.css (or tokens.json)supervibe:stack-discovery outputtailwind.config.js theme.extendsrc/theme/index.ts createTheme()frontend/src/styles/tokens.csstokens/ source filesFrontend framework?
├─ Tailwind CSS → tailwind.config.js theme.extend.{colors,spacing,fontSize,...}
├─ MUI → createTheme({ palette, typography, spacing, ... })
├─ Chakra → extendTheme({ colors, ... })
├─ vanilla CSS → :root { --token-name: value; }
├─ Style Dictionary → tokens.json source → multi-format build
└─ Other → CSS vars (universal fallback)
Token category mapping:
├─ Color tokens → palette / colors
├─ Spacing tokens → spacing scale (Tailwind: 0.5rem increments; MUI: 8px units)
├─ Typography tokens → fontFamily + fontSize + fontWeight + lineHeight
├─ Radius tokens → borderRadius scale
├─ Shadow/elevation → boxShadow scale
├─ Motion tokens → transition + easing (where supported)
brand-primary not blue-600)--brand-primary: <value>; flat namespaceReturns:
brand-primary stays)supervibe:brandbook — produces inputagents/_design/prototype-builder — maintains brandbook tokensagents/stacks/nextjs/nextjs-developer — consumer (uses generated theme)agents/stacks/react/react-implementer — consumer