skills/i-audit/SKILL.md
Use when the user says: "audit this UI", "frontend quality", "full UI audit", "design audit". Comprehensive audit of interface quality across accessibility, performance, theming, and responsive design.
npx skillsauth add NodeJSmith/Claudefiles i-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Read ~/.claude/skills/i-frontend-design/SKILL.md for design principles and anti-patterns. Check for design context (design/context.md, .impeccable.md, or design/direction.md) — if found, use it to inform brand-specific judgments. If no context exists, proceed anyway but note in the report: "No design context found — anti-pattern checks are universal only; brand-specific judgments may not apply. Run /i-teach-impeccable to establish context."
Audits are read-only diagnostics — they should never be blocked by missing context.
Run comprehensive checks across multiple dimensions:
Accessibility (A11y) - Check for:
Performance - Check for:
Theming - Check for:
Responsive Design - Check for:
Anti-Patterns (CRITICAL) - Check against the anti-patterns reference. Look for AI slop tells and general design anti-patterns documented there.
CRITICAL: This is an audit, not a fix. Document issues thoroughly with clear explanations of impact. Use other commands (polish, optimize, harden, etc.) to fix issues after audit.
Create a detailed audit report with the following structure:
Start here. Pass/fail: Does this look AI-generated? List specific tells from the anti-patterns reference. Be brutally honest.
For each issue, document:
/i-colorize/i-layout/i-typeset/i-animate/i-optimize/i-adapt/i-polish/i-harden/i-clarify/i-quieter/i-bolder/i-polish[Issues that block core functionality or violate WCAG A]
[Significant usability/accessibility impact, WCAG AA violations]
[Quality issues, WCAG AAA violations, performance concerns]
[Minor inconsistencies, optimization opportunities]
Identify recurring problems:
Note what's working well:
Create actionable plan:
Group findings by the skill that would fix them, using the routing from the per-finding "Suggested command" field. Example:
/i-polish to align with design system (addresses N theming issues)"/i-adapt to fix responsive problems (addresses N mobile/touch issues)"/i-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:
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.
Run get-skill-tmpdir i-audit and write the audit report to <tmpdir>/audit-YYYY-MM-DD.md. Then summarize in conversation:
development
Use when the user says: "document how X works", "write up how this works", "durable explanation", "explain this for the docs", "document this subsystem". Writes a durable, architectural-altitude explanation that survives code churn.
development
Use when picking up a fresh session after /clear, a stop, or an unanswered AskUserQuestion. Reconstructs the prior session's intent from its transcript tail and surfaces any unresolved decision; user-invoked only — for a hand-written end-of-day handoff use /mine-good-morning instead.
development
Use when the user says: "what did we discuss", "continue where we left off", "remember when", "as I mentioned", "you suggested", "we decided", "search my conversations", "find the conversation where", "what did we work on", or uses implicit signals like past-tense references, possessives without context, or assumptive questions. Direct search over past Claude Code sessions via cass.
tools
Use when the user says: "what context do I have", "relevant history for this task", "what have we done related to this". Also usable proactively when starting work that likely has prior history. Assembles a structured context brief from past session history via cass, scoped to the current task and workspace.