chanwitchanwitCommunity·2 Agent Skills Included

tdg

Test-driven code generation with clean atomic commits

Guides test-driven development through strict Red-Green-Refactor cycles with automatic phase detection. Writes failing tests first, implements passing code, then refactors with full issue-number traceability. Splits messy changes into clean atomic commits that build, pass tests, and revert independently.
npx skills add chanwit/tdg --all -g -y

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install TDG?

Run `npx skills add chanwit/tdg --all -g -y` in your terminal to install all skills in this suite globally.

How does TDG enforce test-driven development?

It detects your current phase from commit history and walks you through writing a failing test first, then the passing implementation, then refactoring, each with its own commit.

What is an atomic commit?

An atomic commit does exactly one thing, keeps the codebase building and passing tests, and can be reverted independently without breaking other work.

Does TDG work with Claude Code?

Yes. It is built as a Claude Code plugin with skills and slash commands like /tdg:init that configure your project's test framework automatically.

Why does TDG require an issue number?

Every commit message includes an issue number like (#42) so all test-driven work stays traceable back to a tracked task, and it can create the issue for you if none exists.

Related Repositories in Software Engineering

View All in Software Engineering