daBongo LMS AI Training Courses

Claude Code Foundations – Your Daily Dev Workflow

Lesson 4: File Navigation and Codebase Work

Lesson Objectives

By the end of this lesson, students should be able to:

  • Ask Claude Code to navigate and explore an unfamiliar codebase
  • Use Claude Code to understand a feature or system by following its code path
  • Make changes that span multiple files with confidence
  • Onboard onto an unfamiliar codebase using Claude Code as a guide

Lesson Content

Codebase navigation – asking Claude to find things.

In Code mode, Claude Code can read directory structures, search for files, grep for patterns, and follow import chains – without you manually doing any of it. Navigation requests:

  • "Where is the authentication middleware applied in this Express app?"
  • "Find all the places where the UserProfile type is used"
  • "What does the flow look like from the API endpoint to the database for a user creation request?"

These requests produce structural understanding of the codebase – the same understanding a senior engineer builds up over months of context, compressed into a session.

Understanding unfamiliar systems.

When onboarding to a new codebase or a complex feature:

  1. Ask Claude Code to describe the high-level architecture of a directory or module
  2. Ask it to trace a specific user flow end-to-end through the code
  3. Ask it to identify what a specific file or class is responsible for and how it connects to adjacent code
  4. Ask it to summarize the most important things to understand about a module before working in it

This produces a working model faster than manual code reading – and you can verify it against the actual code as you go.

Multi-file changes.

For changes that span multiple files, Claude Code can:

  • Identify all the files that need to change
  • Propose a change plan before making any edits
  • Apply changes sequentially and consistently

When requesting a multi-file change, specify: "Before making any edits, tell me which files you will change and what change you will make to each." This produces a change plan you can review before any edits happen – a critical oversight step for broad changes.

Onboarding to new codebases.

A structured Claude Code onboarding session for a new codebase:

  1. Run a high-level architecture overview: "Describe the top-level structure of this repository"
  2. Trace the main user flow: "Trace the flow from a user login request through to session creation"
  3. Identify the conventions: "What naming conventions and patterns do you observe in this codebase?"
  4. Find the entry points: "Where would I start if I needed to add a new API endpoint?"

Twenty to thirty minutes with Claude Code can provide the structural context that would otherwise take days of manual reading.

Practical Example

A developer joins a team mid-sprint and needs to add a feature to a codebase she has never seen.

She runs a thirty-minute Claude Code onboarding session: architecture overview (5 min), trace the flow for the feature she needs to modify (10 min), identify conventions (5 min), find where her new code needs to live (10 min).

She arrives at her first code change knowing exactly which file to edit, what pattern to follow, and what tests to update.

Her first PR is clean, on-pattern, and passes review on the first try.

Her previous approach on a new codebase: two days before she felt confident enough to make a change.

Safety Notes

When Claude Code provides architectural descriptions of an unfamiliar codebase, verify significant claims before building on them. Claude can misread complex codebases, especially ones with non-standard patterns, heavy metaprogramming, or unusual file structures. Use Claude's descriptions as a starting map – trace important paths manually to verify before making significant changes based on Claude's structural understanding.

Log in and enroll to access lesson quizzes.

Scroll to Top