claudeindex
Plugin

git-grep-enforce

PreToolUse hooks that redirect Bash/Grep tool usage to git grep --function-context. Blocks raw grep / rg / find -name / git ls-files | xargs grep / cd patterns and suggests git-native equivalents. Shell-only (no Python dependency). Requires jq. Extracted from dev-workflow plugin and rewritten in shell.

Installation

1

Add the marketplace

/plugin marketplace add arkatom/claude-plugins
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.