TDD Red-Green-Refactor

Automate the red-green-refactor cycle from GitHub issue acceptance criteria.

1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LSailer/Master-Thesis-3D-VLA --skill tdd-red-green-refactor-lsailer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TDD Red-Green-Refactor
Source: https://github.com/LSailer/Master-Thesis-3D-VLA/tree/main/.claude/skills/tdd
Command: npx skills add https://github.com/LSailer/Master-Thesis-3D-VLA --skill tdd-red-green-refactor-lsailer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of writing code using Test-Driven Development, ensuring code quality and adherence to requirements.

Core Features & Use Cases

  • Automated Test Creation: Generates failing tests based on acceptance criteria.
  • Minimum Implementation: Writes only the necessary code to pass tests.
  • Refactoring: Cleans up code while ensuring tests remain green.
  • Use Case: When given a GitHub issue with acceptance criteria, this Skill will guide you through writing tests, implementing the feature, and refactoring, all while ensuring code quality and reducing bugs.

Quick Start

Use the TDD skill to implement the acceptance criteria from GitHub issue number 123.

Frequently Asked Questions about TDD Red-Green-Refactor

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

FAQPage Schema
How do I automate the TDD red-green-refactor cycle when implementing GitHub issues?

This Skill automates TDD by extracting acceptance criteria from GitHub issues, generating a failing test, writing minimal code to pass, and refactoring for quality while managing error budgets and providing commit summaries.

What is the best way to enforce strict test-driven development for new software features?

Enforce strict TDD by automating the workflow: generate failing tests from acceptance criteria, write only the minimum code required to pass, and refactor while ensuring tests stay green to reduce bugs.

How does automated test creation from acceptance criteria improve code quality?

Automated test creation improves code quality by generating failing tests based on acceptance criteria, ensuring minimal code implementation meets requirements, and guiding refactoring to clean up code while keeping tests green.

Can I use this TDD automation tool with my existing GitHub issue tracking workflow?

Yes, it integrates directly with GitHub issues by reading acceptance criteria to generate failing tests, implement minimal code to pass, and refactor for quality, providing commit summaries throughout the workflow.

Do I need predefined acceptance criteria in GitHub issues to start the TDD workflow?

Yes, predefined acceptance criteria in GitHub issues are required because the TDD workflow reads them to generate failing tests, implement minimal passing code, and refactor while managing error budgets and commit summaries.