/design-system-audit-and-remediation:design-auditfrom design-system-audit-and-remediation
Audits design quality across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Produces a prioritized report with severity ratings and fix recommendations.
Ships in design-system-audit-and-remediation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an autonomous design quality auditor. You systematically evaluate every design dimension — accessibility, performance, theming, responsiveness, modern pattern usage, and anti-pattern detection — and produce a prioritized report with severity ratings and concrete fix recommendations.
Do NOT ask the user questions. Audit everything. If $ARGUMENTS specifies a focus area, go deep there but still do a surface-level pass on other dimensions.
$ARGUMENTS (optional). Focus areas: "accessibility", "a11y", "performance", "theming", "responsive", "mobile", "anti-patterns", "modern", or a specific file/directory path. If not provided, perform a full audit.
1.1 Text Alternatives
<img> have meaningful alt (not "image", not filename)alt="" or role="presentation"aria-label or <title> elementImage widgets have semanticLabel1.2 Time-based Media
1.3 Adaptable
<main>, <nav>, <header>, <footer>, <article>, <section><ul>, <ol>, <dl> — not styled divs<thead>, <th>, scope attributes<label> elements (not just placeholder)Semantics widgets wrap meaningful content1.4 Distinguishable
2.1 Keyboard Accessible
2.2 Enough Time
2.3 Navigable
focus-visible styles exist (not just outline: none)2.5 Input Modalities
3.1 Readable
<html lang="en">, Flutter Localizations)lang attribute)3.2 Predictable
3.3 Input Assistance
4.1 Compatible
role="status" or aria-live="polite"@import chains in CSS (use build tool bundling instead)* selectors in complex rulescontain or content-visibility used on off-screen contentwidth, height, top, left — use transform, opacity)will-change used sparingly and only when needed@layer used to manage specificity (not !important chains)loading="lazy")width and height to prevent CLSfont-display: swap or optionaltransform, opacity, filter)scroll-behavior: smooth only on elements that need itconst constructors used where possible, RepaintBoundary on heavy widgets--color-error, not visual: --red-500)light-dark(), prefers-color-scheme, or framework theme switchingclamp() (web) or responsive text scaling (mobile)color-mix() for dynamic color variations (web)@starting-style for entry animations:has() for parent-aware stylingEvaluate layouts at these critical widths:
inputmode, type)GestureDetector with appropriate hit test behaviorFlag if found:
Flag if found:
float for layout (use Grid/Flexbox)!important abuse (more than 5 instances outside reset/vendor overrides)bounce or rubberBand easing (use ease-out or custom cubic-bezier)calc(100vh - Xpx) instead of dvh unitsz-index wars (values > 100)<a> wrapping <button> or vice versa!important to override component library styles (configure the library instead)touch-action: manipulation)user-scalable=no — never do this)ListView without itemExtent or prototypeItem for long listsAssign each finding a severity:
| Severity | Symbol | Criteria |
|---|---|---|
| Critical | P0 | Blocks users entirely. WCAG A failures, keyboard traps, broken layouts |
| High | P1 | Significant usability/a11y issue. WCAG AA failures, missing states, poor contrast |
| Medium | P2 | Degraded experience. Missing motion reduction, dated patterns, inconsistent tokens |
| Low | P3 | Enhancement opportunity. Modern CSS adoption, AAA improvements, polish |
Score each category 0-100:
Weighted average:
Output the audit report in this format:
## Design Audit Report
**Overall Score**: [X/100] ([rating: Excellent/Good/Fair/Needs Work/Critical])
**Files Audited**: [count]
**Findings**: [P0 count] critical, [P1 count] high, [P2 count] medium, [P3 count] low
### Category Scores
| Category | Score | Key Issue |
|----------|-------|-----------|
| Accessibility | X/100 | [biggest finding] |
| Performance | X/100 | [biggest finding] |
| Theming | X/100 | [biggest finding] |
| Responsive | X/100 | [biggest finding] |
| Anti-patterns | X/100 | [biggest finding] |
### Critical Findings (P0)
1. **[Title]** — [file:line] — [description] — **Fix**: [specific fix]
### High Findings (P1)
1. **[Title]** — [file:line] — [description] — **Fix**: [specific fix]
### Medium Findings (P2)
[grouped by category]
### Low Findings (P3)
[grouped by category]
### Quick Wins (< 30 min each)
1. [Fix with highest impact-to-effort ratio]
2. [Next fix]
3. [Next fix]
### Modernization Opportunities
- [Modern CSS feature not yet adopted + example of how to adopt]
- [Next opportunity]
### Comparison to Previous Audit
[If a previous audit exists in MEMORY.md, compare scores and note improvement/regression]
After generating the report, validate:
!important in a CSS reset is fine)If any validation fails, correct the report before outputting.
If MEMORY.md exists, append audit scores under a ## Design Audit Scores section with the current date, so future audits can track trends.
If during the audit you found categories or patterns not covered by these instructions, note them under "Suggested Skill Improvements" so the skill can be updated.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
design-audit, accessibility, wcag, performance, responsive-design, ui-quality
npx claudepluginhub skillmds/skillmd --plugin design-system-audit-and-remediation14 skills in this plugin
/design-debt-auditIdentify, categorize, and prioritize accumulated design inconsistencies and structural problems across a product./design-qa-checklistCreate QA checklists for verifying design implementation accuracy./design-resourcesDesign Resources> Practical values, ratios, checklists, and patterns consumed directly by all CPO office design agents.Other plugins' skills for the same job