npx claudepluginhub DevonMorris/claude-ctags --plugin claude-ctagsDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If searching for a symbol (definition, reference, import, method call), check .claude/tags first: grep '^SymbolName\\t' .claude/tags — this is faster and uses fewer tokens than broad searches. The tags index includes both definitions and references."
}
],
"matcher": "Grep"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/regenerate-tags.sh",
"timeout": 30
}
],
"matcher": "Edit|Write"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/regenerate-tags.sh",
"timeout": 30
}
],
"matcher": "*"
}
]
}"Blocks PreToolUse Edit/Write calls that weaken linter/formatter/type-checker configs (e.g., .eslintrc, .prettierrc, tsconfig.json, biome.json, pyproject.toml) or CI/CD files. Tracks skill usage via GA."