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.
Add it to Claude Code
Install the plugin in Claude Code. One command, paste-ready.
/plugin install chanwit-tdg@chanwit/tdgBuilt 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").
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.
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.