Comprehensive Claude Code guidance system with: - 5 agents: tdd-guardian, code-reviewer, security-scanner, refactor-scan, dependency-audit - 18 skills covering languages (Python, TypeScript, Rust, Go, Java, C#), infrastructure (AWS, Azure, GCP, Terraform, Ansible, Docker/K8s, Database, CI/CD), testing (TDD, UI, Browser), and patterns (Monorepo, API Design, Observability) - 3 hooks: secret detection, auto-formatting, TDD git pre-commit - Strict TDD enforcement with 80%+ coverage requirements - Multi-model strategy: Opus for planning, Sonnet for execution (opusplan) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
364 B
Bash
15 lines
364 B
Bash
#!/bin/bash
|
|
# Git pre-commit hook for TDD enforcement
|
|
#
|
|
# Installation:
|
|
# cp ~/.claude/hooks/example-git-hooks/pre-commit .git/hooks/pre-commit
|
|
# chmod +x .git/hooks/pre-commit
|
|
#
|
|
# Or create a symlink:
|
|
# ln -sf ~/.claude/hooks/example-git-hooks/pre-commit .git/hooks/pre-commit
|
|
|
|
# Source the TDD enforcement script
|
|
~/.claude/hooks/pre-commit-tdd.sh
|
|
|
|
exit $?
|