Welcome to Claude Code!
You're about to discover the most powerful AI coding assistant available today. Claude Code isn't just another autocomplete toolβit's a full-fledged AI pair programmer that can understand your entire codebase, write complex features, debug issues, and even help with non-coding tasks like data analysis and documentation.
Getting Started
Getting Better
Advanced
What Makes Claude Code Different?
Understands Context
Claude Code can read and understand your entire codebase, not just the current file
Autonomous Actions
Can read, write, edit files, run commands, and search your codebase without constant prompting
Real Tools
Uses actual file operations, git commands, and shell accessβnot just text generation
Task-Oriented
Breaks down complex tasks, creates plans, and executes them step by step
Extensible
Connect to external services via MCP, customize with hooks, and create slash commands
Beyond Coding
Data analysis, report generation, documentation, and more
Your Learning Path
Phase 1: Getting Started (30 minutes)
Learn the basics: how to communicate with Claude Code, your first tasks, understanding the interface, and basic workflows.
Click to start β
Phase 2: Getting Better (1-2 hours)
Deep dive into tools, file operations, codebase understanding, and common development workflows.
Click to continue β
Phase 3: Advanced (Ongoing)
MCPs, hooks, custom commands, automation, and advanced integration patterns.
Click to explore β
β Your First Day with Claude Code
Complete these tasks to build a solid foundation. Your progress is automatically saved!
πΊ Watch & Learn
Official Learning Resources:
- Claude Code in Action (Interactive Course) - Comprehensive hands-on course from Anthropic
- Anthropic YouTube Channel - Official videos and conference talks
- Code with Claude 2025 Conference Videos - Developer conference recordings
- DeepLearning.AI Course - Claude Code fundamentals with Anthropic's team
Phase 1: Getting Started
Your First Conversation
Claude Code works through natural conversation. Simply type your request and Claude will break it down, create a plan, and execute it.
Example: Your First Task
You: "Can you help me understand what this project does?"
Example: Making Changes
You: "Add error handling to the login function"
β οΈ Common Mistake: Being Too Vague
β Less Effective: "Fix the code"
β
More Effective: "Add input validation to the email field in the registration form"
Why: Specific requests help Claude understand exactly what you need and provide better results faster.
Understanding the Interface
How Claude Communicates
- Text responses: Claude explains what it's doing and shares findings
- Tool usage: You'll see when Claude reads files, edits code, or runs commands
- Code blocks: Changes are shown clearly with syntax highlighting
- Thinking process: Claude shows its reasoning as it works
claude command, and you'll have a conversation-based interface where you can ask questions, request changes, and get work done.
π Permission Prompts & Approvals
Claude Code features an improved permission system to keep you in control of what actions are performed.
What Requires Permission?
- File modifications: Before editing or creating files
- Command execution: Before running bash commands or scripts
- Destructive operations: Before git operations, deletions, or system changes
- External connections: Before MCP calls or web requests
New UI Design (v2.0.27)
Permission prompts now feature:
- Clearer context: See exactly what Claude wants to do and why
- Better formatting: Improved readability for complex operations
- Batch approvals: Approve multiple similar operations at once
- Session filtering: New session resume screen with branch filtering and search
Example: File Edit Permission
A to approve, V to view detailed diffs, and D to deny and ask Claude to try a different approach. You can also approve similar operations in batch to speed up workflows.
Basic Commands & Workflows
Essential Commands
Your First Real Tasks
Task 1: Explore a Codebase
Task 2: Fix a Bug
Task 3: Add a Feature
Task 4: Refactor Code
π‘ Pro Tip: Give Claude Time to Understand
Don't immediately jump into making changes. Let Claude read and analyze your codebase first.
β
Try this: "Help me understand this project before we make changes"
This helps Claude provide better context-aware suggestions and avoid misunderstandings.
How Claude Code Works: The Tools
Claude has access to several powerful tools that let it interact with your codebase:
π Read
Read any file in your project. Claude can read code, configs, docs, even images and PDFs.
βοΈ Edit
Make precise changes to files. Claude shows you exactly what's being changed.
π Write
Create new files. Usually Claude prefers to edit existing files when possible.
π Glob
Find files by pattern. Quick pattern matching for locating files.
π Grep
Search file contents. Find code patterns, function definitions, specific text.
βοΈ Bash
Run terminal commands. Git, npm, build tools, testsβanything you can run in terminal.
β οΈ Common Mistake: Not Reviewing Changes
Claude shows you all changes before they're applied. Always review them!
β Best practice: Read the changes carefully, ask questions if anything is unclear, then confirm.
You can always undo changes with git if something doesn't look right: git restore <file>
Best Practices for Beginners
β Be Clear and Specific
Good: "Add input validation to the email field in the registration form"
Less good: "Fix the form"
β Let Claude Explore First
Claude can read and understand your codebase. Let it explore before making changes.
β Review Changes
Claude shows you all changes. Review them before committing.
β Ask Questions
"Why did you make this change?" or "What does this function do?" - Claude loves explaining!
β Iterate and Refine
If something isn't quite right, just say so. "Can you make this more efficient?" or "Add comments to explain this logic"
π NEW: Claude Code on the Web
In addition to the CLI, Claude Code is now available as a browser-based tool! This opens up new workflows for delegating coding tasks.
π What is Claude Code Web?
Claude Code Web is a cloud-based coding agent that runs on Anthropic's infrastructure. It connects directly to your GitHub repositories and can handle multiple coding tasks in parallel.
Available at: claude.com/code
Requirements: Pro or Max subscription plan
Key Features
π Parallel Task Execution
Run multiple tasks across different repositories simultaneously from a single browser interface. Perfect for working through bug backlogs or testing multiple approaches.
π GitHub Integration
Connect your GitHub repos directly. Claude Code Web can explore your codebase, make changes, and automatically create pull requests with detailed summaries.
π Real-Time Monitoring
Each task runs in its own isolated environment with live progress tracking. You can monitor Claude's work and redirect it as needed.
π Sandbox Security
Every task runs in an isolated sandbox with network and filesystem restrictions. Git interactions go through a secure proxy, and you control which domains Claude can access (like npm registries).
β‘ Teleport Between Web and CLI
Start a task in the browser and seamlessly continue it in your terminal, or vice versa. This gives you flexibility to work wherever makes sense.
Best Use Cases for Claude Code Web
Perfect for:
- Bug backlogs: Delegate multiple bug fixes to run in parallel
- Routine tasks: Well-defined, repetitive work across repos
- Backend development: Tasks with clear test-driven verification
- Repo exploration: Understanding project structure and architecture
- Mobile access: Start tasks on the go from iOS app
β’ CLI: Active development, local testing, complex iteration, tight feedback loops
β’ Web: Delegating tasks, parallel work, creating PRs, working remotely or on mobile
Getting Started with Claude Code Web
β οΈ Rate Limits
Cloud-based sessions use the same rate limits as your CLI usage. Plan accordingly when running multiple tasks in parallel.
π‘ Pro Tip: Don't Expect Instant Perfection
Claude is powerful but may need iteration. This is normal and expected!
β Try this:
β’ "Can you make this more efficient?"
β’ "Add comments to explain this logic"
β’ "Let's try a different approach"
Iteration leads to better results than trying to get everything perfect in one shot.
β οΈ Common Mistake: Information Overload
Don't try to give Claude your entire codebase context in one message.
β Better: Let Claude explore naturally through the conversation, then provide specific context when needed.
Claude can read files and search your codebaseβtrust it to find what it needs!
Phase 2: Getting Better
Mastering File Operations
Reading Files Strategically
Understanding Project Structure
You: "Show me all the React components in this project"
Finding Specific Code
You: "Where is the database connection configured?"
Making Complex Edits
Refactoring Across Multiple Files
You: "Rename the 'getUserData' function to 'fetchUserProfile' everywhere"
Working with Git
Creating Commits
You: "Commit these changes with a good message"
Creating Pull Requests
You: "Create a pull request for this feature"
Development Workflows
π Test-Driven Development
π Debugging Workflow
π¦ Dependency Management
ποΈ Code Architecture
Advanced Communication Patterns
Giving Context
Better: Provide Context
Breaking Down Complex Tasks
Complex Feature Request
Iterative Refinement
Refining Output
Initial: "Create a login form"
Refine: "Add form validation"
Refine: "Add a 'Remember Me' checkbox"
Refine: "Add 'Forgot Password' link"
Refine: "Make it mobile responsive"
Advanced Prompting Techniques
Unlock more powerful responses from Claude by using these specialized prompting techniques.
Extended Thinking (Deep Analysis)
When you need Claude to think deeply about complex problems, you can request extended reasoning. Claude will break down the problem step-by-step before providing a solution.
When to use:
- Complex architectural decisions
- Debugging difficult issues
- Algorithm design
- Comprehensive code reviews
- Performance optimization analysis
Example: Request Deep Thinking
Example: Architecture Decision with Reasoning
Step-by-Step Problem Solving
Requesting Methodical Approach
Comparative Analysis
Example: Comparing Approaches
Plan Mode for Large Tasks
Claude Code now features a dedicated Plan subagent that creates detailed, structured implementation plans before executing. This specialized agent helps with:
- Multi-file refactoring
- Large feature implementations
- System-wide changes
- Migration projects
- Complex architectural decisions
How it works: The Plan subagent automatically activates when Claude detects complex tasks that benefit from upfront planning. You can also explicitly request planning.
Example: Automatic Plan Subagent Activation
Example: Explicit Planning Requests
Prompting Best Practices
π― Be Specific About Reasoning
Ask Claude to "show your reasoning" or "explain your thinking" for transparency
π Request Structure
Ask for "step-by-step" or "structured analysis" for organized output
π Request Analysis First
For complex tasks: "Analyze first, then implement" gets better results
βοΈ Ask for Tradeoffs
"What are the pros and cons?" or "What are the tradeoffs?" for balanced decisions
π¨ Specify Constraints
Mention team size, expertise, timeline, or other constraints for realistic solutions
π Encourage Iteration
"Let's refine this..." or "What if we tried..." for collaborative problem-solving
Understanding Claude's Capabilities
π Multi-file Understanding
Claude can understand relationships between files, trace imports, and see how components interact.
π Context Awareness
Claude remembers the conversation. Reference previous changes or discussions naturally.
π― Pattern Recognition
Claude learns your coding patterns and can apply them consistently across your project.
π§ͺ Testing
Claude can write, run, and debug tests for your code automatically.
π Documentation
Generate docs, add comments, create README filesβClaude understands documentation best practices.
π Code Review
Ask Claude to review code for bugs, performance issues, security concerns, or best practices.
Real-World Workflow Examples
Morning Workflow: Catch Up on Changes
Feature Development Workflow
Bug Fix Workflow
πΊ Advanced Learning
Deep Dive Resources:
- Claude Code Best Practices - Official engineering blog post
- Interactive Video Course - Comprehensive hands-on training
- Official Tutorials - Step-by-step guides
Phase 3: Advanced
π Jump to Section
The Advanced tab covers powerful features for scaling Claude Code across your team and organization.
π Democratizing Expertise: Removing Knowledge Bottlenecks
Turn your expert engineers into force multipliers. Capture their knowledge in Claude Code so the entire team can work at expert-level, even on unfamiliar systems.
The Problem: Knowledge Bottlenecks Kill Velocity
The Typical Scenario
You have 1-2 engineers who are experts on a critical system:
- Sarah is the only one who understands the legacy payment processing system
- Mike is the deployment guruβonly he knows how to safely ship changes
- The database schema makes sense only to Chen
The Impact:
- π« PRs sit waiting for expert review (days/weeks)
- β° Simple tasks become major blockers
- π° Experts become burned out gatekeepers
- π New team members can't contribute effectively
- πΈ Organization velocity grinds to a halt
The Solution: Capture Expertise in Claude Code
Claude Code can capture expert knowledge and make it available to your entire team through:
- Sub-agents that embody expert decision-making
- Skills that encode specialized workflows
- Custom slash commands for common expert tasks
- Project documentation that Claude references automatically
Result: Any engineer can get expert-level guidance instantly, without waiting for the expert to be available.
π Step-by-Step: Democratize Expert Knowledge
Step 1: Identify the Bottleneck
Start by identifying your biggest knowledge bottlenecks:
Step 2: Interview the Expert (30-60 minutes)
Sit with your expert and extract their knowledge. Use Claude Code during the interview to help!
Step 3: Create Expert Sub-agents
Turn the expert's knowledge into sub-agents that make decisions like they would:
Impact: Now anyone touching the payment system gets Sarah's expertise automatically. Sarah reviews the sub-agent's advice, not every PR!
Step 4: Create Expert Skills
Package expert workflows into reusable Skills:
Impact: Now anyone can deploy safely using Mike's exact process. Mike can focus on improving the system instead of hand-holding deployments.
Step 5: Create Custom Slash Commands
Make common expert tasks one command away:
Impact: Chen's expertise is now available instantly via slash commands. He can focus on complex architecture problems instead of reviewing every schema change.
Step 6: Document the System Knowledge
Create living documentation that Claude can reference:
Pro tip: Add a CLAUDE.md file to the .claude directory telling Claude to always check the docs/ folder for system knowledge.
π― Real-World Success Stories
π¦ FinTech Startup: 10-Person Team, 1 Backend Expert
Before: Michael was the only engineer who understood their legacy Erlang backend. Every backend change waited for his review (5-7 days). He was burned out and considering leaving.
Solution:
- Created "erlang-expert" sub-agent with Michael's knowledge
- Built Skills for common backend tasks (deployment, debugging, profiling)
- Documented the Erlang codebase architecture with Michael's commentary
Results after 6 weeks:
- β Review time dropped from 5-7 days to <1 day
- β 4 other engineers now comfortable making backend changes
- β Michael focuses on architecture, not routine reviews
- β PR throughput increased 3x
π₯ Healthcare SaaS: HIPAA Compliance Bottleneck
Before: Only 2 engineers (Lisa and Tom) understood HIPAA compliance. Security reviews took 2-3 weeks. The company struggled to ship features.
Solution:
- Created "hipaa-compliance-reviewer" sub-agent encoding Lisa and Tom's expertise
- Built "/hipaa-check" slash command for instant compliance review
- Created Skills for common compliance patterns (PHI handling, audit logging)
Results after 3 months:
- β Compliance review time: 2-3 weeks β 1-2 days
- β 100% of engineers can now make HIPAA-compliant changes
- β Zero compliance violations since implementing
- β Lisa and Tom now consult on complex cases only (20% of previous workload)
π SaaS Company: Database Performance Expert Bottleneck
Before: Priya was the only engineer who could optimize database queries. Slow queries plagued production. Priya was involved in every database-related decision.
Solution:
- Created "db-performance-expert" sub-agent with Priya's optimization knowledge
- Built Skills for query analysis, index recommendations, and migration review
- Created "/explain-query" command that breaks down query performance like Priya would
Results after 2 months:
- β 8 engineers now capable of query optimization (up from 1)
- β Average query optimization time: 3 days β 4 hours
- β Database query issues dropped 70%
- β Priya now focuses on database architecture strategy
π Measuring Success
Key Metrics to Track
Measure the impact of democratizing expertise:
Before vs After Metrics:
- PR Review Time: How long PRs wait for expert review
- Expert Utilization: % of expert's time on routine vs complex problems
- Team Capability: # of engineers who can work on the system
- Incident Response Time: How fast team can debug issues
- Onboarding Time: How long until new hires are productive
- Expert Satisfaction: Is the expert less burned out?
Leading Indicators (What to Watch):
- Sub-agent activation frequency (shows it's being used)
- Skill usage counts
- Slash command execution frequency
- Questions in Slack to the expert (should decrease)
- PR self-sufficiency (fewer "can you look at this?" messages)
π Getting Started: Your First Knowledge Extraction
Week 1 Action Plan
- Day 1-2: Identify your top knowledge bottleneck (poll the team or check PR review times)
- Day 3: Schedule 1-hour knowledge extraction session with the expert
- Day 4-5: Create the first sub-agent or skill based on the interview
- Week 2-3: Have team try it on real work, collect feedback
- Week 4: Refine based on feedback, measure impact, present results
Time Investment: 4-6 hours of expert time, 1-2 days of implementation. Payback: Within 2-4 weeks as the team becomes self-sufficient.
π€ Sub-agents: Specialized AI Assistants
Sub-agents are specialized AI assistants that handle specific tasks with their own context windows and custom instructions. They're especially powerful for large codebases and complex workflows.
What Are Sub-agents?
Sub-agents are like having a team of specialized experts working alongside you. Each sub-agent has:
- Specialized expertise: Fine-tuned for specific domains (code review, debugging, testing, etc.)
- Isolated context: Separate context windows that don't clutter your main conversation
- Custom tool access: Only the tools they need, improving security and focus
- Reusability: Can be shared across projects and teams
- Dynamic model selection: Claude intelligently chooses the optimal model (Sonnet/Opus/Haiku) for each sub-agent based on task complexity
- Resumability: Sub-agents can be paused and resumed dynamically without losing context
When to Use Sub-agents
π¦ Large Codebases
Delegate exploration and analysis tasks to specialized agents
Example: "Search agent, find all authentication endpoints"
π Code Review
Automatic quality, security, and style validation
Example: Proactive review after every code change
π Debugging
Focused analysis of errors and failures
Example: "Debugger agent, analyze this stack trace"
π§ͺ Testing
Generate comprehensive test suites
Example: "Test agent, create unit tests for this module"
π Data Analysis
Query optimization and insights generation
Example: "Data agent, analyze these query patterns"
π Refactoring
Safe, systematic code improvements
Example: "Refactor agent, modernize this legacy code"
Creating a Sub-agent
Example: Code Review Sub-agent
Sub-agent Types by Scope
π Project Sub-agents
Location: .claude/agents/ in your project
When to use: Project-specific workflows, team conventions, repo-specific tools
Best for: Teams sharing common patterns
π€ User Sub-agents
Location: ~/.claude/agents/ in your home directory
When to use: Personal workflows, cross-project patterns, your preferred conventions
Best for: Individual productivity patterns
π Plugin Sub-agents
Source: Installed plugins
When to use: Pre-built expertise from the community
Best for: Standard patterns (React, Python, security, etc.)
π‘ Pro Tips for Large Codebases
1οΈβ£ Use the Explore Agent for Codebase Discovery
When working with unfamiliar or large codebases, delegate exploration tasks to the Explore agent:
Why it works: The Explore agent has specialized tools and prompts for codebase navigation, keeping your main conversation focused on your task.
2οΈβ£ Create Domain-Specific Search Agents
For large codebases with distinct domains, create specialized search agents:
3οΈβ£ Use Sub-agents to Preserve Context
In long sessions with large codebases, your main context can get cluttered. Use sub-agents strategically:
4οΈβ£ Chain Sub-agents for Complex Workflows
Orchestrate multiple sub-agents for sophisticated analysis:
5οΈβ£ Write Detailed, Specific Descriptions
For automatic invocation, make descriptions action-oriented:
6οΈβ£ Limit Tool Access Strategically
Give sub-agents only the tools they need:
Benefits: Better security, faster execution, clearer purpose, fewer accidental changes
7οΈβ£ Version Control Your Sub-agents
Treat project sub-agents as code - commit them to your repository:
Invoking Sub-agents
π Automatic Invocation
Claude automatically delegates when your request matches a sub-agent's expertise:
π― Explicit Invocation
You can also specifically request a sub-agent:
π§ Dynamic Model Selection for Sub-agents
Claude now intelligently selects the optimal model for each sub-agent based on task complexity, balancing performance, speed, and cost:
β‘ Claude Haiku 4.5
Used for: Quick searches, file exploration, simple pattern matching, routine code reviews
Benefits: 4-5x faster, most cost-effective ($1/MTok)
π Claude Sonnet 4.5
Used for: Complex analysis, code generation, refactoring, debugging, test creation
Benefits: Best balance of intelligence and speed for 90% of tasks
π― Claude Opus 4.1
Used for: Strategic planning, complex architecture decisions, security audits, mission-critical analysis
Benefits: Maximum intelligence with extended thinking
How it works: You don't need to specify the model. Claude automatically assesses the task and selects the most appropriate model for each sub-agent invocation. This ensures optimal performance while managing costs.
Example: Automatic Model Selection
β»οΈ Resumable Sub-agents
Sub-agents can now be paused and resumed without losing context. This is especially useful for:
- Long-running analysis: Resume after interruptions or when you need to provide additional context
- Iterative refinement: Continue refining an agent's analysis based on new information
- Multi-stage workflows: Break complex tasks into stages and resume between them
Real-World Sub-agent Examples
Example: Migration Assistant
Example: Documentation Generator
Example: Legacy Code Analyzer
/agents to see all available sub-agents in your current project. You can edit, enable, disable, or create new ones right from that interface.
π― Skills: Extending Claude's Capabilities
Skills are modular, reusable capabilities that extend Claude's functionality. Unlike sub-agents, Skills are autonomousβClaude automatically activates them when relevant to your request.
What Are Skills?
Skills package expertise into discoverable components that Claude can use on its own. Each Skill contains:
- SKILL.md file: Instructions and metadata in YAML frontmatter
- Supporting files: Scripts, templates, documentation, and utilities
- Tool restrictions: Optional limits on what Claude can do
- Automatic activation: Claude decides when to use them based on context
Skills vs Sub-agents: What's the Difference?
π― Skills
- Activation: Automatic (Claude decides)
- Purpose: Add new capabilities/tools
- Best for: Specialized workflows, custom tools
- Example: "Process this PDF" β Claude uses PDF skill
π€ Sub-agents
- Activation: Automatic or explicit request
- Purpose: Delegated task execution
- Best for: Complex workflows, context isolation
- Example: "Use code-reviewer to check this PR"
Types of Skills by Scope
π€ Personal Skills
Location: ~/.claude/skills/
Available across all your projects. Perfect for personal workflows and preferences.
π Project Skills
Location: .claude/skills/
Shared with your team via git. Perfect for project-specific patterns.
π Plugin Skills
Source: Claude Code plugins
Pre-built Skills from the community. Install and use immediately.
Building Your First Skill
Example: Commit Message Generator
π‘ Inspiring Skill Examples
π PDF Processing Skill
Use case: Extract text, fill forms, merge PDFs, generate reports
Files included: SKILL.md, pdf-utils.py, form-templates/, examples.md
π Excel Data Analysis Skill
Use case: Analyze spreadsheets, create pivot tables, generate charts
Files included: SKILL.md, excel-utils.py, chart-templates/, sample-analysis.md
π Security Auditor Skill
Use case: Scan code for vulnerabilities, check dependencies, validate configs
Files included: SKILL.md, security-patterns.md, checklist.md
π API Documentation Generator
Use case: Auto-generate API docs from code, create OpenAPI specs
Files included: SKILL.md, templates/openapi.yaml, templates/markdown.md, examples/
π§ͺ Test Generator Skill
Use case: Generate unit tests, integration tests, and test fixtures
Files included: SKILL.md, test-templates/, fixture-examples/
π Technical Writer Skill
Use case: Create user guides, READMEs, tutorials, and architecture docs
Files included: SKILL.md, templates/, diagram-examples/, style-guide.md
π CI/CD Pipeline Builder
Use case: Generate GitHub Actions, GitLab CI, or other pipeline configs
Files included: SKILL.md, templates/github-actions.yml, templates/gitlab-ci.yml, examples/
Best Practices for Building Skills
1. Keep Scope Focused
Create specific Skills rather than broad ones:
2. Write Descriptive Descriptions
Include both what it does AND when to activate:
3. Use Tool Restrictions Wisely
Limit tools to prevent unintended actions:
4. Include Supporting Resources
Organize your Skill directory effectively:
5. Test Your Skills Thoroughly
Ensure your Skill activates correctly:
- Test with various phrasings of requests
- Verify it doesn't activate for unrelated tasks
- Check that instructions are clear and unambiguous
- Validate tool restrictions work as expected
- Get feedback from team members
How to Use Skills
π Automatic Activation
Just work naturallyβClaude will use Skills when relevant:
π― Check Available Skills
See what Skills are available:
Sharing Skills with Your Team
π¦ Project Skills (Recommended)
Commit Skills to your repository for automatic team sharing:
π Plugin Skills (For Broader Distribution)
Package Skills as plugins for the Claude Code community:
- Create a plugin with your Skill included
- Publish to the plugin marketplace
- Others can install with
/plugin install - Automatic updates when you release new versions
Model Context Protocol (MCP)
MCPs allow Claude Code to connect to external services and data sources, dramatically expanding its capabilities.
What is MCP?
MCP is a protocol that lets Claude Code interact with external systems like databases, APIs, cloud services, and more. Think of it as giving Claude superpowers to access data and services beyond your local filesystem.
Popular MCP Servers
ποΈ Database MCPs
PostgreSQL, MySQL, MongoDB, SQLite
Use case: Query databases, analyze data, run migrations
βοΈ Cloud Provider MCPs
AWS, Google Cloud, Azure
Use case: Manage cloud resources, deploy applications, monitor services
π Data Source MCPs
Google Drive, Notion, Airtable
Use case: Access documents, sync data, generate reports
π§ Development Tool MCPs
GitHub, GitLab, Jira, Linear
Use case: Manage issues, review PRs, track projects
π API MCPs
REST APIs, GraphQL endpoints
Use case: Integrate with third-party services
π Analytics MCPs
Google Analytics, Mixpanel, custom metrics
Use case: Analyze usage, generate insights, create dashboards
Setting Up an MCP Server
Example: PostgreSQL MCP
Example: Google Drive MCP
π― Real-World MCP Use Cases
- Data Analysis: "Compare sales data from our PostgreSQL database with the projections in Google Sheets"
- DevOps: "Check the status of all our AWS EC2 instances and alert me if any are overutilized"
- Project Management: "Show me all high-priority bugs from Jira and create a summary report"
- Documentation: "Pull all our API docs from Notion and generate a unified developer guide"
Hooks: Customizing Claude's Behavior
Hooks let you run shell commands in response to events, allowing you to customize Claude Code's workflow.
Types of Hooks
π― user-prompt-submit-hook
Runs after you submit a message. Perfect for:
- Running linters before Claude edits code
- Checking git status
- Validating environment setup
β‘ tool-call-hook
Runs before specific tool calls. Use to:
- Backup files before edits
- Run formatters after writes
- Validate changes
Setting Up Hooks
Example: Run Prettier After File Edits
Example: Git Status Before Each Prompt
Example: Run Tests Before Commits
π Sandbox Mode: Secure Command Execution
Sandbox mode provides an isolated environment for running bash commands, protecting your system from potentially harmful operations.
π‘οΈ What is Sandbox Mode?
Sandbox mode creates isolated environments where bash commands run with restricted access to your filesystem and network. This is especially important when working with unfamiliar code or delegating tasks.
Available on: Linux and macOS
Status: Enabled by default in Claude Code Web
How Sandbox Mode Works
π Filesystem Restrictions
Commands can only access specific directories and files, preventing accidental or malicious changes to system files.
π Network Controls
You can specify which domains and URLs Claude can access, such as package registries (npm, pip) while blocking others.
π Git Proxy
Git operations go through a secure proxy that restricts access to authorized repositories only.
Enabling Sandbox Mode in CLI
Use Cases for Sandbox Mode
Perfect for:
- Untrusted code: Working with third-party dependencies or unfamiliar repositories
- Automated tasks: Running Claude Code Web tasks where you want extra protection
- Experimentation: Testing potentially destructive operations safely
- Team environments: Protecting shared systems when multiple developers use Claude
- Learning: Students or new developers exploring without risk
β οΈ Limitations
Sandbox mode may restrict some legitimate operations. If you encounter issues:
- Add required domains to your allowed list
- Temporarily disable sandbox for specific tasks
- Review Claude Code logs for blocked operations
Custom Slash Commands
Create custom commands that expand into detailed prompts, perfect for repeated workflows.
Creating Slash Commands
Example: Code Review Command
Example: Documentation Generator
Example: Performance Audit
Powerful Slash Command Ideas
/onboard
Generate comprehensive onboarding docs for new team members
/security-check
Audit code for security vulnerabilities
/deploy-prep
Pre-deployment checklist and verification
/api-test
Generate comprehensive API test suite
/refactor-plan
Create detailed refactoring plan for a module
/dependency-audit
Check for outdated/vulnerable dependencies
Plugins
Plugins allow you to extend Claude Code with custom functionality that can be shared across projects and teams. They can add custom commands, agents, hooks, and MCP servers all in one package.
What Are Plugins?
Think of plugins as pre-packaged extensions that bundle together:
- Custom Commands: Slash commands for specific workflows
- Agents: Specialized AI agents for particular tasks
- Hooks: Automated event handlers
- MCP Servers: Connections to external tools and services
Plugins make it easy to share best practices and tooling across your entire team or organization.
Plugin Structure
Basic Plugin Layout
Plugin Manifest (plugin.json)
Installing Plugins
Method 1: Interactive Menu (Recommended)
Method 2: Direct Installation
Advanced: Installing from Specific Branches/Tags
Use cases:
- Version pinning: Install specific stable versions for production use
- Beta testing: Try new features from development branches
- Rollback: Revert to previous versions if needed
- Team coordination: Ensure everyone uses the same plugin version
Creating Your First Plugin
Step-by-Step Plugin Creation
Real-World Plugin Examples
π Code Review Plugin
Includes:
- /review command
- Pre-commit hook for linting
- Code reviewer agent
π Deployment Plugin
Includes:
- /deploy command
- Pre-deploy checklist
- Deployment agent
- Cloud provider MCP
π§ͺ Testing Plugin
Includes:
- /test command
- Test generator agent
- Post-commit test hook
π Analytics Plugin
Includes:
- /report command
- Database MCP server
- Analytics agent
Team Plugin Workflows
Organization-Wide Plugin Distribution
Plugin Best Practices
π Document Everything
Include a README.md explaining what your plugin does and how to use it
π’ Version Properly
Use semantic versioning (1.0.0) so teams know when updates are breaking
π§ͺ Test Components
Test each command, agent, and hook individually before packaging
π¦ Keep It Focused
Each plugin should solve one problem well, not everything
π Security Review
Review all code in plugins, especially those from third parties
π Update Regularly
Keep plugins updated with latest Claude Code features
π Learn More About Plugins
For detailed technical documentation, see:
- Plugins Guide - Complete documentation
Advanced Workflows
π Automated Code Migration
π― Multi-Repository Operations
π Automated Reporting
ποΈ Project Scaffolding
π° Cost Management & Budget Controls
Claude Code now provides tools to monitor and control your usage costs, especially important for team deployments and SDK integrations.
Setting Budget Limits
Use the --max-budget-usd flag when running Claude Code via the SDK to set hard spending limits:
What happens when budget is reached: Claude will gracefully stop execution, save your session, and provide a summary of what was completed before the budget limit was hit.
Cost Optimization Strategies
β‘ Use Dynamic Model Selection
Let Claude automatically choose the right model for each task. Simple searches use Haiku (cheapest), complex analysis uses Sonnet, strategic work uses Opus.
Savings: Up to 70% cost reduction vs. always using Opus
π― Limit Sub-agent Tool Access
Give sub-agents only the tools they need. Read-only agents are faster and cheaper than full-access agents.
Savings: 20-30% faster execution
π Use Plan Mode
Plan complex tasks upfront to avoid expensive trial-and-error iterations. One planning session saves multiple correction cycles.
Savings: 40-50% fewer iterations
π Scope Your Requests
Be specific about which files or directories to analyze. Broad requests like "check everything" cost more than "review src/auth/*"
Savings: 50-60% fewer tokens
Understanding Costs by Model
Know which models Claude uses for different tasks to estimate costs:
Claude Haiku 4.5 - $1/MTok input, $5/MTok output
File searches, pattern matching, simple code reviews. 4-5x faster than Sonnet.
Example: Finding all API endpoints in a 100K line codebase: ~$0.05
Claude Sonnet 4.5 - Balanced (Standard pricing)
Code generation, refactoring, debugging, most development tasks. Best for 90% of work.
Example: Refactoring a module with tests: ~$0.50-1.00
Claude Opus 4.1 - $15/MTok input, $75/MTok output
Complex architecture decisions, security audits, strategic planning. Maximum intelligence.
Example: Architectural review with extended thinking: ~$5-10
Example: Team Budget Planning
Power User Tips
Create a
.claude/CLAUDE.md file with project-specific instructions that Claude will always follow. Perfect for coding standards, architectural decisions, and team preferences.
"Use our PostgreSQL MCP to analyze user behavior, then update the dashboard components to display the insights." - Claude can chain operations seamlessly.
For complex tasks, Claude can spawn sub-agents to work in parallel. "Research the best approach for implementing real-time notifications while I continue working on the auth system."
"Apply this refactoring pattern to all files in the /services directory" - Claude can handle bulk operations efficiently.
"Look at how we implemented caching in the user service, then apply the same pattern to the product service" - Claude learns from your codebase.
By default, Claude respects .gitignore. Use
/config to include .gitignored files in searches when needed (useful for build artifacts, generated code, or debugging).
βοΈ Configuring .gitignore Behavior
Claude Code respects your .gitignore file by default, but you now have fine-grained control over this behavior for specific workflows.
Default Behavior
By default, Claude Code excludes files and directories listed in .gitignore from:
- File searches (Glob, Grep)
- Codebase exploration
- Sub-agent analysis
- Context gathering
Why this matters: This keeps operations fast, focused on source code, and avoids overwhelming Claude with irrelevant files like node_modules, build artifacts, or vendor dependencies.
Including .gitignored Files
Sometimes you need to work with .gitignored files. Common scenarios:
- Build artifacts: Analyzing generated JavaScript from TypeScript
- Vendor dependencies: Debugging issues in node_modules
- Generated code: Reviewing auto-generated API clients
- Config files: Working with local development configs
- Logs: Analyzing error logs during debugging
Example: Debugging Build Output
/config for per-session or permanent changes.
Best Practices
π Keep .gitignore Respected (Default)
For most development work, respecting .gitignore keeps Claude fast and focused on your source code.
π Enable for Debugging Sessions
Temporarily enable .gitignored file access when debugging build issues, dependency problems, or analyzing logs.
π Use Specific Paths
Even with .gitignore respected, you can read specific files directly: "Read node_modules/lib/index.js"
β‘ Performance Tip
Excluding .gitignored files can reduce search time by 10-50x in large repos with many dependencies.
Real-World Use Cases
ποΈ Software Development Use Cases
1. Understanding a New Codebase
Scenario: You've joined a new team and need to understand a large, unfamiliar codebase.
Workflow
Result: Comprehensive understanding in hours instead of weeks.
2. Building a Complete Feature
Scenario: Add a complex new feature from scratch.
Example: Real-Time Chat Feature
Result: Complete, production-ready feature with tests and docs.
3. Debugging Complex Issues
Scenario: Intermittent bug that's hard to reproduce.
Example: Memory Leak Investigation
Result: Root cause identified and fixed with preventive measures.
4. Legacy Code Modernization
Scenario: Modernize old codebase to current standards.
Example: Modernizing a jQuery App
Result: Systematic, safe migration to modern framework.
5. Performance Optimization
Scenario: Application is slow and needs optimization.
Example: React App Performance
Result: Significantly faster application with measurable improvements.
6. API Development
Scenario: Build a complete REST API from scratch.
Example: E-commerce API
Result: Complete API with auth, tests, docs, and error handling.
π Data Analysis Use Cases
7. Data Pipeline Creation
Scenario: Build automated data processing pipeline.
Example: User Analytics Pipeline
Result: Automated daily analytics reporting.
8. Data Cleaning & Transformation
Scenario: Clean messy data from multiple sources.
Example: Merge Customer Data
Result: Clean, normalized data ready for analysis.
9. Exploratory Data Analysis
Scenario: Understand a new dataset.
Example: Sales Data Analysis
Result: Comprehensive analysis with actionable insights.
10. SQL Query Generation & Optimization
Scenario: Complex database queries needed.
Example: Business Intelligence Queries
Result: Optimized queries with performance insights.
π Documentation & Reporting
11. Comprehensive Documentation
Scenario: Project has minimal documentation.
Automated Documentation Generation
Result: Professional, comprehensive documentation suite.
12. Technical Report Generation
Scenario: Need to report on project status to stakeholders.
Executive Summary Creation
Result: Professional report ready for stakeholders.
13. Knowledge Base Creation
Scenario: Create internal documentation from tribal knowledge.
Example: Internal Wiki
Result: Comprehensive onboarding documentation.
π§ͺ Testing & Quality Assurance
14. Test Suite Generation
Scenario: Code has insufficient test coverage.
Comprehensive Testing
Result: Complete test suite with high coverage.
15. Automated Testing Workflow
Scenario: Set up continuous testing.
CI/CD Test Integration
Result: Automated testing pipeline ensuring quality.
π§ DevOps & Infrastructure
16. Docker & Kubernetes Setup
Scenario: Containerize application.
Complete Containerization
Result: Production-ready containerized application.
17. Infrastructure as Code
Scenario: Define infrastructure programmatically.
Terraform Setup
Result: Complete IaC setup for reproducible infrastructure.
π¨ Creative & Non-Traditional Uses
18. Configuration Management
19. Dependency Analysis
20. Code Archaeology
Resources & Learning
π Official Documentation
π₯ Video & Interactive Learning
π Interactive Course
Claude Code in Action
Official Anthropic course with hands-on labs covering architecture, implementation techniques, and MCP integration.
β Self-paced β’ β Certificate available
Start Courseπ DeepLearning.AI
Claude Code: A Highly Agentic Coding Assistant
Free course with Anthropic's Elie Schoppik. Learn fundamentals, context management, and advanced patterns.
β Beginner-friendly β’ β 2-3 hours
Take CourseπΊ YouTube Channel
@anthropic-ai
Latest conference talks, product demos, and technical deep dives from the Anthropic team.
β New content regularly
Subscribe㪠Code with Claude 2025
Anthropic's first developer conference
Watch talks from Anthropic engineers covering:
- Building production agents with MCP
- Advanced Claude Code workflows
- Real-world implementation patterns
- Tool use & API best practices
π Documentation
Official Claude Code Docs
Complete reference covering installation, configuration, tools, MCPs, hooks, and troubleshooting.
β Searchable β’ β Code examples
Browse Docsβ‘ Best Practices
Engineering Blog Post
Tips and tricks from Anthropic engineers for using Claude Code across different codebases and languages.
β Real examples β’ β 10 min read
Read Postπ Essential Reading for Teams
Scaling Agentic Coding Across Your Organization
Comprehensive guide from Anthropic covering:
- Change management strategies for AI adoption
- Security and governance considerations
- Measuring ROI and productivity gains
- Best practices from enterprise deployments
Perfect for engineering leaders, CTOs, and team leads
Download Free PDF Guideπ§ MCP Servers
π‘ Example Projects
Click any card to view the full example, or use the copy button to grab the prompt and try it yourself!
π Starter Templates
React + TypeScript
Modern React app with Vite, Tailwind CSS, and testing setup
"Create a React + TypeScript project with all best practices"
Node.js REST API
Production-ready API with Express, PostgreSQL, JWT auth, and testing
"Create a Node.js REST API with Express and PostgreSQL"
Python Data Science
Complete data science setup with Jupyter notebooks, pandas, and visualization
"Create a Python data science project with Jupyter notebooks"
Fullstack Next.js
Complete Next.js 14 app with authentication, database, and modern best practices
"Create a fullstack Next.js app with authentication"
π Example Workflows
Daily Standup Automation
Auto-generate standup notes from git commits
"Generate my daily standup notes from yesterday's commits"
π More Examples Coming Soon
Additional workflows in development:
- Code Review Checklist - Automated reviews based on team standards
- Performance Dashboard - Track and visualize app metrics
- Documentation Generator - Auto-generate comprehensive docs
π― Quick Reference
Common Commands
File Locations
Useful Prompts
"Explain how this codebase works""Find and fix this bug: [description]""Refactor [function/module] to be more efficient""Add comprehensive tests for [feature]""Generate documentation for this project""Review my changes and suggest improvements""Help me debug why [issue] is happening"
π€ Community & Support
π’ Large Codebase Strategies
Working with enterprise-scale codebases (10M+ lines)? These strategies will help you tackle massive refactoring projects, language translations, and library replacements effectively.
1. Scoping Strategy
Before starting large refactors:
- Create a dependency map before making changes
- Start with leaf nodes (fewest dependencies) first
- Focus on the change surface, not understanding everything
2. Search Efficiency Patterns
Avoid: grep "pattern" . on massive codebases
- Use Glob to narrow scope first, then grep within results
- Always specify file types or paths
- Read files only when targeted - don't explore randomly
3. Library Replacement Workflow
Phase 1: Discovery (use Explore agent)
- Find all import statements
- Identify usage patterns
- Document edge cases
Phase 2: Categorization (use TodoWrite heavily)
- Group by usage type (simple vs complex)
- Create separate todos for each file/pattern
- Mark dependencies between changes
Phase 3: Execution (parallel when possible)
- Replace simple usages first (builds confidence)
- Test after each logical group
- Use git commits to create checkpoints
4. Language Translation Best Practices
Work module-by-module, not file-by-file:
- Translate API contracts/interfaces first
- Translate data models next
- Translate business logic
- Translate tests last (they guide translation)
5. Managing Context Windows
Claude Code works best with focused tasks:
- Break work into ~1000-2000 line chunks
- Each module or service as separate task
- Clear interfaces between chunks
- Test each chunk before moving on
6. Parallel Operations
When changes are independent, request parallel work:
Claude will read multiple files simultaneously, make edits in parallel, and track progress across all modules.
7. Checkpoint Strategy
For weeks-long refactors, commit strategically:
- "Replace logger in authentication module"
- "Replace logger in payment processing"
This lets you pause/resume and isolate issues effectively.
8. Testing at Scale
Don't wait until the end!
After each module:
- Run unit tests for that module
- Run integration tests that touch it
- Check compilation/type errors
9. Common Pitfalls
- Starting without architecture understanding
- Trying to change too much at once
- Not using TodoWrite for complex refactors
- Not committing frequently
- Ignoring test failures until the end
- Not leveraging the Explore agent for discovery
- Map first, change second
- Break into 1-2K line chunks
- Track every file with todos
- Commit every logical unit
- Fix tests as you go
- Use specialized agents proactively
10. Performance Tips
Speed up large operations:
- Use specific paths:
grep "pattern" src/modulenotgrep "pattern" . - Exclude unnecessary directories: Add to .gitignore: node_modules, build, dist, .git
- Use file type filters:
--type=pyinstead of**/*.py - Request parallel operations: "Work on these 3 files in parallel"
- Use count mode for scoping:
grep "oldLib" --output_mode=count
π Real Example: Library Migration
Task: Replace Moment.js with date-fns across 8M line React app
Step 1: Scope (use Explore agent)
Step 2: Categorize findings
- 1,247 files use Moment
- 6 common patterns identified
- 43 edge cases flagged
Step 3: Create strategy
- Write custom slash command for common patterns
- Use TodoWrite to track all 1,247 files
- Group into 50-file batches
Step 4: Execute incrementally
- Start with components (fewest dependencies)
- Then utilities
- Then page-level code
- Tests last
Step 5: Verify continuously
- npm test after each batch
- Fix type errors immediately
- Commit after each successful batch
Result: 3-week migration, tracked with 25 git commits
11. Custom Tools for Repeated Operations
For repetitive large-scale tasks, create:
Slash commands:
Hooks:
- Pre-commit hook to check for banned imports
- Pre-write hook to enforce new patterns
MCPs:
- Custom MCP to query internal architecture docs
- Custom MCP to validate against your style guide
π Recommended Reading
Anthropic Blog Posts
External Resources
- Prompt Engineering Guide: Learn effective prompting techniques
- AI-Assisted Development: Patterns and practices
- Code Quality with AI: Maintaining standards
π§ Troubleshooting & FAQ
Running into issues? You're not alone! Here are solutions to the most common problems users encounter.
π Getting Started Issues
β Claude won't start / "Command not found"
Problem: When I type claude, I get "command not found"
Solutions:
- Verify installation:
which claude - Reinstall:
npm install -g @anthropic-ai/claude-code - Check your PATH environment variable
- Try with npx:
npx @anthropic-ai/claude-code - Restart your terminal after installation
π API Key / Authentication Issues
Problem: "Authentication failed" or "Invalid API key"
Solutions:
- Verify key is set:
echo $ANTHROPIC_API_KEY - Set key:
export ANTHROPIC_API_KEY=your-key - Add to your shell profile (~/.zshrc or ~/.bashrc) to make it permanent
- Check key is valid in Anthropic Console
- Regenerate key if needed
π Permission Errors
Problem: "Permission denied" when reading/writing files
Solutions:
- Check file permissions:
ls -la filename - Make sure you're running Claude Code from the correct directory
- Check that .gitignore isn't blocking the files
- Verify you have write access to the project directory
- Don't use sudo unless absolutely necessary (not recommended)
π¬ Usage Issues
π€ Claude Isn't Responding
Problem: Claude started but isn't responding to my messages
Solutions:
- Check your internet connection
- Verify you haven't hit API rate limits
- Try
/clearto reset the conversation - Restart Claude Code completely
- Check Anthropic status page
- Look for error messages in your terminal
π Claude Made a Mistake
Problem: The code Claude wrote has bugs or isn't what I wanted
Solutions:
- Be more specific in your request and provide more context
- Ask Claude to fix it:
"This has a bug in line 42 where..." - Iterate:
"Can you try a different approach?" - Provide examples of what you want
- Undo with git:
git restore <file> - Ask Claude to explain its reasoning:
"Why did you choose this approach?"
β©οΈ How Do I Undo Changes?
Problem: I want to revert Claude's changes
Solutions:
- Single file:
git restore <file> - All changes:
git restore . - Hard reset:
git reset --hard HEAD(careful!) - Pro tip: Always review changes before accepting
- Pro tip: Work in a branch:
git checkout -b feature-name - Pro tip: Commit frequently so you can easily revert
π Performance Is Slow
Problem: Claude is taking a long time to respond
Solutions:
- Large codebases (>100k lines) may be slowerβthis is normal
- Be specific to reduce scope:
"Fix the login function"vs"Fix everything" - Check your internet connection speed
- Try smaller, focused questions
- Use agents for long-running tasks that can work in the background
- Break complex tasks into smaller steps
π Claude Can't Find My Files
Problem: Claude says it can't find a file that exists
Solutions:
- Check the file path is correct:
ls path/to/file - Make sure you're in the right directory:
pwd - Check if the file is in .gitignore (Claude respects .gitignore)
- Try using the full path instead of a relative path
- Ask Claude to search:
"Find all files named X"
βοΈ Configuration Issues
π MCPs Not Working
Problem: My MCP server isn't connecting
Solutions:
- Check ~/.mcp.json formatting (must be valid JSON)
- Verify the MCP server is installed:
npm list -g - Check logs for error messages
- Try a simple test MCP first (like filesystem)
- Restart Claude Code after changing MCP config
- Verify the server path is correct
πͺ Hooks Not Firing
Problem: My hooks aren't running
Solutions:
- Check .claude/config.json syntax (must be valid JSON)
- Verify hook commands work independently in terminal
- Check file permissions on hook scripts:
chmod +x script.sh - Look for error messages in Claude Code output
- Try a simpler hook first to test the system
- Make sure the hook path is absolute or relative to project root
β Custom Commands Not Working
Problem: My custom slash command doesn't show up
Solutions:
- Check command file location:
.claude/commands/commandname.md - Verify file name matches:
/commandnameβcommandname.md - Restart Claude Code after adding new commands
- Check file has content (can't be empty)
- Try
/helpto see if your command is listed
π Plugins Not Working
Problem: My installed plugin isn't working or showing up
Solutions:
- Verify plugin is installed:
/plugin list - Check plugin is enabled:
/plugin enable plugin-name - Restart Claude Code after installing plugins
- Verify plugin marketplace URL is correct:
/plugin marketplace - Check plugin manifest (.claude-plugin/plugin.json) is valid JSON
- Try reinstalling:
/plugin uninstall plugin-namethen reinstall - Check plugin documentation for specific requirements
π€ Common Questions
π° How much does Claude Code cost?
Claude Code uses your Anthropic API key, which is billed based on usage. You can check pricing at anthropic.com/pricing. You only pay for what you use.
π Is my code secure?
Your code is sent to Anthropic's API for processing. Anthropic does not train models on your API data. Review Anthropic's privacy policy for full details.
π Can I use Claude Code offline?
No, Claude Code requires an internet connection to communicate with Anthropic's API. All the AI processing happens in the cloud.
π₯ Can multiple people use Claude Code on the same project?
Yes! Each person needs their own API key. Claude Code works great in team environments. Just make sure to use git branches to avoid conflicts.
π¦ What languages/frameworks does Claude Code support?
Claude Code works with all programming languages and frameworks. It's especially good with popular languages like Python, JavaScript/TypeScript, Java, Go, Rust, and more.
π Claude Code CLI vs Claude Code Web vs claude.ai - What's the difference?
Claude Code CLI: Terminal-based tool with direct file system access, runs commands locally, full control over your development environment. Best for deep integration with your local workflow.
Claude Code Web (NEW): Browser-based coding agent running on Anthropic's cloud infrastructure. Connects to GitHub repos, runs multiple tasks in parallel, generates PRs automatically. Best for delegating tasks, bug backlogs, and parallel development. Available at claude.com/code.
claude.ai: General web interface for conversations and non-coding tasks. Requires copy-pasting code, no direct repo access.
When to use what:
- CLI: Active development, local testing, complex workflows
- Web: Delegating tasks, parallel work across repos, mobile access
- claude.ai: General questions, brainstorming, non-coding tasks
π Still Stuck?
Can't find your issue? Here's how to get help:
- Search Documentation: Official Claude Code Docs
- Check GitHub Issues: Known issues and feature requests
- Ask the Community: Anthropic Discord
- Contact Support: Anthropic Support
When asking for help, include:
- The exact error message (copy the full text)
- What you were trying to do
- Your operating system and version
- Claude Code version:
claude --version - Steps to reproduce the issue