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