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.
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.
"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"
识别重复出现的问题:
"15+个组件中存在硬编码颜色,应使用设计令牌"
"移动端体验中触摸目标持续过小(<44px)"
"所有自定义交互组件均缺失焦点指示器"
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 appropriate commands:
"Use
/normalize
to align components with design system (addresses 23 theming issues)"
"Use
/optimize
to improve performance (addresses 12 performance issues)"
"Use
/harden
to improve i18n and text handling (addresses 8 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.