Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add davepoon/buildwithclaude
/plugin install hooks-git@buildwithclaude
Open on GitHub

What 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@buildwithclaude

Step 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

Similar plugins

All plugins for Git and GitHub →

From the same set235

The whole set →
hooks-testing hooks-testing is a plugin for Claude Code and Cursor that automates testing through event-driven hooks. Testing actions run in response to events. ★ 3,785repo stars hooks-security hooks-security is a Claude Code and Cursor plugin for security automation that protects files, controls branch edits, and scans code. ★ 3,785repo stars hooks-performance hooks-performance is a plugin for Claude Code and Cursor that runs scripts and automation when performance metrics or context usage change. ★ 3,785repo stars hooks-notifications The hooks-notifications plugin sends IDE events—errors, operation completions, hook triggers—to Discord, Slack, or Telegram. Track long-running scripts and build failures without keeping an eye on the editor. ★ 3,785repo stars hooks-formatting hooks-formatting — a plugin for Claude Code that runs JavaScript and Python formatting automatically on agent hooks — no manual trigger needed. Fires when the agent writes or modifies code. ★ 3,785repo stars hooks-development The hooks-development plugin for Claude Code runs event hooks in a project to track changes, create file backups, lint on save and format code. ★ 3,785repo stars hooks-automation hooks-automation adds event-driven automation hooks to your development workflow. Triggers builds, dependency reviews, and chat alerts when project files update. ★ 3,785repo stars commands-workflow-orchestration The commands-workflow-orchestration plugin adds commands for coordinating complex workflows. Use it when a process needs starting, status checks, resuming, or synchronization. ★ 3,785repo stars

Project sponsors

Companies that keep this analytics open