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