ckm:design-system

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

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/hontauadrian/sfx-app-empty-test --skill ckm-design-system-hontauadrian
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ckm:design-system
Source: https://github.com/hontauadrian/sfx-app-empty-test/tree/main/.overstory/claude-profiles/reviewer/skills/design-system
Command: npx skills add https://github.com/hontauadrian/sfx-app-empty-test --skill ckm-design-system-hontauadrian

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. This Skill provides a three-layer token architecture (primitive, semantic, component) plus tooling to generate CSS variables, validate token usage, and produce brand-compliant slide decks. ## Core Features & Use Cases - Token Generation & Validation: Convert JSON token configs into CSS variables or Tailwind config, and scan codebases for hardcoded values that violate the token system. - Component Specifications: Reference detailed specs for buttons, inputs, cards, badges, alerts, dialogs, and tables with variants, sizes, and states. - Slide Generation: Build persuasive HTML pitch decks using BM25 search over strategy/layout/copy/chart CSV databases, Chart.js charts, curated Pexels backgrounds, and token compliance validation. - Use Case: A designer needs a 10-slide investor pitch. The Skill searches slide strategies, picks layouts and typography per position, generates token-compliant HTML with Chart.js revenue charts, and validates no hardcoded hex colors remain. ## Quick Start Ask the AI to generate design tokens from the starter JSON config and create a brand-compliant pitch deck using the slide generation 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 generate-tokens.cjs with your JSON config: node generate-tokens.cjs --config tokens.json -o tokens.css. It resolves token references across primitive, semantic, and component layers and can also output a Tailwind color config with --format tailwind.

How to check code for hardcoded colors instead of design tokens?▼

Use the validation scripts to scan HTML or source directories for hex colors, rgb/rgba values, and hardcoded fonts. The HTML validator reports files missing the design-tokens.css import and flags hardcoded values in style blocks and inline styles.

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 like light/dark mode by only redefining the semantic layer.

Can I generate pitch deck slides with charts using HTML?▼

Yes, the slide system generates HTML decks importing design-tokens.css and uses Chart.js for data visualization. It selects layouts, typography, and colors from CSV decision databases based on slide position and emotional arc.

Does the slide generator work without a Pexels API key?▼

Yes, fetch-background.py uses a curated set of pre-selected Pexels image URLs organized by slide type, so no API key or scraping is required. It also generates overlay gradients from your brand colors in design-tokens.json.