fix(hooks): restore Superpowers-style SessionStart command hook

Properly follow Superpowers 6.1.1 pattern:
- SessionStart command hook (type: command) runs run-hook.cmd session-start
- run-hook.cmd is a cross-platform polyglot wrapper (Unix/Windows)
- session-start script reads engineering-principles/SKILL.md and injects
  it as additionalContext wrapped in EXTREMELY_IMPORTANT tags
- The 29 engineering principles are active in context from turn 1

plugin.json: remove sessionStart.skill, keep skills: ./skills/
The command hook is the primary mechanism (just like Superpowers' using-superpowers).
This commit is contained in:
asepharyana
2026-07-26 14:24:52 +07:00
parent 530eb111a0
commit 95c77c694f
7 changed files with 107 additions and 21 deletions
+1 -1
View File
@@ -30,4 +30,4 @@ if ($Link) {
Write-Host ""
Write-Host "Done. Restart Claude Code or run /reload."
Write-Host "Skills auto-trigger. engineering-principles skill auto-loads at session start."
Write-Host "Skills auto-trigger. SessionStart hook injects engineering-principles into context."