Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:48:19 +08:00
commit c7d0e994b9
4 changed files with 103 additions and 0 deletions

43
hooks.json Executable file
View File

@@ -0,0 +1,43 @@
{
"name": "cc-skills-hooks",
"version": "2.1.0",
"description": "CC-Skills hooks for skill activation, cache sync, and linting",
"author": {
"name": "inchan",
"url": "https://github.com/inchan"
},
"license": "MIT",
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/session-start-cache-sync.py"
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skill-recommend-hook.py"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/stop-hook-lint-and-translate.sh"
}
]
}
]
}
}