go-tdd-baby-steps

Installation
SKILL.md

Go TDD Baby Steps

Test-Driven Development using the smallest possible increments, with Go idioms.

Three Laws of TDD

  1. Don't write production code until you have a failing test
  2. Don't write more test code than is sufficient to fail (compilation failures count)
  3. Don't write more production code than is sufficient to pass the currently failing test

These laws create a tight feedback loop: write a tiny test, watch it fail, write just enough code to pass.

Red-Green-Refactor

  1. Red - Write a small test that fails
  2. Green - Write the minimal code to make it pass
  3. Refactor - Clean up while keeping tests green

Each cycle should take ~2 minutes. If longer, the step is too big.

Related skills
Installs
10
GitHub Stars
14
First Seen
Feb 24, 2026