Files
everything-claude-code/docs/ja-JP/commands/instinct-status.md
2026-02-12 16:56:29 +09:00

87 lines
2.6 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
/instinct-status --domain code-style
/instinct-status --low-confidence
```
## 実行内容
1. `~/.claude/homunculus/instincts/personal/` からすべてのインスティンクトファイルを読み込む
2. `~/.claude/homunculus/instincts/inherited/` から継承されたインスティンクトを読み込む
3. ドメインごとにグループ化し、信頼度バーとともに表示
## 出力形式
```
📊 Instinct Status
==================
## Code Style (4 instincts)
### prefer-functional-style
Trigger: when writing new functions
Action: Use functional patterns over classes
Confidence: ████████░░ 80%
Source: session-observation | Last updated: 2025-01-22
### use-path-aliases
Trigger: when importing modules
Action: Use @/ path aliases instead of relative imports
Confidence: ██████░░░░ 60%
Source: repo-analysis (github.com/acme/webapp)
## Testing (2 instincts)
### test-first-workflow
Trigger: when adding new functionality
Action: Write test first, then implementation
Confidence: █████████░ 90%
Source: session-observation
## Workflow (3 instincts)
### grep-before-edit
Trigger: when modifying code
Action: Search with Grep, confirm with Read, then Edit
Confidence: ███████░░░ 70%
Source: session-observation
---
Total: 9 instincts (4 personal, 5 inherited)
Observer: Running (last analysis: 5 min ago)
```
## フラグ
- `--domain <name>`: ドメインでフィルタリングcode-style、testing、gitなど
- `--low-confidence`: 信頼度 < 0.5のインスティンクトのみを表示
- `--high-confidence`: 信頼度 >= 0.7のインスティンクトのみを表示
- `--source <type>`: ソースでフィルタリングsession-observation、repo-analysis、inherited
- `--json`: プログラムで使用するためにJSON形式で出力