René's URL Explorer Experiment


Title: Best practices for Claude Code - Claude Code Docs

Open Graph Title: Best practices for Claude Code - Claude Code Docs

X Title: Best practices for Claude Code - Claude Code Docs

Description: Tips and patterns for getting the most out of Claude Code, from configuring your environment to scaling across parallel sessions.

Open Graph Description: Tips and patterns for getting the most out of Claude Code, from configuring your environment to scaling across parallel sessions.

X Description: Tips and patterns for getting the most out of Claude Code, from configuring your environment to scaling across parallel sessions.

Mail addresses
user@example.com
user@.com

Opengraph URL: https://code.claude.com/docs/en/best-practices

Generator: Mintlify

direct link

Domain: www.anthropic.com

application-nameClaude Code Docs
msapplication-config/docs/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/browserconfig.xml
apple-mobile-web-app-titleClaude Code Docs
msapplication-TileColor#0E0E0E
og:site_nameClaude Code Docs
og:imagehttps://claude-code.mintlify.app/_next/image?url=/_mintlify/api/og?division=Use+Claude+Code&appearance=system&title=Best+practices+for+Claude+Code&description=Tips+and+patterns+for+getting+the+most+out+of+Claude+Code%2C+from+configuring+your+environment+to+scaling+across+parallel+sessions.&logoLight=https%3A%2F%2Fmintcdn.com%2Fclaude-code%2Fc5r9_6tjPMzFdDDT%2Flogo%2Flight.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3Dc5r9_6tjPMzFdDDT%26q%3D85%26s%3D78fd01ff4f4340295a4f66e2ea54903c&logoDark=https%3A%2F%2Fmintcdn.com%2Fclaude-code%2Fc5r9_6tjPMzFdDDT%2Flogo%2Fdark.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3Dc5r9_6tjPMzFdDDT%26q%3D85%26s%3D1298a0c3b3a1da603b190d0de0e31712&primaryColor=%230E0E0E&lightColor=%23D4A27F&darkColor=%230E0E0E&backgroundLight=%23FDFDF7&backgroundDark=%2309090B&w=1200&q=100
og:image:width1200
og:image:height630
og:typewebsite
twitter:cardsummary_large_image
twitter:imagehttps://claude-code.mintlify.app/_next/image?url=/_mintlify/api/og?division=Use+Claude+Code&appearance=system&title=Best+practices+for+Claude+Code&description=Tips+and+patterns+for+getting+the+most+out+of+Claude+Code%2C+from+configuring+your+environment+to+scaling+across+parallel+sessions.&logoLight=https%3A%2F%2Fmintcdn.com%2Fclaude-code%2Fc5r9_6tjPMzFdDDT%2Flogo%2Flight.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3Dc5r9_6tjPMzFdDDT%26q%3D85%26s%3D78fd01ff4f4340295a4f66e2ea54903c&logoDark=https%3A%2F%2Fmintcdn.com%2Fclaude-code%2Fc5r9_6tjPMzFdDDT%2Flogo%2Fdark.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3Dc5r9_6tjPMzFdDDT%26q%3D85%26s%3D1298a0c3b3a1da603b190d0de0e31712&primaryColor=%230E0E0E&lightColor=%23D4A27F&darkColor=%230E0E0E&backgroundLight=%23FDFDF7&backgroundDark=%2309090B&w=1200&q=100
twitter:image:width1200
twitter:image:height630

Links:

