Skip to content

pre-commit

⚠ bash, NOT sh (BUG-122). This script uses read -r -d '' in three loops — the .env

Plugin: vt-base
Type: git-hook
Deployed as: ~/.claude/hooks/vt-c-pre-commit
Source: plugins/vt-base/scripts/pre-commit
Events: none
Checksum-pinned: yes, in configs/security/trusted-hooks.yaml (last verified 2026-08-13T15:00:00Z)

Not a Claude Code hook

This is a git hook: it ships through the same deploy manifest as the Claude Code hooks, but it receives no Claude Code event. pre-commit is invoked by git; install-hooks.sh is what puts it into a repository's .git/hooks.