TDG (Test-Driven Generation) provides a procedural workflow for agents to follow Test-Driven Development: detect project test framework, create focused test specs (red), implement code to pass tests (green), and refactor safely (refactor). It enforces traceability (issue numbers in commits) and integrity checks for helper scripts.
Activate TDG when you want the agent to follow TDD loops on a codebase: writing tests first, verifying failing tests, implementing minimal code to pass, and committing with structured messages. Useful for feature work, bug fixes, or when maintaining strong test discipline.
Well-suited for code-focused assistants that can run shell commands and tests (Claude Code, Copilot-like agents, or local CLI-capable assistants). Requires access to repo and test tooling.
TDG guides agents through a Red-Green-Refactor TDD workflow with structured commit conventions and phase detection. The bundled script (tdg_phase.sh) checks git log for phase markers but failed in audit since no git repo existed in the sandbox — expected behavior. SKILL.md includes sha256sum verification before script execution, a notable security practice.
git (requires a git repository context)Clean skill with no security concerns. Includes integrity verification of its own script via sha256sum. Script failure in audit is expected (no git repo). Well-structured TDD workflow with clear phase transitions.