ckm:design-system

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

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/timikalo7/Execute --skill ckm-design-system-timikalo7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ckm:design-system
Source: https://github.com/timikalo7/Execute/tree/main/.claude/skill-library/design-system
Command: npx skills add https://github.com/timikalo7/Execute --skill ckm-design-system-timikalo7

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 with a three-layer token architecture (primitive, semantic, component) and generates token-compliant CSS, component specs, and slide decks. ## Core Features & Use Cases - Design Token Generation: Convert a JSON token config into CSS variables or Tailwind theme config, with automatic reference resolution and dark-mode support. - Component Specifications: Detailed specs for buttons, inputs, cards, badges, alerts, dialogs, and tables covering variants, sizes, states, and anatomy. - Slide Deck Generation: Build brand-compliant HTML presentations using design tokens, Chart.js, BM25 slide search, and a contextual decision system with emotion-arc pattern breaking. - Token Validation: Scan HTML and source code for hardcoded colors and fonts that violate token usage. - Use Case: You need a 10-slide investor pitch deck that matches your brand. The Skill queries its strategy and layout CSVs, generates token-compliant HTML slides with Chart.js charts, and validates the output for hardcoded values. ## 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 ckm: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 JSON config: node generate-tokens.cjs --config tokens.json -o tokens.css. It resolves token references like {primitive.color.blue.600} and outputs primitive, semantic, and component layers, plus a dark-mode block.

How do I create a pitch deck with design tokens and Chart.js?

Use the generate-slide.py script with a JSON file describing your slides, or run it with --demo for a sample deck. Slides import design-tokens.css, use CSS variables exclusively, and render charts with Chart.js 4.

What is a three-layer design token architecture?

It separates raw primitive values (hex colors, spacing) from semantic aliases (primary, muted) and component-specific tokens (button-bg). This structure enables theme switching and per-component customization without touching raw values.

Can I convert design tokens to a Tailwind config?

Yes, run generate-tokens.cjs with --format tailwind to output a Tailwind color config that maps semantic tokens to CSS variables. Add the output to your tailwind.config.ts theme.extend.colors section.

How do I check HTML files for hardcoded colors instead of tokens?

Run html-token-validator.py against your slides or infographics directories. It flags hex, rgb, and hsl values outside script blocks, verifies the design-tokens.css import, and reports files missing sufficient var() usage.

Does the slide generator require a Pexels API key for background images?

No, fetch-background.py uses a curated set of pre-selected Pexels image URLs organized by slide type. It also generates brand-colored overlay gradients from your design-tokens.json without any API key.