Install
openclaw skills install git-hooks-toolkitGenerate, install, and manage Git hooks with pre-built templates. Includes hooks for linting staged files, enforcing conventional commits, blocking debug statements, preventing large file commits, auto-formatting code, requiring ticket references, protecting branches, running tests before push, and auto-installing dependencies after merge. Use when setting up git hooks, enforcing commit conventions, or automating pre-commit/pre-push checks.
openclaw skills install git-hooks-toolkitInstall production-ready Git hooks in seconds with pre-built templates.
# List all available templates
python3 scripts/git_hooks.py list
# Install a hook
python3 scripts/git_hooks.py install pre-commit lint-staged
python3 scripts/git_hooks.py install commit-msg conventional
# Preview before installing
python3 scripts/git_hooks.py show pre-commit no-debug
# Check what's installed
python3 scripts/git_hooks.py status
# Remove a hook
python3 scripts/git_hooks.py remove pre-commit
list — Show all templatesinstall <hook> <template> [--repo path] [--force] — Install a hookshow <hook> <template> — Preview template contentstatus [--repo path] — Show installed hooksremove <hook> [--repo path] — Delete a hook