
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-codeInstalls 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- Browser Qa6K
- Springboot Security6K
- Search First6K
- Nextjs Turbopack6K
- Brand Voice6K
- Jira Integration6K
- Laravel Tdd6K
- Fastapi Patterns6K
- Remotion Video Creation6K
- React Patterns5.9K
- Perl Security5.9K
- Kotlin Coroutines Flows5.9K
- React Performance5.9K
- Kotlin Patterns5.9K
- Architecture Decision Records5.9K
- Deployment Patterns5.8K
- React Testing5.8K
- Pytorch Patterns5.8K
- Hexagonal Architecture5.8K
- Flutter Dart Code Review5.8K
- Frontend A11y5.8K
- Error Handling5.8K
- Ui Demo5.8K
- Agentic Engineering5.8K