Skip to main content
This page collects short recipes for everyday development. For higher-level guidance on prompting and context management, see Best practices. This page covers:

Prompt recipes

These are prompt patterns for everyday tasks like exploring unfamiliar code, debugging, refactoring, writing tests, and creating PRs. Each works in any Claude Code surface; adapt the wording to your project.

Understand new codebases

For configuring Claude Code in a monorepo or large codebase, see Monorepos and large repos.

Get a quick codebase overview

Suppose you’ve just joined a new project and need to understand its structure quickly.
1

Navigate to the project root directory

Replace /path/to/project with the path to your project.
2

Start Claude Code

3

Ask for a high-level overview

4

Dive deeper into specific components