cyberneticlibrary

Implement features test-driven

tddcommandsetup L10
sibukixxx/claude-code-skills
What it does

Execute test-driven development cycle with RED → GREEN → REFACTOR flow

Best for

Feature implementation with clear input/output contracts when you want tests to drive design and catch regressions.

Inputs
  • · [object Object]
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
  • · [object Object]
Requires
  • · npm/npx (TS/JS)
  • · pytest (Python)
  • · go test (Go)
  • · test framework (Jest, Vitest, pytest, testify)
Preconditions

Test framework configured and runnable; requirements are clear enough to write test cases

Failure modes
  • · Implementation before tests (breaks TDD cycle)
  • · Tests are too high-level (hard to diagnose failures)
  • · Refactoring breaks tests (not caught because tests skipped)
  • · Test framework setup incomplete
Trust signals
  • · RED phase explicitly warns: do not implement yet
  • · Framework examples provided for 5 languages
  • · TDD cycle diagram shows feedback loop
  • · Refactoring step is mandatory (not optional optimization)