context-engineering-advisor
できること
膨らんでいて、壊れやすく、操作しにくいと感じられるAIのワークフローを見直し、その理由を説明します。大量のドキュメントをAIツールに入れて、結果が安定しないプロダクトマネージャーや作り手向けです。
使う場面
- ✓多くのドキュメントを与えているのに、AIのワークフローが信頼できない答えを返し続けるとき。
- ✓ドキュメントやトランスクリプト全体をAIツールに貼り付けようとしているとき。
- ✓AIのタスクについて、明確なリサーチ、計画、リセット、実装のサイクルが欲しいとき。
スキルのリンク
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/context-engineering-advisor/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社のサポートエージェントは、毎回40ページのポリシーを読みます。なぜ信頼できないのか診断し、直し方を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、モデルに何を入力しているか、出力がどこで失敗するかを尋ね、範囲を限定した領域に文脈を絞ることや、関係する部分だけを取り出すことなどのステップを推奨します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Purpose
Guide product managers through diagnosing whether they're doing context stuffing (jamming volume without intent) or context engineering (shaping structure for attention). Use this to identify context boundaries, fix "Context Hoarding Disorder," and implement tactical practices like bounded domains, episodic retrieval, and the Research→Plan→Reset→Implement cycle.
Key Distinction: Context stuffing assumes volume = quality ("paste the entire PRD"). Context engineering treats AI attention as a scarce resource and allocates it deliberately.
This is not about prompt writing—it's about designing the information architecture that grounds AI in reality without overwhelming it with noise.
Input
Works best with: A description of the AI workflow, agent, or prompt setup that feels bloated, brittle, or hard to steer. Also useful: What you've already stuffed into context (docs, transcripts, schemas) and where outputs go wrong.
Anything supplied with the invocation itself — text after the skill name, a pasted context dump, or an appended ARGUMENTS: line — counts as answers already given. Use it and skip whatever it covers; don't re-ask.
Arriving empty-handed? That works too. The advisor opens by asking what you're feeding the model today and what breaks.
Example invocation: Diagnose my setup: our support-triage agent gets the full 40-page policy manual per ticket and still misroutes edge cases.
Key Concepts
The Paradigm Shift: Parametric → Contextual Intelligence
The Fundamental Problem:
- LLMs have parametric knowledge (encoded during training) = static, outdated, non-attributable
- When asked about proprietary data, real-time info, or user preferences → forced to hallucinate or admit ignorance
- Context engineering bridges the gap between static training and dynamic reality
PM's Role Shift: From feature builder → architect of informational ecosystems that ground AI in reality
Context Stuffing vs. Context Engineering
| Dimension | Context Stuffing | Context Engineering |
|---|---|---|
| Mindset | Volume = quality | Structure = quality |
| Approach | "Add everything just in case" | "What decision am I making?" |
| Persistence | Persist all context | Retrieve with intent |
| Agent Chains | Share everything between agents | Bounded context per agent |
| Failure Response | Retry until it works | Fix the structure |
| Economic Model | Context as storage | Context as attention (scarce resource) |
Critical Metaphor: Context stuffing is like bringing your entire file cabinet to a meeting. Context engineering is bringing only the 3 documents relevant to today's decision.
The Anti-Pattern: Context Stuffing
Five Markers of Context Stuffing:
- Reflexively expanding context windows — "Just add more tokens!"
- Persisting everything "just in case" — No clear retention criteria
- Chaining agents without boundaries — Agent A passes everything to Agent B to Agent C
- Adding evaluations to mask inconsistency — "We'll just retry until it's right"
- Normalized retries — "It works if you run it 3 times" becomes acceptable
Why It Fails:
- Reasoning Noise: Thousands of irrelevant files compete for attention, degrading multi-hop logic
- Context Rot: Dead ends, past errors, irrelevant data accumulate → goal drift
- Lost in the Middle: Models prioritize beginning (primacy) and end (recency), ignore middle
- Economic Waste: Every query becomes expensive without accuracy gains
- Quantitative Degradation: Accuracy drops below 20% when context exceeds ~32k tokens
The Hidden Costs:
- Escalating token consumption
- Diluted attention across irrelevant material
- Reduced output confidence
- Cascading retries that waste time and money
Real Context Engineering: Core Principles
Five Foundational Principles:
- Context without shape becomes noise
- Structure > Volume
- Retrieve with intent, not completeness
- Small working contexts (like short-term memory)
- Context Compaction: Maximize density of relevant information per token
Quantitative Framework:
Efficiency = (Accuracy × Coherence) / (Tokens × Latency)
Key Finding: Using RAG with 25% of available tokens preserves 95% accuracy while significantly reducing latency and cost.
The 5 Diagnostic Questions (Detect Context
よくある質問
詰め込むことと、設計することの違いは何ですか?
詰め込むことは、テキストが多いほど結果が良くなると仮定します。設計することは、モデルが見るものを形づくり、その注意が重要なことに向くようにします。
プロンプトの言い回しもカバーしますか?
いいえ。プロンプトの言葉ではなく、AIが見る情報の構造についてです。
主な実践は何ですか?
範囲を限定した領域、エピソード的な取り出し、リサーチ、計画、リセット、実装のサイクルです。
詳細
作者による元の説明
Diagnose context stuffing vs. context engineering. Use when an AI workflow feels bloated, brittle, or hard to steer reliably.
人気
- GitHubのスター
- 7.8k
- ランキング
- #12764
- ライセンス
- —
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
acquisition-channel-advisor
7.8kエージェントが、顧客獲得コスト、顧客生涯価値、回収期間を使って、マーケティングのチャネルを拡大すべきか、テストすべきか、止めるべきかを判断できるよう支援します。
agent-orchestration-advisor
7.8kエージェントが、複雑なプロダクトのタスクを、明確な引き継ぎと監視を伴って並行して動く、複数の専門のAIエージェントに分けて計画できるよう支援します。
ai-shaped-readiness-advisor
7.8kエージェントが、プロダクトチームがAIを既存の作業の高速化に使うだけか、それともAIを中心に仕事を組み直しているかを確認し、次に何を作るべきかを判断できるよう支援します。
altitude-horizon-framework
7.8k高度と地平線という2つの考え方を通して、プロダクトマネージャーからディレクターへの移行を説明し、摩擦がどこから来ているかを見つける手助けをします。
似ているスキル
writing-skills
311k新しいスキルを書き、それぞれをまず試すようエージェントに教えます。そのスキルが実際にエージェントの動作を変えることを確認します。
writing-for-agents
310kスキル、AGENTS.md、CLAUDE.mdを含め、AIエージェントのための明確な指示の書き方を説明し、エージェントが予測可能に動くようにします。
bengali-nlp
280kエージェントがベンガル語のテキストを処理できるようにします。テキストの正規化など、ベンガル語特有の性質に対応しながら、言語を理解して扱えるようにします。