build-design-system

Generate a Design System SPEC from scales, components, variants, and themes.

5|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/rohunvora/my-claude-skills --skill build-design-system
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: build-design-system
Source: https://github.com/rohunvora/my-claude-skills/tree/main/.claude/skills/build-design-system
Command: npx skills add https://github.com/rohunvora/my-claude-skills --skill build-design-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides building a scalable design system using the Design Graph methodology, covering tokens, typography scales, and theming for consistent UI across products.

Core Features & Use Cases

  • Design Graph: 4 interconnected nodes—Scales, Components, Variants, Themes.
  • Mathematical Typography: Coherent type scales and spacing based on defined rules.
  • Tokens & Theming: Centralized tokens with swappable themes for light/dark modes.
  • Output: A Design System SPEC outlining scales, components, themes, and implementation hints.

Quick Start

Define color/spacing scales, component defaults, and two themes; generate a Design System SPEC.

Frequently Asked Questions about build-design-system

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

FAQPage Schema
How do I create a design system from scratch?▼

Build a design system using the Design Graph methodology by defining color and spacing scales, establishing component defaults, and creating swappable themes. This approach enforces constraint-based rules and scale mappings to ensure consistent visual language across UI projects.

What is the Design Graph methodology for design systems?▼

The Design Graph connects four nodes—Scales, Components, Variants, and Themes—to structure a scalable design system. It uses mathematical typography rules, centralized tokens, and variant definitions to maintain coherent visual systems that support theme switching and multi-product consistency.

How do I establish typography scales and spacing rules?▼

Define mathematical typography by creating coherent type scales and spacing based on constraint-based rules. The Design Graph methodology applies these rules systematically across components, ensuring scalable and consistent spacing relationships throughout your design system.

Can I build a design system that supports light and dark themes?▼

Yes. Centralize design tokens with swappable themes to enable light and dark modes effortlessly. The Design Graph approach structures themes as a core node, allowing you to maintain single component definitions while supporting multiple visual presentations.

What output do I get from building a design system this way?▼

You generate a Design System SPEC documenting scales, components, themes, and implementation hints. This specification provides the blueprint for consistent visual language and guides scalable implementation across your UI projects.

When should I use a design system versus ad-hoc styling?▼

Use a design system when starting a component library, creating design tokens, or structuring themes across multiple UI projects. The constraint-based Design Graph methodology scales to large products while preventing visual inconsistency and reducing maintenance overhead.