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
- 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 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.
Q Validate
Full validation of Spec-Kit-Plus workflow - checks order, artifacts, and detects violations
Related Agents
Creo Unit Test
Unit and integration test specialist using Vitest, Jest, and Testing Library for components, hooks, and stores
Grays Run
Mechanical test runner (Haiku tier). Auto-detects pytest, jest, vitest, playwright. Runs tests, reports pass/f
Fe Test Runner
Dedicated test execution. Returns only a categorized summary, keeping failure stack traces out of the parent c