Building effective context
Section titled “Building effective context”Claude is only as good as the context you give it. Here’s how to structure that context.
Why context is critical
Section titled “Why context is critical”Claude doesn’t know you. It doesn’t know your project, your team, your constraints. Every conversation starts from scratch (unless memory is enabled). It’s up to you to give it the framework it needs to work within.
Good context answers:
- Who — your role, the people involved
- What — the subject, the goal
- Why — the motivation, what’s at stake
- How — the expected format, the constraints
Levels of context
Section titled “Levels of context”Minimal context
Section titled “Minimal context”Sufficient for simple, non-critical tasks.
Fix the typos in this text: [text]Standard context
Section titled “Standard context”For most professional tasks.
I'm a project manager at a tech consultancy. I need to send a meeting recapto a banking client following a production incident.Write an email: professional, factual, reassuring. Max 200 words.Rich context
Section titled “Rich context”For complex or recurring tasks.
Context: I'm working on a Node.js/Express API in production.Stack: Node 20, TypeScript, PostgreSQL, hosted on AWS Lambda.Team: 3 devs, code always reviewed.Conventions: strict ESLint, no TypeScript any, Jest tests required.
Task: [your specific request]Tip: the reusable “context block”
Section titled “Tip: the reusable “context block””For projects you work on regularly, create a context block you paste at the start of each conversation:
## My work context- Role: [your role]- Project: [short description]- Stack / tools: [technologies]- Constraints: [non-negotiables]- Expected tone: [how you want it to respond]Mini-POC — 20 minutes
Section titled “Mini-POC — 20 minutes”Next step → Anatomy of a good prompt