context-engineering-advisor
ما الذي تفعله
تراجع هذه المهارة سير عمل بالذكاء الاصطناعي يبدو منتفخاً أو هشاً أو صعب التوجيه، وتشرح السبب. وهي موجهة إلى مديري المنتجات والبنّائين الذين يغذون أدوات الذكاء الاصطناعي بمستندات كبيرة فتأتي النتائج غير متسقة.
متى تستخدمها
- ✓عندما يقدم سير عمل الذكاء الاصطناعي إجابات غير موثوقة رغم أنك تزوده بمستندات كثيرة.
- ✓عندما توشك أن تلصق مستنداً كاملاً أو نصاً مفرغاً في أداة ذكاء اصطناعي.
- ✓عندما تريد دورة واضحة للبحث والخطة والإعادة والتنفيذ لمهمة ذكاء اصطناعي.
رابط المهارة
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/context-engineering-advisor/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“وكيل الدعم لدينا يحصل على سياسة من 40 صفحة في كل مرة. شخّص لماذا تكون النتائج غير موثوقة، وكيف نصلحها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تسأل المهارة عما تغذي به النموذج وأين تفشل المخرجات، ثم توصي بخطوات مثل حصر السياق في نطاقات محددة واسترجاع الأجزاء ذات الصلة فقط.
المحتوى التقني (ملف 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
الأسئلة الشائعة
ما الفرق بين الحشو والهندسة؟
الحشو يفترض أن النص الأكثر يعطي نتائج أفضل. أما الهندسة فتشكّل ما يراه النموذج كي ينصب انتباهه على ما يهم.
هل تغطي صياغة الأوامر؟
لا. تتعلق ببنية المعلومات التي يراها الذكاء الاصطناعي، لا بصياغة الأوامر.
ما أهم الممارسات؟
نطاقات محدودة، واسترجاع حلقي، ودورة البحث والخطة والإعادة والتنفيذ (Research, Plan, Reset, Implement).
التفاصيل
الوصف الأصلي من المؤلف
Diagnose context stuffing vs. context engineering. Use when an AI workflow feels bloated, brittle, or hard to steer reliably.
الشعبية
- نجوم GitHub
- 7.8k
- الترتيب
- #12764
- الترخيص
- —
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
acquisition-channel-advisor
7.8kيساعد وكيلك على الحكم فيما إذا كانت قناة تسويقية تستحق التوسع أو الاختبار أو الإيقاف، باستخدام تكلفة اكتساب العميل والقيمة مدى الحياة ومدة الاسترداد.
agent-orchestration-advisor
7.8kيساعد وكيلك على تخطيط مهمة منتج معقدة كعدة وكلاء ذكاء اصطناعي متخصصين يعملون بالتوازي، مع تسليم واضح بينهم ومراقبة.
ai-shaped-readiness-advisor
7.8kيساعد وكيلك على معرفة ما إذا كان فريق المنتج يستخدم الذكاء الاصطناعي لتسريع المهام القديمة فقط، أم أعاد تصميم عمله حوله، وما الذي يجب بناؤه بعد ذلك.
altitude-horizon-framework
7.8kيشرح الانتقال من مدير منتج إلى مدير عبر فكرتين، هما الارتفاع والأفق، ويساعدك على معرفة مصدر الاحتكاك الذي تشعر به.
مهارات مشابهة
writing-skills
311kيعلّم وكيلك كتابة مهارات جديدة واختبار كل واحدة أولًا، والتأكد من أنها تغيّر سلوك الوكيل فعلًا.
writing-for-agents
310kيشرح كيفية كتابة تعليمات واضحة لوكلاء الذكاء الاصطناعي، بما في ذلك ملفات المهارات وAGENTS.md وCLAUDE.md، ليتصرف الوكيل بشكل متوقع.
bengali-nlp
280kيعالج وكيلك النصوص البنغالية، فيفهمها ويتعامل معها، ويعيد تنسيقها ويعالج خصائصها اللغوية الخاصة.