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
TDDRed phaseVitestReact Testing Libraryfailing teststest stubs

Capabilities

Read approved issue scenariosCreate colocated failing testsCreate minimal module stubsRun tests one scenario at a time

Typical Inputs

GitHub issue numberApproved issue documentSignature definitions

Typical Outputs

Colocated test filesMinimal stub filesScenario-level failing test results

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.