Skip to content
Development
Command

/promote

将项目级直觉(Instincts)提升至全局作用域

From plugin
everything-claude-code
2k35 skills14 agents35 commands6 hooks
> /plugin marketplace add xu-xiang/everything-claude-code-zh
> /plugin install everything-claude-code@everything-claude-code

Command definition

promote.md
name: promote
description: 将项目级直觉(Instincts)提升至全局作用域
command: true

提升(Promote)命令

在 continuous-learning-v2 中,将项目级直觉(Project-scoped instincts)提升至全局作用域。

实现方法

使用插件根路径运行直觉命令行界面(Instinct 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                      # 自动检测可提升的候选直觉
/promote --dry-run            # 预览自动提升候选直觉
/promote --force              # 无需提示直接提升所有符合条件的候选直觉
/promote grep-before-edit     # 提升当前项目中某个特定的直觉

执行步骤

1. 检测当前项目 2. 如果提供了 `instinct-id`,仅提升该直觉(如果它存在于当前项目中) 3. 否则,查找符合以下条件的跨项目候选直觉:

  • 在至少 2 个项目中出现过
  • 达到置信度阈值(Confidence threshold)

4. 将提升后的直觉以 `scope: global` 写入 `~/.claude/homunculus/instincts/personal/`

@xu-xiang
Ships witheverything-claude-code

🌐 Language / 语言 / 語言 为 AI 智能体(Agent)框架打造的性能优化系统。源自 Anthropic 黑客松获胜作品。 这不仅仅是配置文件。它是一个完整的系统:包含技能(Skills)、本能(Instincts)、内存优化、持续学习、安全扫描以及研究优先的开发模式。这些生产级的智能体(Agents)、钩子(Hooks)、命令(Commands)、规则(Rules)以及 MCP 配置,是在构建真实产品的 10 个多月高强度日常使用中演化而来的。 适用于 Claude Code, Codex,

2k59 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.0k
Star history of xu-xiang/everything-claude-code-zh on GitHub, a chart by star-history.com

Other commands on everything-claude-code.

claw

claw

Command

启动 NanoClaw 智能体 (Agent) REPL — 一个由 claude CLI 驱动的持久化、会话感知 (session-aware) 的 AI 助手。

e2e

e2e

Command

使用 Playwright 生成并运行端到端测试。创建测试旅程、运行测试、捕获截图/视频/追踪,并上传产物。

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command