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