Manages Git hooks for automating pre-commit, pre-push, and other lifecycle events. Triggered by 'hooks' or 'git hooks'.
Ships in git-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Install, manage, and troubleshoot client-side Git hooks.
ls .git/hooks/cat .git/hooks/<hook-name>.git/hooks/<hook-name>rm .git/hooks/<hook-name>git commit --no-verify / git push --no-verify.githooks/ directory with git config core.hooksPath .githookspre-commit, prepare-commit-msg, commit-msg, post-commit, pre-push, post-checkout, post-merge, pre-rebase, post-rewrite, pre-auto-gc#!/bin/sh
# Run linters, tests, or format checkers
npx lint-staged
#!/bin/sh
# Validate conventional commit format
grep -Eq "^(feat|fix|chore|docs|refactor|test|style)\(.*\): .{1,72}" "$1"
#!/bin/sh
# Run full test suite before push
npm test
Triggered when user says "hooks", "git hooks", "pre-commit hook", "pre-push hook".
For shared hooks, use .githooks/ directory approach. Make hooks executable with chmod +x.
What SKILL.md sets; muted values are Claude Code's defaults
/git-expert:git-hooksfrom git-expert
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin git-expert25 skills in this plugin
/git-bisect-aiAI-guided git bisect for finding the exact commit that introduced a bug or regression. Automates the binary search, interprets test results, and identifies the responsible code change with full context. Use when you know a bug exists now but didn't exist before, or when a performance regression appeared somewhere in git history./git-blameFind who changed what lines and when./git-branchManage git branches with listing, creation, deletion, and rename operations.Other plugins' skills for the same job