Plugin · Claude Code · Development Tools

Chanwit Tdg

by chanwit · github.com/chanwit/tdg

Test-Driven Generation for Claude Code

Implement test-driven generation (TDG) in Claude Code — write tests first and let the AI generate implementation code to make them pass.

70
GitHub stars
0
Installs
0
Community votes
One vote per signed-in builder - it helps surface the tools the community actually relies on.
Install

Add it to Claude Code

Install the plugin in Claude Code. One command, paste-ready.

Install the plugin
/plugin install chanwit-tdg@chanwit/tdg
Add to ClaudeUse the Agent APISkillselion is itself an MCP server - your agent can fetch this config directly.
Agent API

Built to be called by your agent

Skillselion is itself an MCP server. Your agent can pull this entry and a paste-ready install config straight from the API - no copy-paste.

Retrieve this entry with skillselion.get_details("plugin:chanwit/tdg") and the paste-ready config with skillselion.get_install_config("plugin:chanwit/tdg").

About

What it does

TDG (Test-Driven Generation) is a Claude Code plugin that enforces a test-first development methodology. You write your tests before any implementation, then the plugin guides Claude to generate code that satisfies those tests. This disciplined approach reduces hallucinated or incorrect implementations by anchoring generation to concrete test contracts. Solo builders who want higher-quality, more reliable AI-generated code should use TDG to structure their Claude Code sessions.

Highlights

  • Test-Driven Generation (TDG) methodology
  • Write tests first, generate implementation second
  • Integrates TDD workflow into Claude Code
  • Ensures generated code satisfies test contracts
  • Reduces hallucinated or incorrect implementations

At a glance

  • Type - Plugin in Development Tools.
  • Adoption - 0 installs, 70 stars, 0 votes.
Discussion

Comments

Share how you use chanwit-tdg, gotchas, or tips for other indie builders.

No comments yet - be the first to share how you use it.

This week for builders

Five minutes, every Monday — the tools, releases and tactics for shipping solo.

unsubscribe anytime.