LogoClawIndex
CasesSkillsAbout
LogoClawIndex

tdd-red-green-refactor - Enforce TDD Red Green Refactor Workflow for Testable Code Changes

Enforces TDD workflow (red → green → refactor) for any code change that should be covered by tests

Tags

Updated: 2026-02-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Read source code
  • Grep test files
  • Glob find tests
  • Edit test files
  • Write new tests
  • Run test commands
  • Refactor code
  • Report test results

Inputs

  • Code changes
  • Test framework
  • Source code
  • Test files

Outputs

  • Failing test reports
  • Passing test reports
  • Refactored code
  • Test command logs

Requirements

  • Vitest test framework
  • Turborepo environment
  • Bun runtime
  • Read access to codebase
  • Write access to test files
  • Bash execution capability

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
testing
refactoring
workflow
quality
automation
Read source code
Grep test files
Glob find tests
Edit test files
Code changes
Test framework
Source code
Failing test reports
Passing test reports
Refactored code