audit
它能做什么
这项技能教智能体如何检查用户界面的质量问题,并把它们记录在报告中。它检查无障碍、速度、配色主题以及不同屏幕尺寸下的布局,且不做任何修复。
适用场景
- ✓当团队希望在重新设计或发布之前获得一份界面问题的书面清单的时候。
- ✓当设计师或开发者要求对页面或组件进行无障碍检查的时候。
- ✓当团队希望获得一份带有严重程度评级的主题与响应式问题报告的时候。
技能链接
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/audit/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请审查我们的产品页面的无障碍和响应式问题,并给我一份按优先级排列的报告。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在无障碍、性能、主题和响应式设计等方面扫描界面,然后按严重程度为每个问题评级。它会撰写包含建议的报告,且不改动代码。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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: /animate, /quieter, /optimize, /adapt, /clarify, /distill, /delight, /onboard, /normalize, /audit, /harden, /polish, /extract, /bolder, /critique, /colorize — 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)
常见问题
它会修复发现的问题吗?
不会。这项技能说明只记录问题,修复由其他命令处理。
它使用什么对比度标准?
这项技能检查文字对比度是否至少为 4.5:1,严格级别则为 7:1。
它会使用设计原则吗?
会。它要求智能体使用前端设计技能来获取原则和反模式。
详情
作者的原始描述
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design. Generates detailed report of issues with severity ratings and recommendations.
热度
- GitHub 星标
- 5.5k
- 排名
- #14799
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
clone-website
5.5k帮你的智能体把网站的布局、样式和内容重建为一个新项目,逐个板块进行,并为每个部分保存一份规格说明。
critique
5.5k帮你的智能体以设计总监的视角点评界面,检查视觉层级、信息流,以及设计是否显得千篇一律或像 AI 生成的。
migrate-radix-to-base
5.5k帮你的智能体逐步把 React 组件从 Radix UI 迁移到 Base UI,并在每个阶段保持项目可以正常构建。
prettify
5.5k帮你的智能体通过小而集中的设计改动,让现有页面或屏幕显得更精致、更丰富,而无需完全重新设计。