tdd-cycle

Installation
SKILL.md

TDD Cycle

Execute a complete Red -> Green -> Refactor cycle.

Workflow

1. Verify Task File

Check for .tasks/YYYY-MM-DD-*.md. If missing, create one before proceeding.

2. RED — Write Failing Test

  1. Show test inventory from task file, ask which test to implement
  2. Study patterns from existing tests (unit -> assert_test.sh, doubles -> doubles_test.sh)
  3. Write the failing test following Arrange-Act-Assert
  4. Run: ./bashunit path/to/test.shmust fail
  5. Verify failure is for the RIGHT reason (not syntax error or wrong setup)
  6. Update task file: current red bar + logbook entry
Installs
1
GitHub Stars
1
First Seen
Jul 9, 2026
tdd-cycle — tomevault-io/skills-registry