Run systematic quality checks and generate a comprehensive audit report with prioritized issues and actionable recommendations. Don't fix issues - document them for other commands to address.
First: Use the frontend-design skill for design principles and anti-patterns.
Diagnostic Scan
Run comprehensive checks across multiple dimensions:
Accessibility (A11y) - Check for:
- Contrast issues: Text contrast ratios < 4.5:1 (or 7:1 for AAA)
- Missing ARIA: Interactive elements without proper roles, labels, or states
- Keyboard navigation: Missing focus indicators, illogical tab order, keyboard traps
- Semantic HTML: Improper heading hierarchy, missing landmarks, divs instead of buttons
- Alt text: Missing or poor image descriptions
- Form issues: Inputs without labels, poor error messaging, missing required indicators
Performance - Check for:
- Layout thrashing: Reading/writing layout properties in loops
- Expensive animations: Animating layout properties (width, height, top, left) instead of transform/opacity
- Missing optimization: Images without lazy loading, unoptimized assets, missing will-change
- Bundle size: Unnecessary imports, unused dependencies
- Render performance: Unnecessary re-renders, missing memoization
Theming - Check for:
- Hard-coded colors: Colors not using design tokens
- Broken dark mode: Missing dark mode variants, poor contrast in dark theme
- Inconsistent tokens: Using wrong tokens, mixing token types
- Theme switching issues: Values that don't update on theme change
Responsive Design - Check for:
- Fixed widths: Hard-coded widths that break on mobile
- Touch targets: Interactive elements < 44x44px
- Horizontal scroll: Content overflow on narrow viewports
- Text scaling: Layouts that break when text size increases
- Missing breakpoints: No mobile/tablet variants
Anti-Patterns (CRITICAL) - Check against ALL the DON'T guidelines in the frontend-design skill. Look for AI slop tells (AI color palette, gradient text, glassmorphism, hero metrics, card grids, generic fonts) and general design anti-patterns (gray on color, nested cards, bounce easing, redundant copy).
CRITICAL: This is an audit, not a fix. Document issues thoroughly with clear explanations of impact. Use other commands (normalize, optimize, harden, etc.) to fix issues after audit.
Generate Comprehensive Report
Create a detailed audit report with the following structure:
Anti-Patterns Verdict
Start here. Pass/fail: Does this look AI-generated? List specific tells from the skill's Anti-Patterns section. Be brutally honest.
Executive Summary
- Total issues found (count by severity)
- Most critical issues (top 3-5)
- Overall quality score (if applicable)
- Recommended next steps
Detailed Findings by Severity
For each issue, document:
- Location: Where the issue occurs (component, file, line)
- Severity: Critical / High / Medium / Low
- Category: Accessibility / Performance / Theming / Responsive
- Description: What the issue is
- Impact: How it affects users
- WCAG/Standard: Which standard it violates (if applicable)
- Recommendation: How to fix it
- Suggested command: Which command to use (prefer: /extract, /distill, /arrange, /harden, /clarify, /critique, /delight, /onboard, /colorize, /animate, /audit, /quieter, /bolder, /typeset, /polish, /normalize, /overdrive, /adapt, /optimize — or other installed skills you're sure exist)
Critical Issues
[Issues that block core functionality or violate WCAG A]
High-Severity Issues
[Significant usability/accessibility impact, WCAG AA violations]
Medium-Severity Issues
[Quality issues, WCAG AAA violations, performance concerns]
Low-Severity Issues
[Minor inconsistencies, optimization opportunities]
Patterns & Systemic Issues
Identify recurring problems:
- "Hard-coded colors appear in 15+ components, should use design tokens"
- "Touch targets consistently too small (<44px) throughout mobile experience"
- "Missing focus indicators on all custom interactive components"
Positive Findings
Note what's working well:
- Good practices to maintain
- Exemplary implementations to replicate elsewhere
Recommendations by Priority
Create actionable plan:
- Immediate: Critical blockers to fix first
- Short-term: High-severity issues (this sprint)
- Medium-term: Quality improvements (next sprint)
- Long-term: Nice-to-haves and optimizations
Suggested Commands for Fixes
Map issues to available commands. Prefer these: /extract, /distill, /arrange, /harden, /clarify, /critique, /delight, /onboard, /colorize, /animate, /audit, /quieter, /bolder, /typeset, /polish, /normalize, /overdrive, /adapt, /optimize. You may also suggest other installed skills you're sure exist, but never invent commands.
Examples:
- "Use
/normalize to align with design system (addresses N theming issues)"
- "Use
/optimize to improve performance (addresses N performance issues)"
- "Use
/harden to improve resilience (addresses N edge cases)"
IMPORTANT: Be thorough but actionable. Too many low-priority issues creates noise. Focus on what actually matters.
NEVER:
- Report issues without explaining impact (why does this matter?)
- Mix severity levels inconsistently
- Skip positive findings (celebrate what works)
- Provide generic recommendations (be specific and actionable)
- Forget to prioritize (everything can't be critical)
- Report false positives without verification
Remember: You're a quality auditor with exceptional attention to detail. Document systematically, prioritize ruthlessly, and provide clear paths to improvement. A good audit makes fixing easy.
1---2name: audit-113description: Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design. Generates detailed report of issues with severity ratings and recommendations.4---5
6Run systematic quality checks and generate a comprehensive audit report with prioritized issues and actionable recommendations. Don't fix issues - document them for other commands to address.
7
8**First**: Use the frontend-design skill for design principles and anti-patterns.
9
10## Diagnostic Scan
11
12Run comprehensive checks across multiple dimensions:
13
141. **Accessibility (A11y)** - Check for:
15 - **Contrast issues**: Text contrast ratios < 4.5:1 (or 7:1 for AAA)
16 - **Missing ARIA**: Interactive elements without proper roles, labels, or states
17 - **Keyboard navigation**: Missing focus indicators, illogical tab order, keyboard traps
18 - **Semantic HTML**: Improper heading hierarchy, missing landmarks, divs instead of buttons
19 - **Alt text**: Missing or poor image descriptions
20 - **Form issues**: Inputs without labels, poor error messaging, missing required indicators
21
222. **Performance** - Check for:
23 - **Layout thrashing**: Reading/writing layout properties in loops
24 - **Expensive animations**: Animating layout properties (width, height, top, left) instead of transform/opacity
25 - **Missing optimization**: Images without lazy loading, unoptimized assets, missing will-change
26 - **Bundle size**: Unnecessary imports, unused dependencies
27 - **Render performance**: Unnecessary re-renders, missing memoization
28
293. **Theming** - Check for:
30 - **Hard-coded colors**: Colors not using design tokens
31 - **Broken dark mode**: Missing dark mode variants, poor contrast in dark theme
32 - **Inconsistent tokens**: Using wrong tokens, mixing token types
33 - **Theme switching issues**: Values that don't update on theme change
34
354. **Responsive Design** - Check for:
36 - **Fixed widths**: Hard-coded widths that break on mobile
37 - **Touch targets**: Interactive elements < 44x44px
38 - **Horizontal scroll**: Content overflow on narrow viewports
39 - **Text scaling**: Layouts that break when text size increases
40 - **Missing breakpoints**: No mobile/tablet variants
41
425. **Anti-Patterns (CRITICAL)** - Check against ALL the **DON'T** guidelines in the frontend-design skill. Look for AI slop tells (AI color palette, gradient text, glassmorphism, hero metrics, card grids, generic fonts) and general design anti-patterns (gray on color, nested cards, bounce easing, redundant copy).
43
44**CRITICAL**: This is an audit, not a fix. Document issues thoroughly with clear explanations of impact. Use other commands (normalize, optimize, harden, etc.) to fix issues after audit.
45
46## Generate Comprehensive Report
47
48Create a detailed audit report with the following structure:
49
50### Anti-Patterns Verdict
51**Start here.** Pass/fail: Does this look AI-generated? List specific tells from the skill's Anti-Patterns section. Be brutally honest.
52
53### Executive Summary
54- Total issues found (count by severity)
55- Most critical issues (top 3-5)
56- Overall quality score (if applicable)
57- Recommended next steps
58
59### Detailed Findings by Severity
60
61For each issue, document:
62- **Location**: Where the issue occurs (component, file, line)
63- **Severity**: Critical / High / Medium / Low
64- **Category**: Accessibility / Performance / Theming / Responsive
65- **Description**: What the issue is
66- **Impact**: How it affects users
67- **WCAG/Standard**: Which standard it violates (if applicable)
68- **Recommendation**: How to fix it
69- **Suggested command**: Which command to use (prefer: /extract, /distill, /arrange, /harden, /clarify, /critique, /delight, /onboard, /colorize, /animate, /audit, /quieter, /bolder, /typeset, /polish, /normalize, /overdrive, /adapt, /optimize — or other installed skills you're sure exist)
70
71#### Critical Issues
72[Issues that block core functionality or violate WCAG A]
73
74#### High-Severity Issues
75[Significant usability/accessibility impact, WCAG AA violations]
76
77#### Medium-Severity Issues
78[Quality issues, WCAG AAA violations, performance concerns]
79
80#### Low-Severity Issues
81[Minor inconsistencies, optimization opportunities]
82
83### Patterns & Systemic Issues
84
85Identify recurring problems:
86- "Hard-coded colors appear in 15+ components, should use design tokens"
87- "Touch targets consistently too small (<44px) throughout mobile experience"
88- "Missing focus indicators on all custom interactive components"
89
90### Positive Findings
91
92Note what's working well:
93- Good practices to maintain
94- Exemplary implementations to replicate elsewhere
95
96### Recommendations by Priority
97
98Create actionable plan:
991. **Immediate**: Critical blockers to fix first
1002. **Short-term**: High-severity issues (this sprint)
1013. **Medium-term**: Quality improvements (next sprint)
1024. **Long-term**: Nice-to-haves and optimizations
103
104### Suggested Commands for Fixes
105
106Map issues to available commands. Prefer these: /extract, /distill, /arrange, /harden, /clarify, /critique, /delight, /onboard, /colorize, /animate, /audit, /quieter, /bolder, /typeset, /polish, /normalize, /overdrive, /adapt, /optimize. You may also suggest other installed skills you're sure exist, but never invent commands.
107
108Examples:
109- "Use `/normalize` to align with design system (addresses N theming issues)"
110- "Use `/optimize` to improve performance (addresses N performance issues)"
111- "Use `/harden` to improve resilience (addresses N edge cases)"
112
113**IMPORTANT**: Be thorough but actionable. Too many low-priority issues creates noise. Focus on what actually matters.
114
115**NEVER**:
116- Report issues without explaining impact (why does this matter?)
117- Mix severity levels inconsistently
118- Skip positive findings (celebrate what works)
119- Provide generic recommendations (be specific and actionable)
120- Forget to prioritize (everything can't be critical)
121- Report false positives without verification
122
123Remember: You're a quality auditor with exceptional attention to detail. Document systematically, prioritize ruthlessly, and provide clear paths to improvement. A good audit makes fixing easy.