TechHU-GS/cc-discipline

Guardrails for Claude Code. Shell hooks that actually block bad behavior — edit loops, skipped verification, destructive git — not just markdown that asks nicely.

0Stars on the repository
15Mods indexed here, across every type
5d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

TechHU-GS/cc-discipline

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh via bash. From TechHU-GS/cc-discipline.

0 5d ago A tokens not measured copy · 88% MIT

PreToolUse

02

TechHU-GS/cc-discipline

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Bash, Agent, Bash and ExitPlanMode tool calls, executing pre-edit-guard.sh, streak-breaker.sh, action-counter.sh, git-guard.sh and phase-gate.sh via bash (5 commands). From TechHU-GS/cc-discipline.

0 5d ago A tokens not measured copy · 44% MIT

PostToolUse

03

TechHU-GS/cc-discipline

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-error-remind.sh via bash. From TechHU-GS/cc-discipline.

0 5d ago A tokens not measured copy · 39% MIT

PostToolUseFailure

04

TechHU-GS/cc-discipline

Hook Claude Code

Runs when a tool call fails for Bash tool calls, executing post-error-remind.sh via bash. From TechHU-GS/cc-discipline.

0 5d ago A tokens not measured copy · 42% MIT