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

  • Cc Sdd — Spec-driven development (SDD) for your team's workflow 3.1k ★
  • Langgraphjs — by langchain-ai - Offers comprehensive build and test commands with detailed TypeScript style guidelines, laye 2.7k ★
  • RocketSimApp — RocketSim — 30+ tools for Xcode's iOS Simulator 791 ★

Full documentation available on GitHub

View Source Repository