test-driven-development

Enforce red-green-refactor cycles for test-driven development workflows.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/xiaoshuangLi/aibo --skill test-driven-development-xiaoshuangli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/xiaoshuangLi/aibo/tree/main/skills/test-driven-development
Command: npx skills add https://github.com/xiaoshuangLi/aibo --skill test-driven-development-xiaoshuangli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Strict Test-Driven Development (TDD) discipline ensures tests are written before implementation, converting requirements into executable specifications and reducing downstream defects.

Core Features & Use Cases

  • Establishes the Red-Green-Refactor cycle to guide incremental design and safe refactoring.
  • Applies to feature development, bug fixes, and API design to ensure test coverage and maintainable code.
  • Helps teams translate user stories into concrete tests before coding to align expectations and reduce rewrites.

Quick Start

Write a failing test that captures the desired behavior, implement the minimal code to pass it, and iterate to improve design while keeping all tests green.

Frequently Asked Questions about test-driven-development

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

FAQPage Schema
How does test-driven development improve code quality during refactoring?▼

Test-driven development improves code quality by establishing the red-green-refactor cycle, ensuring executable tests verify behavior before implementation and maintain safe refactoring throughout software projects.

What is the best way to start writing unit testing before feature creation?▼

The best way to start unit testing before feature creation is writing a failing test that captures desired behavior, implementing minimal code to pass it, and iterating to improve software design.

Can I apply test-driven development workflows for bug fixes and API design?▼

Yes, you can apply test-driven development workflows for bug fixes and API design to ensure test coverage, translate user stories into concrete tests, and reduce downstream defects across software projects.

How do I convert user stories into executable specifications using TDD?▼

You convert user stories into executable specifications using TDD by writing failing tests that capture desired behavior before implementation, aligning expectations to reduce rewrites and ensure correctness.

When do I need strict TDD discipline instead of writing tests after implementation?▼

You need strict TDD discipline instead of writing tests after implementation when converting requirements into executable specifications is necessary to reduce downstream defects and ensure correctness before coding.