TDG Test-Driven Generation

Community

Automate TDD cycles for faster, reliable code.

Authorchanwit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the rigorous Test-Driven Development (TDD) workflow, ensuring you consistently follow Red-Green-Refactor cycles. It eliminates the manual overhead of managing TDD phases, helping you write robust, well-tested code faster and with fewer errors.

Core Features & Use Cases

  • Guided TDD Workflow: Systematically guides you through the Red, Green, and Refactor phases of TDD.
  • Automated Test & Code Generation: Assists in generating failing tests (Red), implementing code to pass them (Green), and refactoring for optimal design.
  • Enforced Git Commit Standards: Automatically suggests and validates TDD-specific commit messages (e.g., "red:", "green:", "refactor:").
  • Use Case: You need to implement a new function. Activate TDG to generate the initial failing test, then the code to pass it, and finally refactor, all while maintaining a clear, TDD-compliant commit history.

Quick Start

Use TDG to start a new feature. Guide me through the Red-Green-Refactor process for a new user authentication module.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: TDG Test-Driven Generation
Download link: https://github.com/chanwit/tdg/archive/main.zip#tdg-test-driven-generation

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