test-driven-development

Enforce a test-driven development workflow with failing tests before implementation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bjconlan/burndown --skill test-driven-development-bjconlan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/bjconlan/burndown/tree/main/.gemini/skills/test-driven-development
Command: npx skills add https://github.com/bjconlan/burndown --skill test-driven-development-bjconlan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill promotes test-driven development to ensure features are validated by automated tests before coding, reducing regressions and guiding design.

Core Features & Use Cases

  • Red-Green-Refactor cycle: Write a failing test, implement minimal code to pass, then refactor while preserving behavior.
  • Usage scenarios: Ideal for new features, bug fixes, refactoring, and behavior changes where verifiable outcomes are essential.
  • Quality safeguards: Encourages small, testable units and fast feedback loops to improve code reliability.

Quick Start

Write one failing test first, then implement the minimal code to pass.

Frequently Asked Questions about test-driven-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the red-green-refactor cycle in test-driven development?

Test-driven development reduces regressions and guides design by ensuring features are validated by automated tests before implementation. Writing tests first guarantees reliable, regression-safe code across new features, bug fixes, and refactoring tasks.

How do I implement test-driven development for new software features?

To implement test-driven development for new features, write one failing test first, then implement the minimal code required to pass that test. Finally, refactor the code while keeping the tests green to maintain reliable behavior.

When should I use unit testing and test-driven development for bug fixes?

Use unit testing and test-driven development for bug fixes when you need verifiable outcomes and regression-safe code. It enforces writing a failing test that reproduces the bug before applying the minimal code fix to pass it.

Does test-driven development work for refactoring existing code?

Test-driven development works for refactoring by keeping tests green while you modify the internal structure of existing code. It encourages small, testable units and fast feedback loops to preserve behavior and improve code reliability.

What are the limitations of enforcing a test-driven development workflow?

A limitation of enforcing test-driven development is the strict requirement to write failing tests first before any implementation. This practice may slow down initial coding speed for rapid prototyping where immediate verifiable outcomes are not essential.