context-and-decisions
できること
このツールは、プロジェクトにおける重要な用語の意味を整理し、説明するのに役立ちます。また、複雑な判断は、既存の決定記録システムに引き継ぎます。
使う場面
- ✓技術用語を何度も説明する必要があるとき。
- ✓プロジェクト内で一つの言葉が複数の意味を持つとき。
- ✓重要で元に戻しにくい決定を記録する必要があるとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/context-and-decisions/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このプロジェクトで「アクティブな顧客」が何を意味するか説明し、支払いが遅れた場合の対応方法を決定として記録してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、既存のドキュメントに用語の説明がないか探します。見つからなければ、意味を記録するファイルを作成します。重要な決定は、別の記録システムに送られます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Domain Context and Decision Handoff
Govern “what these business terms mean” separately from “why this option was chosen.” Do not create an empty shell when no stable content exists.
Domain Context Artifact: Domain Language Only
When terms require repeated explanation, one term has multiple meanings, or unclear language causes module-boundary errors, first reuse the repository's existing glossary/domain-model document or the context role in .governance/docs-map.json. Only when no equivalent exists should you lazily create the default CONTEXT.md from templates/context.example.md.
Record only:
- domain terms and precise definitions;
- relationships among core concepts;
- confirmed ambiguities and the chosen interpretation;
- ambiguities still awaiting confirmation from a domain owner.
Do not include implementation details, current state, task schedules, full requirements, decision rationale, or history. Keep those in code/MAP, STATUS/Issue Tracker, Spec, ADR, and LOG respectively. Terms must be traceable to code, contracts, or business evidence. Mark unconfirmed items as needs confirmation; do not guess.
ADR Handoff: Reuse the Existing Capability
This skill does not define a second ADR directory, numbering scheme, lifecycle, or template. When a decision is hard to reverse, would confuse a future reader without context, and involves a real tradeoff:
- Read and execute
architecture-decision-records, preserving the repository's existing ADR location and format. - If no convention exists, let that skill choose the minimum viable location; do not create a separate system here.
- Link to the ADR from
CONTEXT.md, the project map, or the relevant Spec/Issue instead of copying the decision body. - When a decision is accepted, superseded, or deprecated, append an event to project history according to the living-document rules.
Routine implementation details, easily reversible changes, and short-lived experiments do not need ADRs.
When to Activate
- Domain terms are repeatedly re-explained or ambiguous language causes implementation drift.
- The project needs a stable domain-language entry point but has no equivalent document.
- Context work uncovers a durable decision that should be handed to
architecture-decision-records.
When to Use
Use this skill when stable domain language needs one evidence-backed home, or when context work reveals a hard-to-reverse decision that belongs in the repository's existing ADR system.
How It Works
- Reuse the mapped context or glossary artifact when one exists; create
CONTEXT.mdonly when no equivalent source of truth is available. - Record precise domain definitions, relationships, confirmed interpretations, and explicitly unconfirmed ambiguities without mixing in implementation or task state.
- Route durable tradeoffs to
architecture-decision-recordsand link the resulting ADR instead of copying its rationale into context documents. - Keep schedules, blockers, and execution status in the existing issue tracker.
Examples
- Define an overloaded business term once and link it to the code or contract that proves its meaning.
- Mark a domain interpretation as
needs confirmationuntil a domain owner resolves it. - Hand off a durable storage or boundary decision to the existing ADR workflow and link it from the context artifact.
Anti-Patterns
- Copying current tasks, schedules, full requirements, or implementation details into
CONTEXT.md. - Creating empty context files or a second ADR system for completeness.
- Treating unconfirmed domain interpretations as facts, or copying ADR bodies into maps and logs.
Related Skills
architecture-decision-records: the sole ADR methodology for hard-to-reverse decisions.living-docs-governance: lifecycle maintenance for the project map, status, and history.docs-governance: cross-capability routing and closeout order.
Scheduling and Task Boundary
Keep tasks, status, blockers, and schedules in the project's existing tracker, such as GitHub Issues or Linear, as the single source of truth. Use local .scratch/ only when no external tracker exists and the project explicitly adopts it. Do not put schedules in CONTEXT.md, ADRs, PROJECT_STATUS, or the history index database.
よくある質問
このドキュメントに書くべきではない内容は何ですか?
実装の詳細、作業スケジュール、要件の全文、決定の履歴は含めないでください。これらはコード、タスク管理ツール、決定記録など別の場所に残します。
ADRとは何ですか?
「Architecture Decision Record(アーキテクチャ決定記録)」の略です。プロジェクトの構築や設計において行われた、重要で元に戻しにくい決定を説明するドキュメントです。
新しいコンテキストファイルを作るべきなのはいつですか?
プロジェクトに用語を説明する用語集やドメインモデルのドキュメントが存在しない場合にのみ、新しいコンテキストファイルを作成してください。
詳細
作者による元の説明
Govern stable domain context with a narrowly scoped CONTEXT.md when needed, and route hard-to-reverse decisions to ECC's existing architecture-decision-records skill. Use when domain terms require repeated explanation, one term has multiple meanings, unclear language causes module-boundary mistakes, or domain semantics must remain separate from architecture decisions.
repo: affaan-m/ECC
人気
- GitHubのスター
- 280k
- ランキング
- #154
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
accessibility
280kエージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
archify
260k小さなJSONの仕様を、確認済みの対話型HTML図に変えるArchifyをインストールします。その図は、画像や動画として書き出すこともできます。
concept-diagrams
260k1つのHTMLファイルとSVGの図として、物理学、生物学、解剖学、間取り図、プロセスを扱う、シンプルでフラットな教育用の図を作ります。