What problem does it solve?
Building reliable software is hard when tests lag behind code. This Skill enforces a test-first workflow, guiding teams to write failing tests before implementation and track them through structured cycles.
Core Features & Use Cases
- TDD Cycle Guidance: Orchestrates the RED-GREEN-REFACTOR pipeline with persistence and visibility using a molecule-based workflow.
- Molecule-based Task Management: Provides reusable, repeatable task templates to standardize test creation, execution, and auditing.
- Use Case: When adding a new feature, define an epic, then apply a TDD cycle to drive test creation, implementation, and refactoring while preserving history.
Quick Start
Create a new Feature with BD, pin an Epic, and start a TDD cycle using the prebuilt molecule:
- bd search "user authentication"
- bd create "Feature: User Authentication" --type epic --estimate 180
- EPIC_ID=<id>
- bd molecule apply tdd-cycle --vars feature="login with valid credentials"
- bd ready
- ... and continue through RED, GREEN, and REFACTOR phases.