tdd-red - Write failing tests for the TDD Red phase
Writes and runs one failing test per approved scenario, creating only colocated tests and minimal import-safe stubs without implementing behavior.
Tags
Updated: 2026-10-07Capabilities
What this skill does
- Read approved issue scenarios
- Create colocated failing tests
- Create minimal module stubs
- Run tests one scenario at a time
- Verify intended failure reasons
- Run the full web test suite
Inputs
- GitHub issue number
- Approved issue document
- Signature definitions
- Approved test scenarios
- User confirmation
Outputs
- Colocated test files
- Minimal stub files
- Scenario-level failing test results
- Full web test results
- Green-phase handoff state
Requirements
- Vitest test harness
- React Testing Library
- jsdom environment
- pnpm web workspace
- User approval to proceed
