context-engineering-advisor
Skill này làm gì
Skill này xem xét một quy trình AI có vẻ phình to, mong manh hoặc khó điều khiển, và giải thích lý do. Skill dành cho product manager và người xây dựng hay đưa tài liệu lớn vào công cụ AI rồi nhận kết quả không nhất quán.
Khi nào nên dùng
- ✓Khi quy trình AI của bạn liên tục đưa ra câu trả lời không đáng tin dù bạn cung cấp rất nhiều tài liệu.
- ✓Khi bạn sắp dán toàn bộ một tài liệu hoặc bản ghi vào công cụ AI.
- ✓Khi bạn muốn một chu kỳ rõ ràng gồm nghiên cứu, lập kế hoạch, đặt lại và triển khai cho một tác vụ AI.
Liên kết skill
https://github.com/deanpeters/Product-Manager-Skills/blob/main/skills/context-engineering-advisor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Agent hỗ trợ khách hàng của chúng tôi lần nào cũng nhận một chính sách dài 40 trang. Hãy chẩn đoán vì sao nó không đáng tin và cách sửa.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hỏi bạn đưa gì vào mô hình và đầu ra hỏng ở đâu, rồi đề xuất các bước như giới hạn ngữ cảnh vào những vùng có ranh giới và chỉ truy xuất những phần liên quan.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nhồi khác kỹ thuật ngữ cảnh thế nào?
Nhồi giả định nhiều văn bản hơn nghĩa là kết quả tốt hơn. Kỹ thuật định hình những gì mô hình thấy để sự chú ý của nó tập trung vào điều quan trọng.
Nó có bao gồm cách viết prompt không?
Không. Nó nói về cấu trúc thông tin mà AI thấy, không phải cách diễn đạt prompt.
Các thực hành chính là gì?
Miền có ranh giới (bounded domains), truy xuất theo từng đoạn (episodic retrieval), và chu kỳ Research, Plan, Reset, Implement.
Chi tiết
Mô tả gốc của tác giả
Diagnose context stuffing vs. context engineering. Use when an AI workflow feels bloated, brittle, or hard to steer reliably.
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #12764
- Giấy phép
- —
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquisition-channel-advisor
7.8kGiúp agent của bạn đánh giá một kênh marketing có đáng mở rộng, thử nghiệm hay dừng lại không, dựa trên chi phí thu hút khách hàng, giá trị vòng đời và thời gian hoàn vốn.
agent-orchestration-advisor
7.8kGiúp agent của bạn lên kế hoạch cho một tác vụ sản phẩm phức tạp như nhiều agent AI chuyên biệt làm việc song song, với bàn giao rõ ràng và giám sát.
ai-shaped-readiness-advisor
7.8kGiúp agent của bạn kiểm tra xem nhóm sản phẩm chỉ dùng AI để làm nhanh việc cũ hay đã thiết kế lại công việc quanh AI, và nên xây gì tiếp theo.
altitude-horizon-framework
7.8kGiải thích bước chuyển từ product manager lên director qua hai ý tưởng là độ cao và tầm nhìn, và giúp bạn tìm ra nguồn gốc của sự cản trở.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.