hooks-git — Claude Code plugin: what it does, how to install
hooks-git is a plugin for Claude Code and Cursor that automates Git workflows by staging changed files and structuring commits according to Conventional Commits.
MIT ★ 3,785 updated 2026-10-25
/plugin marketplace add davepoon/buildwithclaude
/plugin install hooks-git@buildwithclaudeWhat hooks-git does
The plugin provides event-driven automation hooks for Git workflows. It targets actions such as automatic staging with auto-git-add and structured commit creation via smart-commit.
Hook logic centers on Conventional Commits conventions. Commit messages follow standard change prefixes, keeping the project history structured during automated edits.
Installation inside Claude Code relies on the community marketplace davepoon/buildwithclaude. The tool also supports Cursor.
What it helps with
- Stage modified files automatically via Git event hooks
- Format commit messages according to Conventional Commits standards
- Trigger Git automation actions on editor events
Example prompts for the agent
- Stage all modified files and create a conventional commit for these changes.
- Run the smart-commit hook to record current progress.
How to install hooks-git
Plugin marketplace
/plugin marketplace add davepoon/buildwithclaude/plugin install hooks-git@buildwithclaudeStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about hooks-git
How do I install hooks-git in Claude Code?
Run /plugin marketplace add davepoon/buildwithclaude, then run /plugin install hooks-git@buildwithclaude.
What does hooks-git do?
It handles event-driven Git hooks, focusing on automated staging and Conventional Commits generation.
Which platforms support hooks-git?
The plugin works with Claude Code and Cursor.
Source text
hooks-git · MIT
Git Hooks - Event-driven automation hooks
© BuildWithClaude Community · MIT · davepoon/buildwithclaude