LogoClawIndex
CasesSkillsAbout
LogoClawIndex

test-driven-development - Guide implementation with the red-green-refactor cycle

Guides behavior changes and bug fixes through failing tests, minimal implementations, refactoring, and full-suite verification.

Tags

Updated: 2026-10-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Discover repository test conventions
  • Write a failing test
  • Implement minimal passing code
  • Refactor without changing behavior
  • Reproduce bugs with tests
  • Run focused and full suites
  • Classify tests by resource size
  • Assert outcomes over interactions
  • Prefer real implementations over mocks
  • Apply Arrange-Act-Assert

Inputs

  • Repository source code
  • Behavior change requirements
  • Repository test commands
  • Test framework configuration

Outputs

  • Failing and passing tests
  • Implementation changes
  • Refactored code
  • Test execution results

Requirements

  • Repository test tooling
  • Code execution environment

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.
test-driven development
software testing
unit testing
integration testing
bug fixing
Discover repository test conventions
Write a failing test
Implement minimal passing code
Refactor without changing behavior
Repository source code
Behavior change requirements
Repository test commands
Failing and passing tests
Implementation changes
Refactored code