Skip to content
Kitbay
Skill

tdd

MITUpdated on Nov 11, 202640,760GitHub stars

A short test-driven development reference from oh-my-claudecode. Tests go only at seams agreed in advance, either with the user or, in the project's launch workflow, from an earlier approved step.

What the skill teaches

A short test-driven development reference from oh-my-claudecode. Tests go only at seams agreed in advance, either with the user or, in the project's launch workflow, from an earlier approved step. The agent writes one test, runs it and confirms it fails for the expected reason, makes the smallest change that passes, and repeats. Expected values must come from an independent source such as a spec line or worked example, substitutes are allowed only at a seam's declared boundary, bug fixes begin with a test that reproduces the bug, and refactoring waits for review. If nothing can be tested at an approved seam, it reports that as a finding.

Capabilities

  • Test only at pre-agreed seams
  • Confirm each new test fails for the expected reason
  • Take expected values from an independent source
  • Report behaviour that no approved seam can test