Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:52:09 +08:00
commit 863b553c2a
20 changed files with 4544 additions and 0 deletions

38
hooks/hooks.json Normal file
View File

@@ -0,0 +1,38 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "SlashCommand",
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-docs-check.js",
"description": "ドキュメント作成後の品質チェック",
"when": {
"field": "tool_input.command",
"equals": "/create-docs"
}
},
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-test-check.js",
"description": "テスト作成後の品質チェック",
"when": {
"field": "tool_input.command",
"equals": "/create-tests"
}
},
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-implementation.js",
"description": "実装後の品質チェックとテスト実行",
"when": {
"field": "tool_input.command",
"equals": "/implement"
}
}
]
}
]
}
}