claude

git-hooks

Enforces safe git workflows (no commits to main, branch naming)

0 on GitHubv1.2.2MITupdated 1 month agodevelopment
/

Plugin git-hooks from marketplace claude-hooks in steeef/claude-hooks. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Hooks (2)

  • PreToolUse

    python3 ${CLAUDE_PLUGIN_ROOT}/hooks/git_pre_hook.py

  • PostToolUse

    python3 ${CLAUDE_PLUGIN_ROOT}/hooks/cleanup_hook.py

View source on GitHub

More from steeef/claude-hooks

All 9 plugins →

Blocks dangerous commands (rm, kubectl delete, terraform destroy)

hooks

0

Blocks multi-line or >7-word comments in new/edited code

hooks

0

Blocks access to .env files, preventing accidental secret exposure

hooks

0

Rejoins hard-wrapped PR body prose before gh submits it

hooks

0

Requires --draft on gh pr create, asks for confirmation on gh pr ready

hooks

0

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain git-hooks?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins9 plugins