- Prompt recipes for exploring code, fixing bugs, refactoring, testing, PRs, and documentation
- Resume previous conversations so a task can span multiple sittings
- Run parallel sessions with worktrees so concurrent edits don’t collide
- Plan before editing to review changes before they touch disk
- Delegate research to subagents to keep your main context clean
- Pipe Claude into scripts for CI and batch processing
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
/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
Find relevant code
Suppose you need to locate code related to a specific feature or functionality.1
Ask Claude to find relevant files
2
Get context on how components interact
3
Understand the execution flow