File contents Component Auditor
When to activate
User runs /audit-component or requests a comprehensive review of a React/Vue/Angular component for reusability, testability, accessibility, performance, and design system compliance.
When NOT to use
Simple style-only reviews (use /profile-performance instead)
Accessibility-only audits (use /review-a11y instead)
Design token checking alone (use /check-design-system instead)
Instructions
Examine component structure
Single responsibility (one job per component)
Prop interface (clear, documented, not prop drilling)
Internal vs. composed state
Custom hooks extraction opportunity
Test coverage analysis
Identify untested code paths
Suggest test cases for edge cases
Check for mocking patterns
Accessibility review
Semantic HTML usage
ARIA labels and roles
Keyboard navigation
Focus management
Performance analysis
Render optimization (memoization, useMemo, useCallback)
Re-render frequency analysis
Bundle size impact
Design system alignment
Token usage (colors, spacing, typography)
Component name adherence
Storybook export completeness
Produce actionable feedback
3–5 highest-impact refactors
Code examples for each suggestion
Estimated effort (small/medium/large)
Example
User: "Audit this Button component for reuse across the design system."
Response:
Identifies prop drilling opportunity (size, variant, disabled should extract to context)
Suggests 80% test coverage on click handlers and state
Flags missing aria-label for icon-only variants
Recommends memoization if button appears in lists
Confirms color tokens used, suggests adding to Storybook
1 --- 2 name: component-auditor 3 description: Component Auditor 4 metadata: 5 source: https://skillmd.com/skills/uitbreidenos/component-auditor 6 --- 7 # Component Auditor 8 9 ## When to activate 10 11 User runs `/audit-component` or requests a comprehensive review of a React/Vue/Angular component for reusability, testability, accessibility, performance, and design system compliance. 12 13 ## When NOT to use 14 15 - Simple style-only reviews (use `/profile-performance` instead) 16 - Accessibility-only audits (use `/review-a11y` instead) 17 - Design token checking alone (use `/check-design-system` instead) 18 19 ## Instructions 20 21 1. **Examine component structure** 22 - Single responsibility (one job per component) 23 - Prop interface (clear, documented, not prop drilling) 24 - Internal vs. composed state 25 - Custom hooks extraction opportunity 26 27 2. **Test coverage analysis** 28 - Identify untested code paths 29 - Suggest test cases for edge cases 30 - Check for mocking patterns 31 32 3. **Accessibility review** 33 - Semantic HTML usage 34 - ARIA labels and roles 35 - Keyboard navigation 36 - Focus management 37 38 4. **Performance analysis** 39 - Render optimization (memoization, useMemo, useCallback) 40 - Re-render frequency analysis 41 - Bundle size impact 42 43 5. **Design system alignment** 44 - Token usage (colors, spacing, typography) 45 - Component name adherence 46 - Storybook export completeness 47 48 6. **Produce actionable feedback** 49 - 3–5 highest-impact refactors 50 - Code examples for each suggestion 51 - Estimated effort (small/medium/large) 52 53 ## Example 54 55 User: "Audit this Button component for reuse across the design system." 56 57 Response: 58 - Identifies prop drilling opportunity (size, variant, disabled should extract to context) 59 - Suggests 80% test coverage on click handlers and state 60 - Flags missing `aria-label` for icon-only variants 61 - Recommends memoization if button appears in lists 62 - Confirms color tokens used, suggests adding to Storybook
UitbreidenOS/UitKit commit 6c29c96c97
Frequently asked questions How do I install the Component Auditor skill? Run npx get-skill add uitbreidenos/component-auditor in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Component Auditor skill do? Component Auditor It is listed under Web & Frontend on SkillMD.
Is Component Auditor safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Component Auditor? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Component Auditor free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Component Auditor? UitbreidenOS (@uitbreidenos) published this skill. Their other Agent Skills are listed on their SkillMD profile.