macanderson

React Test — Testing skill for Claude Code

Testing community

Enforce TDD workflow for React.

How to install React Test

Installs to ~/.claude/skills/macanderson-agent-harness-react-test/SKILL.md

Terminal
mkdir -p ~/.claude/skills/macanderson-agent-harness-react-test && curl -fsSL https://raw.githubusercontent.com/macanderson/agent-harness/HEAD/commands/react-test.md -o ~/.claude/skills/macanderson-agent-harness-react-test/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What React Test does


description: Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first), then implement components. Detects Vitest or Jest and verifies coverage targets.

React TDD Command

This command enforces test-driven development for React using React Testing Library plus Vitest or Jest, detected at runtime.

What This Command Does

  1. Define Component Signature: Scaffold the component, prop type, and exports
  2. **Write Behavior Tests F

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • #29 — #52, #103) 92.5k ★
  • Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★

Full documentation available on GitHub

View Source Repository