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 -4
View File
@@ -7,8 +7,5 @@
"email": "asepharyana@users.noreply.github.com"
},
"keywords": ["best-practice", "clean-code", "engineering-guide", "programming-standards", "architecture"],
"skills": "./skills/",
"sessionStart": {
"skill": "engineering-principles"
}
"skills": "./skills/"
}