eld-record-structuring
PCE (Process-Context Engine) のコンテキスト構造化スキル。収集した知識を適切な場所・粒度で構造化し、再利用可能にする。トリガー条件:- 「CLAUDE.mdを更新して」- 「ADRを整理して」- 「知識を構造化して」- 「pce-memoryに登録して」- pce-collectionで蓄積された知見の整理時
When & Why to Use This Skill
The PCE (Process-Context Engine) Structuring Skill is a specialized tool designed to transform fragmented project insights into structured, reusable knowledge. It ensures that critical information—ranging from architectural decisions to coding conventions—is persisted in the correct location and granularity, such as ADRs, CLAUDE.md files, or dedicated memory engines, to maintain long-term project context and agent efficiency.
Use Cases
- Case 1: Automatically updating CLAUDE.md files to reflect newly established project guidelines, coding standards, or domain-specific rules discovered during a development session.
- Case 2: Organizing and generating Architecture Decision Records (ADRs) to document the 'why' behind technical choices, ensuring a clear audit trail for future maintenance.
- Case 3: Structuring raw knowledge collected during research or debugging into the pce-memory system with appropriate tags and metadata for immediate retrieval in subsequent tasks.
- Case 4: Performing end-of-milestone knowledge consolidation to clean up accumulated insights, ensuring documentation remains fresh, searchable, and aligned with the current project state.
| name | eld-record-structuring |
|---|---|
| description | | |
PCE Structuring Skill
収集した知識を適切な構造で永続化し、後続プロセスで参照可能にする。
構造化の原則
- 適切な粒度: 1つの記録 = 1つの関心事
- 検索可能性: 後で見つけられるタグ/キーワード
- 文脈保持: なぜそうなったかの経緯
- 鮮度管理: 最終更新日と有効期限
出力先と形式
1. pce-memory (即時参照用)
pce_memory_upsert:
category: pattern | decision | error | rule
content: 構造化された知識
tags: [検索用タグ]
2. CLAUDE.md (プロジェクト指針)
ルートCLAUDE.md - 一般化された原則
## 設計原則
- 原則1: 理由と適用範囲
## コーディング規約
- ...
フォルダCLAUDE.md - ドメイン固有
## このモジュールの責務
- ...
3. ADR (アーキテクチャ決定記録)
# ADR-XXX: タイトル
## Status
Accepted | Deprecated | Superseded by ADR-YYY
## Context
決定が必要になった背景
## Decision
決定内容
## Consequences
結果と影響
構造化ワークフロー
- 収集された知見を分類
- 出力先を決定(pce-memory / CLAUDE.md / ADR)
- 適切なフォーマットで記録
- 関連する既存知識との整合性確認
整理のタイミング
- セッション終了時
- マイルストーン完了時
- 知見が5件以上蓄積した時
- 明示的な整理依頼時