Codebase Navigation
Gives Cascade a structured exploration plan instead of a vague 'explain this codebase.' The numbered steps guide it through a logical discovery process that builds understanding incrementally.
I'm new to this codebase. Help me understand the architecture:\n\n1. Read the top-level directory structure and identify the main entry points\n2. Find the {{framework}} configuration file and summarize the key settings\n3. Identify the routing pattern — list all routes/pages and what they do\n4. Find where {{core_concept}} is implemented (the main service/module)\n5. Map the data flow: how does data get from {{data_source}} to {{data_destination}}?\n\nOutput a brief architecture summary with:\n- Tech stack (framework, language, database, key libraries)\n- Directory structure overview (what lives where)\n- Key files I should read first\n- Any patterns or conventions the codebase follows
Variables to customize
Why this prompt works
Gives Cascade a structured exploration plan instead of a vague 'explain this codebase.' The numbered steps guide it through a logical discovery process that builds understanding incrementally.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.