Workflows

Understand a new repo

Get oriented in an unfamiliar codebase fast.

Goal

Build a mental model of a new codebase without reading everything.

Outcome: You understand the structure, key entry points, and main patterns before writing a line.

New repo
Basic

Steps

1

Open Claude in the repo root

Start a session at the top level so Claude has access to all files.

claude
2

Ask for a high-level overview

Get the big picture before diving in.

claude "give me a high-level overview of this repo — what does it do, what are the main folders, and what are the key entry points?"
3

Explore specific areas

Follow up on areas that matter to your task.

claude "where is authentication handled and how does it work?"
4

Check dependencies and config

Understand what the project depends on and how it is configured.

!cat package.json
!ls -la
5

Ask about conventions

Understanding conventions prevents you from breaking them.

claude "what patterns and conventions does this codebase follow?"

Commands used