/docs/llms.txthttps://www.anthropic.com/docs/llms.txt
Skip to main contenthttps://www.anthropic.com/engineering/claude-code-best-practices#content-area
Claude Code Docs home pagehttps://www.anthropic.com/docs/en/overview
Claude Developer Platformhttps://platform.claude.com/
Claude Code on the Webhttps://claude.ai/code
Claude Code on the Webhttps://claude.ai/code
Getting startedhttps://www.anthropic.com/docs/en/overview
Build with Claude Codehttps://www.anthropic.com/docs/en/agents
Administrationhttps://www.anthropic.com/docs/en/admin-setup
Configurationhttps://www.anthropic.com/docs/en/settings
Referencehttps://www.anthropic.com/docs/en/cli-reference
Agent SDKhttps://www.anthropic.com/docs/en/agent-sdk/overview
What's Newhttps://www.anthropic.com/docs/en/whats-new
Resourceshttps://www.anthropic.com/docs/en/legal-and-compliance
Overviewhttps://www.anthropic.com/docs/en/overview
Quickstarthttps://www.anthropic.com/docs/en/quickstart
Changeloghttps://www.anthropic.com/docs/en/changelog
How Claude Code workshttps://www.anthropic.com/docs/en/how-claude-code-works
Extend Claude Codehttps://www.anthropic.com/docs/en/features-overview
Explore the .claude directoryhttps://www.anthropic.com/docs/en/claude-directory
Explore the context windowhttps://www.anthropic.com/docs/en/context-window
Prompt cachinghttps://www.anthropic.com/docs/en/prompt-caching
Store instructions and memorieshttps://www.anthropic.com/docs/en/memory
Permission modeshttps://www.anthropic.com/docs/en/permission-modes
Manage sessionshttps://www.anthropic.com/docs/en/sessions
Common workflowshttps://www.anthropic.com/docs/en/common-workflows
Prompt libraryhttps://www.anthropic.com/docs/en/prompt-library
Best practiceshttps://www.anthropic.com/docs/en/best-practices
Overviewhttps://www.anthropic.com/docs/en/platforms
Remote Controlhttps://www.anthropic.com/docs/en/remote-control
Chrome extension (beta)https://www.anthropic.com/docs/en/chrome
Computer use (preview)https://www.anthropic.com/docs/en/computer-use
Visual Studio Codehttps://www.anthropic.com/docs/en/vs-code
JetBrains IDEshttps://www.anthropic.com/docs/en/jetbrains
Claude Code in Slackhttps://www.anthropic.com/docs/en/slack
Give Claude a way to verify its workhttps://www.anthropic.com/engineering/claude-code-best-practices#give-claude-a-way-to-verify-its-work
Explore first, then plan, then codehttps://www.anthropic.com/engineering/claude-code-best-practices#explore-first-then-plan-then-code
Provide specific context in your promptshttps://www.anthropic.com/engineering/claude-code-best-practices#provide-specific-context-in-your-prompts
Provide rich contenthttps://www.anthropic.com/engineering/claude-code-best-practices#provide-rich-content
Configure your environmenthttps://www.anthropic.com/engineering/claude-code-best-practices#configure-your-environment
Write an effective CLAUDE.mdhttps://www.anthropic.com/engineering/claude-code-best-practices#write-an-effective-claude-md
Configure permissionshttps://www.anthropic.com/engineering/claude-code-best-practices#configure-permissions
Use CLI toolshttps://www.anthropic.com/engineering/claude-code-best-practices#use-cli-tools
Connect MCP servershttps://www.anthropic.com/engineering/claude-code-best-practices#connect-mcp-servers
Set up hookshttps://www.anthropic.com/engineering/claude-code-best-practices#set-up-hooks
Create skillshttps://www.anthropic.com/engineering/claude-code-best-practices#create-skills
Create custom subagentshttps://www.anthropic.com/engineering/claude-code-best-practices#create-custom-subagents
Install pluginshttps://www.anthropic.com/engineering/claude-code-best-practices#install-plugins
Communicate effectivelyhttps://www.anthropic.com/engineering/claude-code-best-practices#communicate-effectively
Ask codebase questionshttps://www.anthropic.com/engineering/claude-code-best-practices#ask-codebase-questions
Let Claude interview youhttps://www.anthropic.com/engineering/claude-code-best-practices#let-claude-interview-you
Manage your sessionhttps://www.anthropic.com/engineering/claude-code-best-practices#manage-your-session
Course-correct early and oftenhttps://www.anthropic.com/engineering/claude-code-best-practices#course-correct-early-and-often
Manage context aggressivelyhttps://www.anthropic.com/engineering/claude-code-best-practices#manage-context-aggressively
Use subagents for investigationhttps://www.anthropic.com/engineering/claude-code-best-practices#use-subagents-for-investigation
Rewind with checkpointshttps://www.anthropic.com/engineering/claude-code-best-practices#rewind-with-checkpoints
Resume conversationshttps://www.anthropic.com/engineering/claude-code-best-practices#resume-conversations
Automate and scalehttps://www.anthropic.com/engineering/claude-code-best-practices#automate-and-scale
Run non-interactive modehttps://www.anthropic.com/engineering/claude-code-best-practices#run-non-interactive-mode
Run multiple Claude sessionshttps://www.anthropic.com/engineering/claude-code-best-practices#run-multiple-claude-sessions
Fan out across fileshttps://www.anthropic.com/engineering/claude-code-best-practices#fan-out-across-files
Run autonomously with auto modehttps://www.anthropic.com/engineering/claude-code-best-practices#run-autonomously-with-auto-mode
Add an adversarial review stephttps://www.anthropic.com/engineering/claude-code-best-practices#add-an-adversarial-review-step
Avoid common failure patternshttps://www.anthropic.com/engineering/claude-code-best-practices#avoid-common-failure-patterns
Develop your intuitionhttps://www.anthropic.com/engineering/claude-code-best-practices#develop-your-intuition
Related resourceshttps://www.anthropic.com/engineering/claude-code-best-practices#related-resources
How Claude Code workshttps://www.anthropic.com/docs/en/how-claude-code-works
watch an interactive walkthroughhttps://www.anthropic.com/docs/en/context-window
custom status linehttps://www.anthropic.com/docs/en/statusline
Reduce token usagehttps://www.anthropic.com/docs/en/costs#reduce-token-usage
https://www.anthropic.com/engineering/claude-code-best-practices#give-claude-a-way-to-verify-its-work
browser screenshothttps://www.anthropic.com/docs/en/chrome
/goal conditionhttps://www.anthropic.com/docs/en/goal
Stop hookhttps://www.anthropic.com/docs/en/hooks#stop
verification subagenthttps://www.anthropic.com/docs/en/sub-agents
dynamic workflowhttps://www.anthropic.com/docs/en/workflows
https://www.anthropic.com/engineering/claude-code-best-practices#explore-first-then-plan-then-code
plan modehttps://www.anthropic.com/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices#provide-specific-context-in-your-prompts
https://www.anthropic.com/engineering/claude-code-best-practices#provide-rich-content
https://www.anthropic.com/engineering/claude-code-best-practices#configure-your-environment
Extend Claude Codehttps://www.anthropic.com/docs/en/features-overview
https://www.anthropic.com/engineering/claude-code-best-practices#write-an-effective-claude-md
skillshttps://www.anthropic.com/docs/en/skills
https://www.anthropic.com/engineering/claude-code-best-practices#configure-permissions
auto modehttps://www.anthropic.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode
permission modeshttps://www.anthropic.com/docs/en/permission-modes
permission ruleshttps://www.anthropic.com/docs/en/permissions
sandboxinghttps://www.anthropic.com/docs/en/sandboxing
https://www.anthropic.com/engineering/claude-code-best-practices#use-cli-tools
https://www.anthropic.com/engineering/claude-code-best-practices#connect-mcp-servers
MCP servershttps://www.anthropic.com/docs/en/mcp
https://www.anthropic.com/engineering/claude-code-best-practices#set-up-hooks
Hookshttps://www.anthropic.com/docs/en/hooks-guide
https://www.anthropic.com/engineering/claude-code-best-practices#create-skills
Skillshttps://www.anthropic.com/docs/en/skills
https://www.anthropic.com/engineering/claude-code-best-practices#create-custom-subagents
Subagentshttps://www.anthropic.com/docs/en/sub-agents
https://www.anthropic.com/engineering/claude-code-best-practices#install-plugins
Pluginshttps://www.anthropic.com/docs/en/plugins
code intelligence pluginhttps://www.anthropic.com/docs/en/discover-plugins#code-intelligence
Extend Claude Codehttps://www.anthropic.com/docs/en/features-overview#match-features-to-your-goal
https://www.anthropic.com/engineering/claude-code-best-practices#communicate-effectively
https://www.anthropic.com/engineering/claude-code-best-practices#ask-codebase-questions
https://www.anthropic.com/engineering/claude-code-best-practices#let-claude-interview-you
https://www.anthropic.com/engineering/claude-code-best-practices#manage-your-session
https://www.anthropic.com/engineering/claude-code-best-practices#course-correct-early-and-often
https://www.anthropic.com/engineering/claude-code-best-practices#manage-context-aggressively
Restore vs. summarizehttps://www.anthropic.com/docs/en/checkpointing#restore-vs-summarize
/btwhttps://www.anthropic.com/docs/en/interactive-mode#side-questions-with-%2Fbtw
https://www.anthropic.com/engineering/claude-code-best-practices#use-subagents-for-investigation
https://www.anthropic.com/engineering/claude-code-best-practices#rewind-with-checkpoints
Checkpointinghttps://www.anthropic.com/docs/en/checkpointing
https://www.anthropic.com/engineering/claude-code-best-practices#resume-conversations
Manage sessionshttps://www.anthropic.com/docs/en/sessions
https://www.anthropic.com/engineering/claude-code-best-practices#automate-and-scale
https://www.anthropic.com/engineering/claude-code-best-practices#run-non-interactive-mode
Non-interactive modehttps://www.anthropic.com/docs/en/headless
https://www.anthropic.com/engineering/claude-code-best-practices#run-multiple-claude-sessions
Worktreeshttps://www.anthropic.com/docs/en/worktrees
Desktop apphttps://www.anthropic.com/docs/en/desktop#work-in-parallel-with-sessions
Claude Code on the webhttps://www.anthropic.com/docs/en/claude-code-on-the-web
Agent teamshttps://www.anthropic.com/docs/en/agent-teams
https://www.anthropic.com/engineering/claude-code-best-practices#fan-out-across-files
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices
https://www.anthropic.com/engineering/claude-code-best-practices#run-autonomously-with-auto-mode
auto modehttps://www.anthropic.com/docs/en/permission-modes#eliminate-prompts-with-auto-mode
when auto mode falls backhttps://www.anthropic.com/docs/en/permission-modes#when-auto-mode-falls-back
https://www.anthropic.com/engineering/claude-code-best-practices#add-an-adversarial-review-step
subagenthttps://www.anthropic.com/docs/en/sub-agents
/code-review skillhttps://www.anthropic.com/docs/en/commands
agent teamhttps://www.anthropic.com/docs/en/agent-teams
https://www.anthropic.com/engineering/claude-code-best-practices#avoid-common-failure-patterns
https://www.anthropic.com/engineering/claude-code-best-practices#develop-your-intuition
https://www.anthropic.com/engineering/claude-code-best-practices#related-resources
How Claude Code workshttps://www.anthropic.com/docs/en/how-claude-code-works
Extend Claude Codehttps://www.anthropic.com/docs/en/features-overview
Common workflowshttps://www.anthropic.com/docs/en/common-workflows
CLAUDE.mdhttps://www.anthropic.com/docs/en/memory
Prompt libraryhttps://www.anthropic.com/docs/en/prompt-library
Overviewhttps://www.anthropic.com/docs/en/platforms
Claude Code Docs home pagehttps://www.anthropic.com/docs/en/overview
xhttps://x.com/AnthropicAI
linkedinhttps://www.linkedin.com/company/anthropicresearch
Anthropichttps://www.anthropic.com/company
Careershttps://www.anthropic.com/careers
Economic Futureshttps://www.anthropic.com/economic-futures
Researchhttps://www.anthropic.com/research
Newshttps://www.anthropic.com/news
Trust centerhttps://trust.anthropic.com/
Transparencyhttps://www.anthropic.com/transparency
Availabilityhttps://www.anthropic.com/supported-countries
Statushttps://status.anthropic.com/
Support centerhttps://support.claude.com/
Courseshttps://www.anthropic.com/learn
MCP connectorshttps://claude.com/partners/mcp
Customer storieshttps://www.claude.com/customers
Engineering bloghttps://www.anthropic.com/engineering
Eventshttps://www.anthropic.com/events
Powered by Claudehttps://claude.com/partners/powered-by-claude
Service partnershttps://claude.com/partners/services
Startups programhttps://claude.com/programs/startups
Privacy choiceshttps://www.anthropic.com/legal/privacy
Privacy policyhttps://www.anthropic.com/legal/privacy
Disclosure policyhttps://www.anthropic.com/responsible-disclosure-policy
Usage policyhttps://www.anthropic.com/legal/aup
Commercial termshttps://www.anthropic.com/legal/commercial-terms
Consumer termshttps://www.anthropic.com/legal/consumer-terms

Viewport: width=device-width, initial-scale=1, viewport-fit=cover


URLs of crawlers that visited me.