/plugin marketplace add popup-studio-ai/bkit-claude-code/plugin install bkit@bkit-marketplaceDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.sh"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Before compacting, summarize key context to preserve:\n1) Current task status\n2) Key decisions made\n3) Files modified\n4) Remaining work\n\nRespond with: {\"decision\": \"approve\", \"summary\": \"brief summary\"}",
"timeout": 15000
}
],
"matcher": "auto"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "PDCA validation:\n- docs/01-plan/* → ALLOW (Plan phase)\n- docs/02-design/* → ALLOW (Design phase)\n- docs/03-analysis/* → ALLOW (Check phase)\n- docs/04-report/* → ALLOW (Act phase)\n- src/* or app/* → Check if related design exists in docs/02-design/\n- Other paths → ALLOW\n\nRespond with: {\"decision\": \"approve\", \"reason\": \"brief explanation\"}",
"timeout": 10000
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Commit completed. Consider:\n1) Update PDCA status if feature complete\n2) Run /bkit:pdca-analyze for gap analysis\n\nRespond with: {\"decision\": \"approve\", \"reason\": \"Commit done\"}",
"timeout": 10000
}
],
"matcher": "Bash(git commit *)"
}
],
"SessionStart": [
{
"once": true,
"hooks": [
{
"type": "prompt",
"prompt": "bkit Vibecoding Kit v1.1.0 by POPUP STUDIO (https://popupstudio.ai)\n\nCore PDCA Rules (always apply):\n- New feature request → Check docs/02-design/ first → Design before code\n- No guessing → Check docs → Ask user\n- SoR priority: Code > CLAUDE.md > docs/\n- After implementation → Suggest gap analysis\n\nCommands: /bkit:learn-claude-code, /bkit:pdca-plan, /bkit:init-starter\n\nFor Korean response, add to ~/.claude/settings.json: {\"language\": \"korean\"}\n\nReport issues: https://github.com/popup-studio-ai/bkit-claude-code/issues",
"timeout": 5000
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/subagent-stop-hook.sh"
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"prompt": 4,
"command": 2
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"PreToolUse": 1,
"PostToolUse": 1,
"SessionStart": 1,
"SubagentStop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}