Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:35:44 +08:00
commit 621a26d0bd
5 changed files with 117 additions and 0 deletions

16
hooks/hooks.json Normal file
View File

@@ -0,0 +1,16 @@
{
"description": "ClaudeCodeの行動を制限するセキュリティフック集",
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/block-file-edits.sh"
}
]
}
]
}
}