Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:02:07 +08:00
commit 4839df8053
4 changed files with 89 additions and 0 deletions

29
hooks/hooks.json Normal file
View File

@@ -0,0 +1,29 @@
{
"description": "Credo static code analysis with context-aware feedback",
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/post-edit-check.sh",
"timeout": 30
}
]
}
],
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-commit-check.sh",
"timeout": 30
}
]
}
]
}
}