Prompting Guide: how to ask Corrdex for stronger answers
Corrdex works best when your question clearly names the feature, file, technology, provider, or domain you care about, and asks for the answer shape you want. Use broad discovery prompts when you are searching, then switch to implementation-trace or deep file follow-ups once Corrdex has found the right area.
Core principles
Start with the exact thing you want to find
Corrdex performs best when the question names the feature, technology, provider, domain, file, or behavior you actually care about. Broad product-language prompts are weaker than concrete code-facing prompts.
Ask for the shape of answer you want
If you want a quick inventory, architecture map, implementation trace, or file-level breakdown, say that directly. Corrdex gets stronger when the expected answer shape is explicit.
Use discovery prompts for broad search
When you are not sure where something lives, ask Corrdex to search broadly first. This works especially well for technologies, integrations, providers, and subsystem discovery.
Use implementation-trace prompts when you want the real path
Once you know the area, ask for the concrete execution path. Corrdex is strongest when the question asks for entrypoints, handlers, services, repositories, storage, and external APIs in one flow.
Follow up narrowly instead of starting over
After Corrdex finds the right area, keep drilling into the same subject. Ask about one file, one function, one dependency edge, or one communication path at a time.
Ask for risk only when you want judgment
Risk, violations, blast radius, and refactor guidance are useful, but they are not the best default for every question. Ask for them when you want quality or change impact, not just implementation location.
Prefer exact anchors when you know them
If you know the file path, function name, provider name, or domain term, include it. Exact anchors produce the most reliable answers and make follow-ups much stronger.
If you paste prior context, keep the active ask clear
Corrdex can work from pasted prior context, but the active question should still be short and explicit. Put the real ask first, then paste the prior answer or notes below it.
Prompt templates
Tell me the main technologies, providers, integrations, and external services used in this codebase. Group them by area.
Search broadly for [feature or capability] in this repo. Show me the main files first, then tell me which path looks primary.
Find where [feature] is implemented end to end. I want the entrypoint, handler, service, repository or storage layer, and important functions.
Which providers, integrations, or external services exist for [area]? Group them by folder or integration area, and show the main files for each.
Go in depth on [file or function]. Break down what the important functions do, what they call, what depends on them, and the main communication paths.
If I change [file, function, or feature], what is the likely blast radius, what parts are risky, and what should I verify before refactoring it?
Weak vs strong prompts
Ideal prompting pattern
Find where authentication is implemented end to end. Show me the main entrypoints, services, storage or persistence layer, and important functions. After that, I want to go deeper on the primary file and understand its blast radius.