General

design-audit - Claude MCP Skill

DESIGN-AUDIT

SEO Guide: Enhance your AI agent with the design-audit tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to design-audit ... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟1 stars • 1 forks
📥0 downloads

Documentation

SKILL.md
---
description: Audit current design system for consistency and debt
---

# DESIGN-AUDIT

Analyze the current design system for violations, gaps, and inconsistencies.

## What This Does

1. **Inventory tokens** — Colors, typography, spacing, shadows
2. **Check consistency** — Are tokens used consistently?
3. **Find violations** — Hardcoded values, magic numbers
4. **Assess accessibility** — WCAG compliance
5. **Report debt** — Design debt that's accumulated

## Process

### 1. Load Design Skills

```
Skill("design-tokens")           # Token patterns
Skill("web-design-guidelines")   # Vercel standards
```

### 2. Extract Current Tokens

Scan for design token definitions:
- Tailwind config (`tailwind.config.ts`, `globals.css`)
- CSS variables
- Theme files
- Component defaults

### 3. Audit Token Usage

For each token category:

**Colors**:
- Are colors from the palette? Or hardcoded hex?
- Is there semantic naming (primary, error, success)?
- Dark mode support?

**Typography**:
- Font scales defined?
- Consistent heading hierarchy?
- Line heights appropriate?

**Spacing**:
- Spacing scale in use?
- Magic numbers in margins/padding?

**Components**:
- Consistent component patterns?
- Reusable primitives?
- Duplicated styles?

### 4. Accessibility Check

```
/rams — Score current state
```

Check:
- Color contrast (WCAG AA minimum)
- Focus states
- Touch targets
- Screen reader support

### 5. Report Findings

```markdown
## Design Audit: [Project Name]

### Token Inventory
- Colors: [count] defined, [violations] hardcoded
- Typography: [count] scales, [violations] magic sizes
- Spacing: [count] values, [violations] arbitrary

### Consistency Score: [X]/100

### Critical Issues
- [ ] [Issue] - [location] - [fix]

### Debt Items
- [ ] [Tech debt] - [impact] - [effort]

### RAMS Score: [X]/100

### Recommendations
1. [Priority fix]
2. [Improvement]
```

## Diagram Documentation

For design system diagrams (component hierarchy, token relationships), use `/beautiful-mermaid` for production-quality renders.

## Output

Audit report ready. Next: `/design` to explore new directions or fix issues.

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
phrazzld/claude-config
Author
phrazzld
Last Sync
3/2/2026
Repo Updated
3/1/2026
Created
1/24/2026

Reviews (0)

No reviews yet. Be the first to review this skill!