mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
* docs(zh-CN): sync Chinese docs with latest upstream changes * docs(zh-CN): update link --------- Co-authored-by: neo <neo.dowithless@gmail.com>
1.2 KiB
1.2 KiB
name, description, command
| name | description | command |
|---|---|---|
| promote | 将项目范围内的本能推广到全局范围 | true |
提升命令
在 continuous-learning-v2 中将本能从项目范围提升到全局范围。
实现
使用插件根路径运行本能 CLI:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" promote [instinct-id] [--force] [--dry-run]
或者如果未设置 CLAUDE_PLUGIN_ROOT(手动安装):
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py promote [instinct-id] [--force] [--dry-run]
用法
/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
操作步骤
- 检测当前项目
- 如果提供了
instinct-id,则仅提升该本能(如果存在于当前项目中) - 否则,查找跨项目候选本能,这些本能:
- 出现在至少 2 个项目中
- 满足置信度阈值
- 将提升后的本能写入
~/.claude/homunculus/instincts/personal/,并设置scope: global