feat: update plugin version to 0.3.0, enhance hooks, and refine skill descriptions

This commit is contained in:
asepharyana
2026-07-26 13:27:48 +07:00
parent 8bcccfc022
commit 288939bb5a
7 changed files with 140 additions and 11 deletions
+12 -6
View File
@@ -1,10 +1,16 @@
{
"hooks": {
"Stop": [{
"hooks": [{
"type": "prompt",
"prompt": "Check if code-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\": \"[code-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."
}]
}]
"SessionStart": [
{
"matcher": "startup|clear|compact",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start",
"async": false
}
]
}
]
}
}