test-driven-development

Enforce the Red-Green-Refactor cycle requiring failing tests before implementation.

116|9|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/elophanto/EloPhanto --skill test-driven-development-elophanto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-driven-development
Source: https://github.com/elophanto/EloPhanto/tree/main/skills/test-driven-development
Command: npx skills add https://github.com/elophanto/EloPhanto --skill test-driven-development-elophanto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces a strict test-first workflow where developers must write a failing test before implementing any feature, preventing code being written before tests exist.

Core Features & Use Cases

  • Enforces the Red-Green-Refactor cycle for every feature.
  • Encourages incremental, test-driven implementation to improve reliability.
  • Ideal for teaching, onboarding, and maintaining code quality in teams.

Quick Start

Begin by writing a failing test for the feature, then implement the minimal code to pass, and finally refactor.

Frequently Asked Questions about test-driven-development

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

FAQPage Schema
How do I enforce a test-driven development workflow for my software engineering team?

The Red-Green-Refactor cycle is a test-driven development workflow where you write a failing test, implement minimal code to pass it, and then refactor. This skill automates enforcing this strict test-first process for individual features and modules.

What is the Red-Green-Refactor cycle and how does it improve code quality?

The Red-Green-Refactor cycle is a test-driven development workflow where you write a failing test, implement minimal code to pass it, and then refactor. This skill automates enforcing this strict test-first process for individual features and modules.

Do I need a specific testing framework to automate the test-first workflow?

Yes, automating the test-first workflow requires an existing testing framework in your environment. The skill relies on this framework to validate tests and guide the incremental implementation of your features.

Can I use this automated TDD workflow for onboarding and teaching software engineering?

Yes, this automated TDD workflow is ideal for teaching and onboarding. It enforces disciplined coding practices by requiring adherence to the Red-Green-Refactor process, making it perfect for educational contexts.

When should I not use a strict test-driven development approach?

A strict test-driven development approach might not suit exploratory prototyping where requirements are highly volatile. It is designed for disciplined feature implementation and requires adherence to the Red-Green-Refactor process.