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>
60 lines
1.5 KiB
Markdown
60 lines
1.5 KiB
Markdown
---
|
||
name: instinct-status
|
||
description: 展示已学习的本能(项目+全局)并充满信心
|
||
command: true
|
||
---
|
||
|
||
# 本能状态命令
|
||
|
||
显示当前项目学习到的本能以及全局本能,按领域分组。
|
||
|
||
## 实现
|
||
|
||
使用插件根路径运行本能 CLI:
|
||
|
||
```bash
|
||
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" status
|
||
```
|
||
|
||
或者,如果未设置 `CLAUDE_PLUGIN_ROOT`(手动安装),则使用:
|
||
|
||
```bash
|
||
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py status
|
||
```
|
||
|
||
## 用法
|
||
|
||
```
|
||
/instinct-status
|
||
```
|
||
|
||
## 操作步骤
|
||
|
||
1. 检测当前项目上下文(git remote/路径哈希)
|
||
2. 从 `~/.claude/homunculus/projects/<project-id>/instincts/` 读取项目本能
|
||
3. 从 `~/.claude/homunculus/instincts/` 读取全局本能
|
||
4. 合并并应用优先级规则(当ID冲突时,项目本能覆盖全局本能)
|
||
5. 按领域分组显示,包含置信度条和观察统计数据
|
||
|
||
## 输出格式
|
||
|
||
```
|
||
============================================================
|
||
INSTINCT STATUS - 12 total
|
||
============================================================
|
||
|
||
Project: my-app (a1b2c3d4e5f6)
|
||
Project instincts: 8
|
||
Global instincts: 4
|
||
|
||
## PROJECT-SCOPED (my-app)
|
||
### WORKFLOW (3)
|
||
███████░░░ 70% grep-before-edit [project]
|
||
trigger: when modifying code
|
||
|
||
## GLOBAL (apply to all projects)
|
||
### SECURITY (2)
|
||
█████████░ 85% validate-user-input [global]
|
||
trigger: when handling user input
|
||
```
|