design-compose

Enforce design-system consistency by validating components and tokens after each file write.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/de6eling/ai-skills --skill design-compose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-compose
Source: https://github.com/de6eling/ai-skills/tree/main/.claude/skills/design-compose
Command: npx skills add https://github.com/de6eling/ai-skills --skill design-compose

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Enforces design-system consistency when building user interfaces by ensuring components and tokens are used correctly, preventing drift.

Core Features & Use Cases

  • Automated enforcement: validates that built UIs rely on existing components and design tokens rather than raw HTML or custom components.
  • Live validation: runs token and import checks after each file write, catching issues early.
  • Governance over new components: flags undocumented components and prompts catalog updates to keep the design system authoritative.

Quick Start

Ask Claude Code to compose a UI page using existing components and tokens.

Frequently Asked Questions about design-compose

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

FAQPage Schema
How do I enforce design-system consistency during frontend UI builds?

Enforce design-system consistency by running automated checks that validate design tokens and prevent undocumented components after each file write. This ensures UI builds rely on existing components rather than raw HTML, catching drift early via logs.

How do I validate design tokens automatically when constructing UI components?

Validate design tokens automatically by triggering validation scripts after each write operation. The checks read configuration files like paths.json and composition-rules.json to ensure token usage complies with the design system.

What's the best way to prevent undocumented components in a design system?

Prevent undocumented components by enabling automated governance checks that flag new components and prompt catalog updates. This keeps the design system authoritative by ensuring all components are mapped in component-map.json before use.

Can I use automated checks to stop raw HTML usage in frontend layouts?

Automated checks can stop raw HTML usage by validating imports and token application after each file write. Scripts like check-imports.py ensure components and pages rely on existing design system elements rather than custom code.

Do I need configuration files to run design system validation?

Configuration files are required to run design system validation. The automated checks read paths.json, component-map.json, and composition-rules.json to understand valid tokens, components, and rules before providing feedback via logs.

Why does my UI composition trigger design system drift warnings?

UI composition triggers drift warnings when validation scripts detect raw HTML, missing design tokens, or undocumented components. The automated checks run after each write to flag these issues and prompt catalog updates for compliance.