mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 13:23:31 +08:00
feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)
ECC community plugin pruning: removed 530+ non-essential files (.cursor/, .opencode/, docs/ja-JP, docs/zh-CN, docs/zh-TW, language-specific skills/agents/rules). Retained 4 agents, 3 commands, 5 skills. Promoted 13 rule files (8 common + 5 typescript) to .claude/rules/ for CC native loading. Extracted reusable patterns to EXTRACTED-PATTERNS.md.
This commit is contained in:
@@ -1,86 +0,0 @@
|
||||
---
|
||||
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形式で出力
|
||||
Reference in New Issue
Block a user