tdd-implement

Automate feature development through strict Red-Green-Refactor test-first cycles.

7.5k|1.8k|Updated Nov 10, 2013
One-click install
npx skills add https://github.com/FastLED/FastLED --skill tdd-implement-fastled
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-implement
Source: https://github.com/FastLED/FastLED/tree/main/.claude/skills/tdd-implement
Command: npx skills add https://github.com/FastLED/FastLED --skill tdd-implement-fastled

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces a strict test-driven development workflow to ensure requirements are validated by tests before any code is written, reducing defects and rework.

Core Features & Use Cases

  • Analyze requirements and break them into testable behaviors
  • Write tests first (Red) and implement minimal code (Green) before refactoring
  • Iterate through Red-Green-Refactor cycles until requirements are satisfied
  • Use for feature requests, bug fixes, or enhancements that require test coverage

Quick Start

Provide a clear feature request or bug description and run the agent to perform a complete Red-Green-Refactor cycle.

Frequently Asked Questions about tdd-implement

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

FAQPage Schema
How do I implement a feature using strict test-driven development?

Test-driven development implements features by writing tests first, creating minimal code to pass, and refactoring. This workflow automates the Red-Green-Refactor cycle to ensure requirements are validated before code is written, reducing defects.

Can I use the Red-Green-Refactor cycle for fixing bugs and enhancements?

Yes, the Red-Green-Refactor cycle applies to bug fixes and enhancements. It guides you to write tests that capture the expected behavior first, implement minimal code changes to pass, and refactor for end-to-end integration verification.

What is the best way to break down requirements into testable behaviors?

The best way to break down requirements into testable behaviors is through structured analysis. This workflow analyzes your feature request, explicitly defines testable behaviors upfront, and validates them through strict test-first cycles.

How does test-first workflow improve software engineering quality assurance?

Test-first workflow improves quality assurance by enforcing strict validation before implementation. By writing tests first and iterating through minimal code implementation, it ensures requirements are met and reduces rework caused by defects.

Do I need to provide a complete specification for automated TDD feature implementation?

You need to provide a clear feature request or bug description for automated TDD feature implementation. The workflow handles the structured analysis, breaking down your input into testable behaviors and guiding the full development cycle.

When should I avoid strict test-driven development for feature implementation?

You should avoid strict test-driven development when a feature request lacks clear requirements or exploratory prototyping is needed. This workflow relies on explicit test-first cycles and end-to-end integration verification, requiring structured analysis to function properly.