tdd-cycling

Community

RED-GREEN-REFACTOR cycle enforcement

Authorjugrajsingh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces the Test-Driven Development (TDD) RED-GREEN-REFACTOR cycle, ensuring that code is written with a failing test first, then the minimal code to pass, followed by refactoring for quality.

Core Features & Use Cases

  • Failing Test First: Guarantees a test is written and fails before any implementation code.
  • Minimal Implementation: Ensures only the necessary code to pass the test is written.
  • Safe Refactoring: Provides a structured approach to improving code quality without introducing regressions.
  • Use Case: When developing a new feature, use this Skill to guide you through writing a test for a specific behavior, implementing just enough code to make it pass, and then cleaning up the code while ensuring all tests remain green.

Quick Start

Execute a single RED-GREEN-REFACTOR cycle for a task by providing a task description with a test name and assertion.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tdd-cycling
Download link: https://github.com/jugrajsingh/skillgarden/archive/main.zip#tdd-cycling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.