Audit an existing component for agent-readiness
When to use: Your support chatbot or QA agent keeps missing the right button.
Flow
-
Feed Claude the componentReview this Checkout.tsx against ai-friendly-web-design principles. Flag severity.✓ Copied→ Ranked list: critical (hover-only submit) -> minor (missing aria-live)
-
Apply the fixesApply all critical + major fixes, keep visuals identical.✓ Copied→ Patched component + a diff summary
Outcome: A component that's still pretty for humans and reachable for agents.
Pitfalls
- Adding data-testid everywhere without convention — Follow the skill's naming convention (
data-testid='<area>-<action>') or they drift