Skip to lesson
Exit
Context, tools & MCP1 / 3

1 min lesson

Give the agent the right context

Answer "What's the single most useful piece of context for a bug-fix task?" Use the clue you found.

Step 1 of 3

Garbage context in, garbage change out.

Context is not a pile of files. It is the evidence Agent needs to make one decision at a time. A small bug fix may need the failing test and one implementation file. A migration may need the old pattern and the target API docs.

CONTEXT SHELF
Cursor's composer with the slash command picker open, listing skills and commands beside a skill detail panel.

The composer is where context gets chosen. Typing a slash here lists skills and commands, and typing @ opens the context menu the same way.