Files
asepharyana-hub-guide/hooks/hooks.json
T
asepharyana d66587ada1 fix(hooks): restore with UserPromptSubmit prompt hook
UserPromptSubmit fires before each user prompt. Returns ok:true (silent)
if skills are already applied, ok:false with reason only when not applied.
No more Stop hook error noise.
2026-07-26 12:16:36 +07:00

11 lines
568 B
JSON

{
"hooks": {
"UserPromptSubmit": [{
"hooks": [{
"type": "prompt",
"prompt": "Hub-guide best-practice skills are active for this session. 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 being applied, respond: {\"ok\": false, \"reason\": \"[hub-guide] Apply MANDATORY skills to this session.\"}"
}]
}]
}
}