npx claudepluginhub mukiwu/muki-ai-plugins --plugin shipshape-skillsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/post-stop-bug-learning.sh\"",
"timeout": 10,
"statusMessage": "Checking if bug learning is needed..."
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-cookbook-check.sh\"",
"timeout": 10,
"statusMessage": "Checking cookbook & memory..."
}
],
"matcher": "Edit|Write"
}
],
"TaskCompleted": [
{
"hooks": [
{
"type": "prompt",
"prompt": "一個開發任務剛剛完成。以下是任務內容:$ARGUMENTS\n\n請判斷:這個任務是否發現了新的開發模式或注意事項,值得記錄到 docs/cookbook/(專案特定模式)或 memory(跨專案回饋)?\n\n注意:bug 修復的沉澱已由 bug-learning skill 和 Stop hook 處理,不需要在此重複判斷。\n\n如果不需要記錄,回覆 {\"ok\": true}。\n如果值得記錄,回覆 {\"ok\": false, \"reason\": \"建議記錄到 cookbook/memory:[具體建議]\"}。",
"timeout": 15
}
]
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"prompt\": 1, \"command\": 2}, \"eventStats\": {\"Stop\": 1, \"PreToolUse\": 1, \"TaskCompleted\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 2, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 0}}"