Add missing repository components for complete supercharge.sh installation
Added all directories and files expected by supercharge.sh: - hooks/ (5 hook scripts for session management and AI consultation) - commands/ (3 custom slash commands: brainstorm, write-plan, execute-plan) - plugins/ (plugin references for glm-plan, rust-analyzer, marketplaces) - bin/ralphloop (Ralph Orchestrator wrapper for autonomous iteration) - scripts/sync-agents.sh (agent synchronization script) - templates/ (config templates: settings, hooks, config.json) This completes the repository structure so supercharge.sh can install all components without warnings. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
14
hooks/session-start-superpowers.sh
Executable file
14
hooks/session-start-superpowers.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Session Start Hook - Auto-inject superpowers context
|
||||
# This hook runs on every session start/resume
|
||||
# Trigger: session-start
|
||||
|
||||
# Check if AUTO_SUPERPOWERS is enabled
|
||||
if [ "${AUTO_SUPERPOWERS:-false}" = "true" ]; then
|
||||
# Inject superpowers context into the session
|
||||
if [ -f "$HOME/.claude/skills/using-superpowers/skill.md" ]; then
|
||||
cat "$HOME/.claude/skills/using-superpowers/skill.md"
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user