Each task in this document includes clear instructions, example commands, and best practices to help you get the most from Claude Code.
Understand new codebases Get a quick codebase overviewSuppose you’ve just joined a new project and need to understand its structure quickly.
Find relevant codeSuppose you need to locate code related to a specific feature or functionality.
Fix bugs efficientlySuppose you’ve encountered an error message and need to find and fix its source.
Refactor codeSuppose you need to update old code to use modern patterns and practices.
Use specialized subagentsSuppose you want to use specialized AI subagents to handle specific tasks more effectively.
Work with testsSuppose you need to add tests for uncovered code.
Create pull requestsSuppose you need to create a well-documented pull request for your changes.
Handle documentationSuppose you need to add or update documentation for your code.
Work with imagesSuppose you need to work with images in your codebase, and you want Claude’s help analyzing image content.
Reference files and directoriesUse @ to quickly include files or directories without waiting for Claude to read them.
Use extended thinkingSuppose you’re working on complex architectural decisions, challenging bugs, or planning multi-step implementations that require deep reasoning.
Resume previous conversationsSuppose you’ve been working on a task with Claude Code and need to continue where you left off in a later session.
Claude Code provides two options for resuming previous conversations:
--continue
to automatically continue the most recent conversation--resume
to display a conversation pickerSuppose you need to work on multiple tasks simultaneously with complete code isolation between Claude Code instances.
Use Claude as a unix-style utility Add Claude to your verification processSuppose you want to use Claude Code as a linter or code reviewer.
Add Claude to your build script:
Pipe in, pipe outSuppose you want to pipe data into Claude, and get back data in a structured format.
Pipe data through Claude:
Control output formatSuppose you need Claude’s output in a specific format, especially when integrating Claude Code into scripts or other tools.
Create custom slash commandsClaude Code supports custom slash commands that you can create to quickly execute specific prompts or tasks.
For more details, see the Slash commands reference page.
Create project-specific commandsSuppose you want to create reusable slash commands for your project that all team members can use.
Add command arguments with $ARGUMENTSSuppose you want to create flexible slash commands that can accept additional input from users.
Create personal slash commandsSuppose you want to create personal slash commands that work across all your projects.
Ask Claude about its capabilitiesClaude has built-in access to its documentation and can answer questions about its own features and limitations.
Example questions Next steps Claude Code reference implementationClone our development container reference implementation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4