React Test — Testing skill for Claude Code
Enforce TDD workflow for React.
How to install React Test
Installs to ~/.claude/skills/macanderson-agent-harness-react-test/SKILL.md
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
- Define Component Signature: Scaffold the component, prop type, and exports
- **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 RepositoryRelated Skills
Frontend Test Pattern Skill
Claude Code skill for React + Vite projects — auto-generates Vitest & Testing Library tests for utils, compone
Coverage Guard
An AI agent skill that enforces 100% test coverage for any JavaScript/TypeScript project. Works with Vitest, J
Test New
Generate test files for Jest, Vitest, or Playwright
Ix Impact
Change risk analysis — blast radius, affected systems, and what to test. Depth scales with risk level; low-ris
Build And Test
Build and test Granita the sanctioned way — package tests, then both app targets.
Agm QA
Verify an artifact under a product-read-only, execution-restricted QA contract. Use for ตรวจรับ, QA, verify ตา
Related Agents
Creo Unit Test
Unit and integration test specialist using Vitest, Jest, and Testing Library for components, hooks, and stores
Frontend Test Engineer
Use this agent when you need to create, review, or improve unit tests for React frontend components, hooks, an
Grays Run
Mechanical test runner (Haiku tier). Auto-detects pytest, jest, vitest, playwright. Runs tests, reports pass/f