Reliable Workflows for the Agentic Engineering Era

Prompt Cookbook

Concrete starting points you can paste into your assistant. The goal is always the same: gather structure first, then write code.

Create an implementation plan
Turn a feature request into a realistic plan aligned with the existing architecture.
get-repository-overviewget-symbol-contextread-file
Example prompt
You are helping me implement a feature in a TypeScript monorepo.

<...feature description...>

Use Context Master tools to propose a realistic implementation plan:
- Start with get-repository-overview to get an architectural overview of the codebase.
- Use get-symbol-context on symbols related to the feature to map blast radius and key call sites.
- Use read-file only if necessary. Use the `includeSource: true` flag when you want to read the source code of a symbol.
Understand a legacy flow
Answer “how does this work?” with a traceable execution path, not guesses.
get-symbol-context
Example prompt
Help me understand a bug in our “Invite user” flow.

Question: When a user clicks “Invite” in `InviteMemberDialog`, how does the request propagate to the backend and where do we enforce role checks?

Use get-symbol-context to follow referenced-by edges for `inviteMember` and any auth/permission checks.

Output a concrete call chain (UI -> client -> server -> persistence) and where errors are generated.
Plan a safe refactor
Map blast radius before touching code so you don’t ship breaking changes.
get-repository-overviewget-symbol-context
Example prompt
I want to refactor `FooBar` to return a structured result instead of throwing:
<...refactor description...>

Use Context Master tools:
- get-repository-overview to gain a high-level understanding of the codebase and the most central symbols.
- get-symbol-context for `FooBar` and the top dependents (referenced-by).
Generate targeted tests
Write tests that match real usage, not imagined inputs.
get-symbol-contextread-file
Example prompt
I need tests for `computeRetryDelay` (used by our job queue).

Use get-symbol-context on `computeRetryDelay` and its referenced-by symbols (call-sites).

Then propose a test matrix that covers actual usage patterns and edge cases.
Draft docs from code reality
Produce documentation that reflects what the code actually does today.
get-repository-overviewget-symbol-contextread-file
Example prompt
Draft internal docs for the `WebhookRouter` module.

Use Context Master tools:
- get-repository-overview to identify and understand the architecture of the codebase.
- get-symbol-context on the `WebhookRouter` symbol to list its dependents and dependencies.
- get-symbol-context on those symbols to gain a better understanding of the surroundings of `WebhookRouter`.

Write docs about:
- Entry points and how requests are routed
- How signatures are verified
- Where retries/idempotency are handled
- How to add a new webhook handler (step-by-step).

Keep exploring