Prompt: The Context Spec Generator
A context engineering prompt that turns a 3-sentence agent idea into a production-ready spec.
Before you use this prompt, read: An Illustrated Guide to Context Engineering, Prompt Engineering, and The Future of Both
What This Prompt Does
This prompt turns Claude into a context engineering architect that audits the information design of an AI agent before it’s built.
You describe what you’re building, and it returns a ranked list of the five highest-stakes context items, decisions about where each one lives (system prompt, episodic memory, semantic store, or runtime retrieval), freshness requirements, failure modes, observable signals for production, fallbacks for retrieval failures, an eviction order for compression, and one risk you didn’t think to ask about.
It treats context as a product with SLAs rather than as prompt-stuffing, and forces specificity by gating on constraints (model, window size, latency, session length) before answering.
The Prompt
Copy this prompt to map model, memory, latency, and failure modes.


