Skip to content
Back to skills

Tdd React

ASecurity

Provides the React testing reference for the tdd skill. Covers test layers, the Vitest projects (node, browser, storybook, storybook-dark), Storybook stories with attached `.test()` behaviors as component tests, vitest-browser-react hook tests, MSW, and Playwright patterns for the frontend package. Use when writing or reviewing tests under apps/web/ as part of a red-green-refactor loop, choosing a test layer, mocking HTTP, or testing a component, hook, or service.

  • 27 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 15, 2026
ai-agentsreactnodetestingfrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add gaia-harness/gaia --skill tdd-react --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tdd React?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tdd React
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gaia-harness-tdd-react-gaia/badge)](https://www.skillsdirectory.com/skills/gaia-harness-tdd-react-gaia)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tdd-react
description: Provides the React testing reference for the tdd skill. Covers test layers, the Vitest projects (node, browser, storybook, storybook-dark), Storybook stories with attached `.test()` behaviors as component tests, vitest-browser-react hook tests, MSW, and Playwright patterns for the frontend package. Use when writing or reviewing tests under apps/web/ as part of a red-green-refactor loop, choosing a test layer, mocking HTTP, or testing a component, hook, or service.
---

# TDD for React (frontend package)

The stack reference the generic `tdd` skill (`.claude/skills/tdd/SKILL.md`) points at for the React frontend. The red-green-refactor loop, the determinism roll-up, and the worthiness audit live in `tdd`; this skill holds only the React and Vitest specifics.

Read `.claude/doctrine/testing.md` before choosing a test: it owns which test to write and at which layer. Then read [references/tests-react.md](references/tests-react.md) for how to write it, before writing the first red test.

Files in this skill

  • SKILL.md1 KB
  • references/tests-react.md22 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.