refactor(hooks): use sessionStart.skill instead of command hooks

- Replace SessionStart command hook with plugin.json's native
  sessionStart.skill field (like Superpowers' using-superpowers pattern)
- engineering-principles skill auto-loads at every session start
- Remove hooks/session-start, hooks/run-hook.cmd scripts
- Remove obsolete setup-hooks.sh (references deleted scripts)
- Empty hooks.json — hooks not needed, skill auto-load handles it
This commit is contained in:
asepharyana
2026-07-26 14:21:54 +07:00
parent 288939bb5a
commit bc9a88328d
5 changed files with 4 additions and 194 deletions
+1 -14
View File
@@ -1,16 +1,3 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "startup|clear|compact",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start",
"async": false
}
]
}
]
}
"hooks": {}
}