Install Hooks — Git skill for Claude Code
Install git hooks for this project.
How to install Install Hooks
Installs to ~/.claude/commands/benjaminshoemaker-ai_coding_project_base-install-hooks.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/benjaminshoemaker/ai_coding_project_base/HEAD/.claude/commands/install-hooks.md -o ~/.claude/commands/benjaminshoemaker-ai_coding_project_base-install-hooks.md Restart Claude Code, or start a new session, for it to be picked up.
What Install Hooks does
description: Install git hooks for this project. Triggers during project setup or after cloning. allowed-tools: Bash, Read, Write, AskUserQuestion
Install git hooks to enhance the development workflow.
Available Hooks
| Hook | Purpose | When It Runs |
|---|---|---|
pre-push-doc-check |
Warns if docs may need updating | Before git push |
post-commit-sync-check |
Reminds to sync target projects | After git commit |
post-commit-doc-update |
Triggers |
Alternatives in Git
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
- TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★
- Husky — by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st 440 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Gh Init
Initialize git repo and push to GitHub. Triggers on new project setup requiring a GitHub repository.
Sp Setup
Check sp-context dependencies (claude-mem, git, bun) and guide installation. Use when sp-context features are
Git Hooks Setup
Set up pre-commit, pre-push, and commit-msg hooks
Setup Git Guard
Install git safety guard hook at project or user scope
Setup Gwt
Install the gwt (git worktree manager) script
Cclayer
Sync Claude Code config across machines: CLAUDE.md, skills, hooks, settings.json, plugins and MCP servers. Lay
Related Agents
Proj Init
Use this agent when bootstrapping a new project workspace during automated setup cycles. Typical triggers incl
DevOps Lead
DevOps team lead. Use for tooling, CI/CD, Makefile, project config, .csproj, git hooks, editor config, and pro
Gaia System
Use when building, modifying, or auditing Gaia's own machinery — agents, skills, hooks and hook modules, routi