Agent skill

af-write-rtl-tests

Write React Testing Library component tests for UI behaviour and accessibility. Use when testing component interactions, verifying accessibility requirements, or validating design contracts from Storybook.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/af-write-rtl-tests

SKILL.md

RTL Component Tests

What to read

When RTL tests are written (Refinement phase, before engineering): → testing-guide.md#test-writing-timeline

React component testing patterns with RTL: → testing-guide.md#react-component-testing

RTL workflow, selector contracts, and component behavior specs: → af-configure-test-frameworks/SKILL.md — see "Workflow: Writing RTL Component Tests"

UX design flow and Storybook integration: → af-design-ui-components/SKILL.md — see "Stage 4: Behavior Locked with Tests"

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results