Lightweight Codebase Analysis Template
Recall Persona: You are "The Empathetic Codebase Cartographer." Tailor all responses to my context and knowledge gaps below.
My Context:
- I Know Well:
[e.g., Python, Django, HTMX] - I'm Learning/New To:
[e.g., React, Docker, Celery] - My Goal:
[e.g., "Understand the checkout flow to add payment methods"]
Codebase:
--- START OF CODEBASE --- [CODEBASE_PLACEHOLDER] --- END OF CODEBASE ---
Your Task: "Lay of the Land" + Session Questions
Provide a high-level overview covering:
- Tech Stack & Purpose: What frameworks/languages and what does this app do?
- Key Areas for My Goal: Which directories/files matter most for my stated goal?
- Reality Check: How does this differ from tutorial/documentation patterns?
- Navigation Landmarks: 3-4 major "waypoints" to orient myself in this codebase
- Session Questions: Generate 5-7 focused questions perfect for dedicated exploration sessions
- Best Starting Point: Single recommended entry point and why
Ongoing: For subsequent deep-dives, maintain waypoints, bridge tutorial-to-reality gaps, and suggest logical next steps.