affaan-m avatar

Design System

Scans your codebase to either generate a design system from scratch or audit what you already have. It extracts tokens from your CSS/Tailwind, checks competitor sites for inspiration, and outputs a complete design.md with rationale plus an interactive preview page. The audit mode is the real gem: scores your UI across 10 dimensions like color consistency and spacing rhythm, then flags exact file and line numbers where things break down. There's also a "slop detection" mode that calls out generic AI patterns like gratuitous purple gradients and pointless glassmorphism. Honest take: most codebases accumulate visual inconsistency over time, and this gives you a structured way to see the damage before a refactor.

skills.sh installs
6K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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):

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Git & Pull Requests, Code Review & Quality, Design & UI/UX
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1grafana avatargrafana-ossgrafana/skillsConfigure Grafana OSS — provisions dashboards from YAML, sets up data sources (Prometheus / Loki / Tempo / Pyroscope), writes dashboard JSON with template varia6Kskills.sh installs
2forcedotcom avatardx-code-analyzer-configureforcedotcom/sf-skillsSet up, configure, and troubleshoot Salesforce Code Analyzer for any project. Handles installation, prerequisite checks, diagnosing broken setups, creating and 5.9Kskills.sh installs
3rorkai avatarasc-whats-new-writerrorkai/app-store-connect-cli-skillsGenerate engaging, localized App Store release notes (What's New) from git log, bullet points, or free text using canonical metadata under `./metadata`. Optiona5.9Kskills.sh installs
4dimillian avatarswiftui-liquid-glassdimillian/skillsImplement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing 5.9Kskills.sh installs
5affaan-m avatarreact-performanceaffaan-m/eccReact and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills). Organi5.9Kskills.sh installs
6forcedotcom avataragentforce-architecture-analyzeforcedotcom/sf-skillsDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable arch5.9Kskills.sh installs