Files
asepharyana-hub-guide/hooks/hooks.json
T
asepharyana eba82a9b2f fix(hooks): use Stop event, not UserPromptSubmit
UserPromptSubmit dengan ok:false MEMBLOKIR prompt user.
Stop event dengan ok:false = inject instruksi ke Claude tanpa block.
Sama-sama inject context, tapi gak menghalangi user kerja.
2026-07-26 12:18:39 +07:00

11 lines
640 B
JSON

{
"hooks": {
"Stop": [{
"hooks": [{
"type": "prompt",
"prompt": "Hub-guide best-practice skills are loaded. MANDATORY: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design. Never assume or guess — always find evidence in codebase or docs. If these skills are already being applied, respond: {\"ok\": true}. If not fully applied, respond: {\"ok\": false, \"reason\": \"[hub-guide] Apply MANDATORY skills: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design.\"}"
}]
}]
}
}