Back to guide/General Productivity

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.

windsurf-promptsframeworkcore_conceptdata_source
Edit View
Prompt
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

{{framework}}{{core_concept}}{{data_source}}{{data_destination}}

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.