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.
Add the marketplace
/plugin marketplace add arkatom/claude-plugins
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.
Plugin Source
View Plugin Code
GitHub Repository
arkatom/claude-plugins
From Marketplace
arkatom-plugins
View Marketplace
Author
@arkatom
View GitHub Profile