Armory
Source
Browse
Hooks

tdd-gate-2

tdd-gate.sh — Enforce Test-Driven Development: tests must exist before production code

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install tdd-gate-2 --cli claude

writes the file to.claude/hooks/tdd-gate-2Listed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/tdd-gate-2
# then register it in your settings.json "hooks" block.

↳ Add the hook entry to settings.json, then restart the harness.

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

tdd-gate.sh — Enforce Test-Driven Development: tests must exist before production code

When to use it

tdd-gate.sh — Enforce Test-Driven Development: tests must exist before production code

How to install / invoke

# Wire this hook script into .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/hooks/quality-gates/tdd-gate.sh -o .claude/hooks/tdd-gate.sh

Notes

Extracted from davila7/claude-code-templates, quality-gates category.