Files
asepharyana-hub-guide/hooks/hooks.json
T
asepharyana a527d0ee78 fix(hooks): use type prompt instead of command
Prompt-based hook returns ok:false with skill reminders as reason,
which gets fed back to Claude as active instructions.
2026-07-26 12:13:15 +07:00

11 lines
626 B
JSON

{
"hooks": {
"Stop": [{
"hooks": [{
"type": "prompt",
"prompt": "You have hub-guide best-practice skills active. 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 you have not applied these, return {\"ok\": false, \"reason\": \"[hub-guide] Apply MANDATORY skills: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design. Never assume or guess. Always show evidence.\"}"
}]
}]
}
}