Files
everything-claude-code/docs/zh-CN/commands/instinct-status.md
zdoc.app abcf38b085 docs(zh-CN): sync Chinese docs with latest upstream changes (#341)
* docs(zh-CN): sync Chinese docs with latest upstream changes

* docs(zh-CN): update link

---------

Co-authored-by: neo <neo.dowithless@gmail.com>
2026-03-07 14:48:02 -08:00

60 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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
```