Home
cd ../playbooks
Product ManagementAdvanced

Context Engineering Advisor

Diagnose whether you're doing context stuffing (volume without intent) or context engineering (structure for attention). Build memory architecture, define context boundaries, and implement the Research → Plan → Reset → Implement cycle.

15 minutes
By communitySource
#ai-agents#context-engineering#rag#memory-architecture#prompt-engineering#llm-design

You pasted the entire PRD, all the user interviews, and last quarter's meeting notes into Claude — and the response is still vague and hedged. That's not a prompt problem. It's an architecture problem: volume ≠ quality, and context windows aren't free.

Who it's for: PMs whose AI outputs feel mediocre despite stuffing huge context, AI engineers designing agent workflows, product leaders building AI-powered features, anyone burning tokens without seeing accuracy gains, teams with agent chains that pass everything downstream

Example

"My AI outputs are mediocre even though I'm giving it lots of information — diagnose what's wrong" → Run 5 diagnostic questions, produce a Context Manifest (persist vs. retrieve vs. exclude), design two-layer memory architecture, and apply Research→Plan→Reset→Implement to eliminate context rot

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add context-engineering-advisor
# Context Engineering Advisor

Guide product managers through diagnosing whether they're doing **context stuffing** (jamming volume without intent) or **context engineering** (shaping structure for attention). 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.

## 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?" |

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Diagnoses whether your AI workflows are doing "context stuffing" (jamming volume without intent) or "context engineering" (shaping structure for attention). Identifies context boundaries, builds a two-layer memory architecture, and implements the Research→Plan→Reset→Implement cycle to prevent context rot.

Not prompt engineering — information architecture design.


Quick Start

mkdir -p ~/Documents/ContextEngineering
mv ~/Downloads/CLAUDE.md ~/Documents/ContextEngineering/
cd ~/Documents/ContextEngineering
claude

Describe your current AI workflow and symptoms. Claude walks you through the 5 diagnostic questions and produces a Context Manifest + action plan.


The 5 Diagnostic Questions

  1. What specific decision does this support?
  2. Can retrieval replace persistence?
  3. Who owns the context boundary?
  4. What fails if we exclude this?
  5. Are we fixing structure or avoiding it?

If you can't answer #1 or #4, delete the context.


The Research → Plan → Reset → Implement Cycle

  1. Research — chaotic context allowed, gather broadly
  2. Plan — synthesize into a high-density SPEC.md
  3. Reset — clear the entire context window
  4. Implement — fresh session using only the plan

This is the fix for context rot. Skipping the Reset is why agents "lose the thread" on long tasks.


Five Markers of Context Stuffing

  • Reflexively expanding context windows
  • Persisting everything "just in case"
  • Chaining agents without boundaries
  • Adding evaluations to mask inconsistency
  • Normalized retries ("it works if you run it 3 times")

Accuracy drops below 20% past ~32k tokens. Using RAG with 25% of available tokens preserves 95% accuracy.


Tips & Best Practices

  • Treat tokens as scarce. "Infinite context" marketing doesn't match engineering reality.
  • Retrieve with intent, not completeness. If information is referenced in <20% of interactions, retrieve it; don't persist it.
  • Assign a context boundary owner. Without one, context grows indefinitely.
  • Run quarterly context audits. Re-apply the 5 diagnostic questions.
  • If you're retrying prompts 3+ times, don't tune the prompt — fix the structure.

Common Pitfalls

  • Believing more tokens = better outputs (they don't past ~32k)
  • Normalizing retries instead of restructuring
  • Passing full context between chained agents
  • Mixing always-needed and episodic context in the same layer
  • Skipping the Reset phase and letting context rot poison implementation

$Related Playbooks

Product Management

Altitude & Horizon Framework (PM → Director)

Understand the PM-to-Director transition through altitude (scope) and horizon (time). Diagnose which of four transition zones is creating friction and apply the Cascading Context Map when direction from above is vague.

10 minutes
Intermediate
Product Management

Director Readiness Advisor

Coach the PM-to-Director transition with 4 situational branches — preparing, interviewing, newly landed, or recalibrating — and deliver war-story-backed guidance calibrated to your specific stage.

10 minutes
Advanced
Product Management

Discovery Interview Prep

Design a customer discovery interview plan with the right methodology, questions, and bias guardrails — calibrated to your research goal, segment, and constraints via 4 adaptive questions.

15 minutes
Intermediate
Product Management

Discovery Process (End-to-End)

Run a complete 6-phase discovery cycle — frame, research, synthesize, generate, validate, decide — in 3-4 weeks. Orchestrates 10+ component skills for problem-to-validated-solution workflow.

30 minutes
Advanced
Product Management

Customer Journey Map

Build a strategic customer journey map across Awareness → Consideration → Decision → Service → Loyalty — with actions, touchpoints, emotions, KPIs, business goals, and owning teams per stage.

20 minutes
Intermediate
Product Management

Customer Journey Mapping Workshop

Run a 5-question adaptive workshop to build a customer journey map — actor, scenario, phases, actions/emotions, and prioritized opportunities — that aligns cross-functional teams around real pain points.

15 minutes
Intermediate
Product Management

End-of-Life (EOL) Message

Write a clear, empathetic EOL announcement with customer-benefit rationale, explicit impact acknowledgment, transition support, and specific timeline — maintaining trust through product retirements.

10 minutes
Beginner
Product Management

Epic Breakdown Advisor (Humanizing Work)

Break epics into user stories using the Humanizing Work methodology — INVEST validation, 9 splitting patterns applied sequentially, and evaluation criteria that expose low-value work.

15 minutes
Intermediate
Product Management

Epic Hypothesis (Lean UX)

Frame epics as falsifiable if/then hypotheses with tiny discovery experiments and 2-4 week validation measures — so you can kill bad ideas before committing engineering.

10 minutes
Intermediate
Product Management

Feature Investment Advisor

Evaluate whether to build a feature using revenue connection, cost structure, ROI, and strategic value. Delivers build / build-strategic / don't-build / build-later recommendations with supporting math.

15 minutes
Advanced
Product Management

Finance-Based Pricing Advisor

Evaluate pricing changes (increases, tiers, add-ons, discounts) using ARPU, conversion, churn risk, NRR, and CAC payback math — before you ship the change.

15 minutes
Advanced
Product Management

VP/CPO Executive Onboarding Playbook (30-60-90)

Run the first 90 days as diagnosis, not execution — Month 1 Diagnose, Month 2 Validate, Month 3 Act with Evidence. Plus Phase 0 CEO interview questions for evaluating the offer.

25 minutes
Advanced

Browse all Product Management playbooks →