mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-31 06:03:29 +08:00
- Fix MD012 trailing blank lines in commands/projects.md and commands/promote.md - Fix MD050 strong-style in continuous-learning-v2 (escape __tests__ as inline code) - Extract doc-file-warning hook to standalone script to fix hooks validator regex parsing - Update session-end test to match #317 behavior (always update summary content) - Allow shell script hooks in integration test format validation All 992 tests passing.
1.2 KiB
1.2 KiB
name, description, command
| name | description | command |
|---|---|---|
| promote | Promote project-scoped instincts to global scope | true |
Promote Command
Promote instincts from project scope to global scope in continuous-learning-v2.
Implementation
Run the instinct CLI using the plugin root path:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" promote [instinct-id] [--force] [--dry-run]
Or if CLAUDE_PLUGIN_ROOT is not set (manual installation):
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py promote [instinct-id] [--force] [--dry-run]
Usage
/promote # Auto-detect promotion candidates
/promote --dry-run # Preview auto-promotion candidates
/promote --force # Promote all qualified candidates without prompt
/promote grep-before-edit # Promote one specific instinct from current project
What to Do
- Detect current project
- If
instinct-idis provided, promote only that instinct (if present in current project) - Otherwise, find cross-project candidates that:
- Appear in at least 2 projects
- Meet confidence threshold
- Write promoted instincts to
~/.claude/homunculus/instincts/personal/withscope: global