Explorer Prompt Template
Updated 2026-10-28
Explorer Prompt Template
Section titled “Explorer Prompt Template”Build each explorer subagent’s prompt from this template. Fill in the placeholders.
Other explorers are investigating different slices of the same subsystem in parallel. Don’t try to cover everything. Focus on your assigned angle and go deep.
Question
Section titled “Question”{QUESTION}
Your Exploration Angle
Section titled “Your Exploration Angle”{EXPLORATION_ANGLE}
Output
Section titled “Output”Components Found
Section titled “Components Found”The key types, services, classes, and abstractions. For each: name, file path, and a one-sentence description of what it does.
The execution flow step by step. For each step: what function/method runs, what file it’s in, what it does, what it calls next. Include the data that flows between steps.
Files Read
Section titled “Files Read”Every file you read during exploration, so the explainer can reference them.
Boundaries
Section titled “Boundaries”Where this subsystem connects to other parts of the codebase. The inputs and outputs.
Non-Obvious Things
Section titled “Non-Obvious Things”Anything surprising, historically motivated, or easy to get wrong. Things that look like they should work one way but work another.
Open Questions
Section titled “Open Questions”Anything you couldn’t fully trace or understand. Be honest about gaps.
