Skip to content
affaan-m avatar

Design System

Generate or audit design systems by extracting tokens, scoring UI consistency, and flagging generic AI design patterns.

CCM score
65 of 100
skills.sh installs
12.1K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two workflows: generating a design system from an existing codebase, and auditing UI for visual consistency before a redesign
  • Outputs DESIGN.md, design-tokens.json, CSS custom properties, and a self-contained design-preview.html with rationale for each decision
  • Scores UI across 10 dimensions (0 to 10 each), including color, typography, spacing, accessibility, and polish, with file:line fixes
  • Designed for teams reviewing PRs that touch styling or starting a new project that needs a consistent visual foundation

Install

$ npx -y skills add affaan-m/ecc --skill design-system -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Design System — Generate & Audit Visual Systems

When to Use

  • Starting a new project that needs a design system
  • Auditing an existing codebase for visual consistency
  • Before a redesign — understand what you have
  • When the UI looks "off" but you can't pinpoint why
  • Reviewing PRs that touch styling

How It Works

Mode 1: Generate Design System

Analyzes your codebase and generates a cohesive design system:

1. Scan CSS/Tailwind/styled-components for existing patterns
2. Extract: colors, typography, spacing, border-radius, shadows, breakpoints
3. Research 3 competitor sites for inspiration (via browser MCP)
4. Propose a design token set (JSON + CSS custom properties)
5. Generate DESIGN.md with rationale for each decision
6. Create an interactive HTML preview page (self-contained, no deps)

Output: DESIGN.md + design-tokens.json + design-preview.html

Mode 2: Visual Audit

Scores your UI across 10 dimensions (0-10 each):

Details

Repository
github.com/affaan-m/ecc
Categories
Design & UI/UX, Frontend & UI Code
First seen
Jul 14, 2026

Questions

What does the design-system skill do?

The design-system skill generates a design system from an existing codebase or audits one for visual consistency. It extracts tokens for colors, typography, spacing and shadows into design-tokens.json, DESIGN.md and an interactive HTML preview, and scores the UI across 10 dimensions while flagging AI-slop patterns.

How do I install the design-system skill?

Run npx -y skills add affaan-m/ecc --skill design-system -y in your project. Once installed, the agent can generate a design system, run a visual audit, or check a UI for generic AI-generated design patterns.

What other skills is design-system compared with in Design & UI/UX?

design-system ranks in the top 50 of the Design & UI/UX category on Claude Marketplaces. Other skills in that category include frontend-design, ui-ux-pro-max, impeccable and design-taste-frontend-v1.

When should I use the design-system skill?

Use it when starting a new project that needs a design system, before a redesign to understand what you already have, or when reviewing a PR that touches styling. It also helps when a UI looks off and you cannot pinpoint why.

More from affaan-m/ecc

All 257

Similar to Design System

More Design & UI/UX