2
Context
Managing what the agent knows — and doesn't know.
4 patterns
2.1
Context Priming
Front-load the most relevant files and decisions before making a request, so the agent starts from understanding rather than guessing.
Intermediate4 min read
2.2
Scope Fence
Explicitly constrain the agent's working area to prevent drift into unrelated code, keeping changes focused and reviewable.
Intermediate4 min read
2.3
Progressive Disclosure
Reveal project complexity incrementally instead of dumping everything at once, avoiding context overload.
Intermediate5 min read
2.4
Anchor Point
Reference specific files, functions, and line numbers to ground the agent in concrete code rather than abstract descriptions.
Beginner4 min read