mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-09 10:53:34 +08:00
Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"
This reverts commit 1bd68ff534.
This commit is contained in:
91
docs/ja-JP/commands/instinct-export.md
Normal file
91
docs/ja-JP/commands/instinct-export.md
Normal file
@@ -0,0 +1,91 @@
|
||||
---
|
||||
name: instinct-export
|
||||
description: チームメイトや他のプロジェクトと共有するためにインスティンクトをエクスポート
|
||||
command: /instinct-export
|
||||
---
|
||||
|
||||
# インスティンクトエクスポートコマンド
|
||||
|
||||
インスティンクトを共有可能な形式でエクスポートします。以下の用途に最適です:
|
||||
- チームメイトとの共有
|
||||
- 新しいマシンへの転送
|
||||
- プロジェクト規約への貢献
|
||||
|
||||
## 使用方法
|
||||
|
||||
```
|
||||
/instinct-export # すべての個人インスティンクトをエクスポート
|
||||
/instinct-export --domain testing # テスト関連のインスティンクトのみをエクスポート
|
||||
/instinct-export --min-confidence 0.7 # 高信頼度のインスティンクトのみをエクスポート
|
||||
/instinct-export --output team-instincts.yaml
|
||||
```
|
||||
|
||||
## 実行内容
|
||||
|
||||
1. `~/.claude/homunculus/instincts/personal/` からインスティンクトを読み込む
|
||||
2. フラグに基づいてフィルタリング
|
||||
3. 機密情報を除外:
|
||||
- セッションIDを削除
|
||||
- ファイルパスを削除(パターンのみ保持)
|
||||
- 「先週」より古いタイムスタンプを削除
|
||||
4. エクスポートファイルを生成
|
||||
|
||||
## 出力形式
|
||||
|
||||
YAMLファイルを作成します:
|
||||
|
||||
```yaml
|
||||
# Instincts Export
|
||||
# Generated: 2025-01-22
|
||||
# Source: personal
|
||||
# Count: 12 instincts
|
||||
|
||||
version: "2.0"
|
||||
exported_by: "continuous-learning-v2"
|
||||
export_date: "2025-01-22T10:30:00Z"
|
||||
|
||||
instincts:
|
||||
- id: prefer-functional-style
|
||||
trigger: "when writing new functions"
|
||||
action: "Use functional patterns over classes"
|
||||
confidence: 0.8
|
||||
domain: code-style
|
||||
observations: 8
|
||||
|
||||
- id: test-first-workflow
|
||||
trigger: "when adding new functionality"
|
||||
action: "Write test first, then implementation"
|
||||
confidence: 0.9
|
||||
domain: testing
|
||||
observations: 12
|
||||
|
||||
- id: grep-before-edit
|
||||
trigger: "when modifying code"
|
||||
action: "Search with Grep, confirm with Read, then Edit"
|
||||
confidence: 0.7
|
||||
domain: workflow
|
||||
observations: 6
|
||||
```
|
||||
|
||||
## プライバシーに関する考慮事項
|
||||
|
||||
エクスポートに含まれる内容:
|
||||
- ✅ トリガーパターン
|
||||
- ✅ アクション
|
||||
- ✅ 信頼度スコア
|
||||
- ✅ ドメイン
|
||||
- ✅ 観察回数
|
||||
|
||||
エクスポートに含まれない内容:
|
||||
- ❌ 実際のコードスニペット
|
||||
- ❌ ファイルパス
|
||||
- ❌ セッション記録
|
||||
- ❌ 個人識別情報
|
||||
|
||||
## フラグ
|
||||
|
||||
- `--domain <name>`: 指定されたドメインのみをエクスポート
|
||||
- `--min-confidence <n>`: 最小信頼度閾値(デフォルト: 0.3)
|
||||
- `--output <file>`: 出力ファイルパス(デフォルト: instincts-export-YYYYMMDD.yaml)
|
||||
- `--format <yaml|json|md>`: 出力形式(デフォルト: yaml)
|
||||
- `--include-evidence`: 証拠テキストを含める(デフォルト: 除外)
|
||||
Reference in New Issue
Block a user