design-system

Generates three-layer design tokens, component specifications, and brand-compliant HTML slide decks.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/Alountk/Bloodbowl_Project --skill design-system-alountk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-system
Source: https://github.com/Alountk/Bloodbowl_Project/tree/main/.opencode/skills/design-system
Command: npx skills add https://github.com/Alountk/Bloodbowl_Project --skill design-system-alountk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Maintaining visual consistency across components and presentations is hard when colors, spacing, and typography are hardcoded everywhere. This Skill establishes a single source of truth for design tokens and enforces their use in components and generated slides. ## Core Features & Use Cases - Three-Layer Token Architecture: Define primitive, semantic, and component tokens in JSON, then generate CSS variables or Tailwind config automatically. - Component Specifications: Reference detailed specs for buttons, inputs, cards, badges, alerts, dialogs, and tables with states, variants, and sizing. - Slide Generation: Build brand-compliant HTML pitch decks using decision-system CSVs (layouts, typography, color logic, copywriting formulas), Chart.js charts, and curated background images, then validate token compliance. - Use Case: Create a 10-slide investor pitch deck where every color and font references your design tokens, then run the validator to catch any hardcoded hex values before sharing. ## Quick Start Ask the AI to generate a brand-compliant pitch deck or generate CSS design tokens from the starter JSON template using the included scripts.

Frequently Asked Questions about design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate CSS variables from a design tokens JSON file?▼

Run the generate-tokens.cjs script with your token JSON config and an output path. It resolves token references across primitive, semantic, and component layers and emits CSS custom properties, with an optional Tailwind format for theme configuration.

How do I create a pitch deck that follows my brand guidelines?▼

Use the slide generation workflow: the decision-system CSVs map your goal to layouts, typography scales, and color treatments, then generate HTML slides importing design-tokens.css. Validate the result with the token validator script to catch hardcoded values.

What is a three-layer design token architecture?▼

It separates primitive tokens (raw values like hex colors), semantic tokens (purpose aliases like primary), and component tokens (component-specific values like button background). Each layer references the one below, enabling theme switching by changing only the semantic layer.

Does the slide generator support charts and background images?▼

Yes, slides integrate Chart.js for data visualization and a fetch-background script provides curated Pexels images per slide type with brand-color overlay gradients. All chart colors and overlays derive from the token definitions.

Why does the HTML token validator flag my slide file?▼

The validator rejects hardcoded hex, rgb, and hsl colors plus hardcoded font families outside script blocks. Replace them with var() references to design tokens; brand-color rgba values for transparency and external font URLs are allowed exceptions.