AIPM
Theme
CodingText outputStructured Data outputAdvanced

Explain This Legacy Codebase to Me

Maps entry points, data flow, important modules, side effects, risks, and safe starting tasks.

Ready to use

Prompt

Create an evidence-based orientation guide for the supplied legacy codebase.

Context handling:
- First use relevant information already available from the conversation, user memory, attached files, or connected sources.
- Do not ask the user to repeat information you already have.
- Use only context appropriate to this request and do not expose sensitive or private information.
- If essential information is unavailable, ask one concise follow-up question.
- State important assumptions and never invent facts.

Input:
{{codebase_context}}

Produce:
1. System purpose
2. Entry points and runtime flow
3. Module and dependency map
4. Data stores and external services
5. State and side effects
6. Build, test, and deployment path
7. Fragile areas and unknowns
8. Glossary
9. Safe first tasks
10. Questions for maintainers

Requirements:
Reference concrete files or symbols. Clearly distinguish observed behavior from inference and never fabricate missing architecture.

Create your final prompt

Add your context and generate

Fill in the required variables below. Optional variables can be left blank and will remain as placeholders.

Repository files, architecture notes, or selected code to analyze.

What to expect

Example output

A codebase map, runtime walkthrough, risk register, and safe onboarding tasks.

Example context

Example input

Attach repository files or provide a tree plus representative entry points.

Discussion

Comments (0)

Loading comments…