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.
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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?