LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-07

Capabilities

Typical Inputs

Typical Outputs

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
TDD
Red phase
Vitest
React Testing Library
failing tests
test stubs
Read approved issue scenarios
Create colocated failing tests
Create minimal module stubs
Run tests one scenario at a time
GitHub issue number
Approved issue document
Signature definitions
Colocated test files
Minimal stub files
Scenario-level failing test results