Hacker GitHub

← All repos

nizos/tdd-guard

View on GitHub ↗ ★ 2,373 TypeScript

Automated TDD enforcement for Claude Code

9 mentions on Hacker News by 3 people: 3 stories, 6 comments · first 2025-08-03 · latest 2026-04-27

Mentions per year 9 mentions · busiest year 2025 (8)
20082026
  1. If you’re just looking for the TDD part - https://github.com/nizos/tdd-guard - is the only project I’ve come across that actually enforces it with hooks and blocks edits rather than relying on a prompt that gets context rotted away.
  2. …TDD-Guard. An open source plugin I created to enfore Test-Driven Development practices on agents: https://github.com/nizos/tdd-guard
  3. …tries to do anything that violates those principles. I think it helps a lot if I may say so myself. https://github.com/nizos/tdd-guard Edit: I realize now that I misunderstood your comment. I was quick to respond.
  4. …picked a vendor-agnostic name. Adding support for other clients mainly means extending IClient: https://github.com/nizos/tdd-guard/blob/main/src%2Fcontracts... https://github.com/nizos/tdd-guard/tree/main/src%2Fvalidatio... I'll take a…
  5. …the specific guidance here might be too generic. For anyone interested in this automated approach: https://github.com/nizos/tdd-guard (includes example configuration) https://github.com/typicode/husky https://github.com/conventional-changel…
    comment by Nizoss · 2025-08-09 · in Getting good results from Claude Code
  6. …5 or Copilot have similar extensibility to enforce practices like TDD? For context on the approach: https://github.com/nizos/tdd-guard I use pre/post operation commands to enforce TDD rules.