このディレクトリには、SuperClaudeフレームワークのコンテキストエンジニアリング機能を実装する4つの新エージェントが含まれています。
Optimize LLM context windows with four specialized agents. Use this suite to persist metrics, generate validated structured outputs, manage vector memory for RAG, and auto-create multilingual documentation.
/plugin marketplace add SuperClaude-Org/SuperClaude_Plugin/plugin install sc@superclaudeこのディレクトリには、SuperClaudeフレームワークのコンテキストエンジニアリング機能を実装する4つの新エージェントが含まれています。
Context Engineeringは、LLMエージェントのコンテキストウィンドウを最適に管理するための技術です。主に4つの戦略があります:
| エージェント | ステータス | 仕様 | 実装 | テスト |
|---|---|---|---|---|
| Metrics Analyst | ✅ 完了 | ✅ | ✅ | 🔄 |
| Output Architect | ✅ 完了 | ✅ | 🔄 | ⏳ |
| Context Orchestrator | ✅ 完了 | ✅ | 🔄 | ⏳ |
| Documentation Specialist | ✅ 完了 | ✅ | 🔄 | ⏳ |
役割: パフォーマンス評価と最適化
主な機能:
Context Engineering 適用:
アクティベーション:
/sc:metrics session
/sc:metrics week --optimize
ファイル:
metrics-analyst.mdsrc/metrics_analyst.py役割: 構造化出力生成とバリデーション
主な機能:
Context Engineering 適用:
グローバルフラグ:
/sc:<command> --output-format json
/sc:<command> --output-format yaml
ファイル:
output-architect.mdsrc/output_architect.py (実装中)役割: メモリ管理とRAG最適化
主な機能:
Context Engineering 適用:
コマンド:
/sc:memory index
/sc:memory search "authentication logic"
/sc:memory similar src/auth/handler.py
ファイル:
context-orchestrator.mdsrc/context_orchestrator.py (実装中)役割: 技術ドキュメント自動生成
主な機能:
Context Engineering 適用:
コマンド:
/sc:document generate
/sc:document api src/api/
/sc:document tutorial authentication
ファイル:
documentation-specialist.mdsrc/documentation_specialist.py (実装中)| 指標 | 現在 | 目標 | 改善 |
|---|---|---|---|
| 評価パイプライン | 65% | 95% | +30% |
| 構造化出力 | 78% | 95% | +17% |
| RAG統合 | 88% | 98% | +10% |
| メモリ管理 | 85% | 95% | +10% |
| 総合コンプライアンス | 83.7% | 95% | +11.3% |
SuperClaude Framework
│
├── Commands (既存)
│ ├── /sc:implement
│ ├── /sc:analyze
│ └── ...
│
├── Agents (既存)
│ ├── system-architect
│ ├── backend-engineer
│ └── ...
│
└── ContextEngineering (新規)
│
├── 📊 Metrics Analyst
│ ├── metrics-analyst.md
│ └── src/metrics_analyst.py
│
├── 🗂️ Output Architect
│ ├── output-architect.md
│ └── src/output_architect.py
│
├── 🧠 Context Orchestrator
│ ├── context-orchestrator.md
│ └── src/context_orchestrator.py
│
└── 📚 Documentation Specialist
├── documentation-specialist.md
└── src/documentation_specialist.py
graph TD
USER[User Command] --> ROUTER{Command Router}
ROUTER --> DEV[Development Agents]
ROUTER --> MA[Metrics Analyst]
ROUTER --> OA[Output Architect]
ROUTER --> CO[Context Orchestrator]
ROUTER --> DS[Doc Specialist]
DEV --> MA
DEV --> OA
CO --> DEV
MA --> DASHBOARD[Performance Dashboard]
OA --> CICD[CI/CD Integration]
CO --> RAG[Semantic Search]
DS --> DOCS[Documentation]
style MA fill:#f9f,stroke:#333
style OA fill:#bbf,stroke:#333
style CO fill:#bfb,stroke:#333
style DS fill:#fbb,stroke:#333
# 基本依存関係
pip install chromadb # Context Orchestrator用
pip install openai # 埋め込み生成用 (Context Orchestrator)
pip install pydantic # スキーマ検証用 (Output Architect)
pip install pyyaml # YAML出力用 (Output Architect)
# オプション (開発用)
pip install pytest pytest-cov # テスト
pip install black mypy flake8 # コード品質
# ~/.claude/config.yaml
context_engineering:
metrics_analyst:
enabled: true
db_path: ~/.claude/metrics/metrics.db
output_architect:
enabled: true
default_format: human
validate_output: true
context_orchestrator:
enabled: true
vector_store_path: ~/.claude/vector_store/
embedding_model: text-embedding-3-small
documentation_specialist:
enabled: true
languages: [en, ja]
auto_generate: false
# 全テスト実行
pytest tests/
# カバレッジ付き
pytest --cov=src --cov-report=html
# 特定エージェントのテスト
pytest tests/test_metrics_analyst.py
pytest tests/test_output_architect.py
pytest tests/test_context_orchestrator.py
pytest tests/test_documentation_specialist.py
MIT License - SuperClaude Framework
バージョン: 1.0.0
ステータス: 実装中
最終更新: 2025-10-11
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.