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>
15 lines
430 B
Bash
Executable File
15 lines
430 B
Bash
Executable File
#!/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
|