Pre-tool hook that blocks code edits unless a failing test exists first — enforces strict test-first discipline by refusing file writes without a red test in scope.
Full TDD cycle skill from everything-claude-code — red-green-refactor loop with coverage gates, test-first enforcement, and structured commit checkpoints.