Previously returned ok:false every time because 'fully applied' all 8 skills is impossible in one response. Now ok:true by default (silent), only fires ok:false when Claude is clearly guessing or violating rules.
11 lines
716 B
JSON
11 lines
716 B
JSON
{
|
|
"hooks": {
|
|
"Stop": [{
|
|
"hooks": [{
|
|
"type": "prompt",
|
|
"prompt": "Check if hub-guide MANDATORY skills are being applied where relevant: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design. If the assistant is using evidence from codebase/docs instead of guessing, and is not violating any of these principles, respond: {\"ok\": true}. Only respond {\"ok\": false, \"reason\": \"[hub-guide] Apply MANDATORY skills: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design.\"} if the assistant is clearly guessing or violating these principles."
|
|
}]
|
|
}]
|
|
}
|
|
}
|