Skip to content

Chapter 19: Resources


Official Documentation

Core Resources

Claude Code Official Repository

Anthropic Official Website

MCP Protocol


Community Resources

Community Platforms

Discord Community

  • Official Discord server
  • Real-time discussions and Q&A
  • Share tips and experiences

Reddit

  • r/ClaudeAI
  • r/ClaudeCode
  • Community discussions and case sharing

Stack Overflow

  • Tag: claude-code
  • Technical Q&A
  • Problem solutions

YouTube Tutorials

Search keywords:

  • "Claude Code tutorial"
  • "Claude Code getting started"
  • "Claude Code examples"

Blog Articles

  • Anthropic official blog
  • Claude Code articles on Medium
  • Dev.to community articles

FAQ

Q1: Is Claude Code free?

A: The CLI tool itself is free, but requires Anthropic API Key. API calls are pay-per-use.

Q2: What programming languages does Claude Code support?

A: Supports all mainstream languages including JavaScript/TypeScript, Python, Java, Go, Rust, C/C++, etc.

Q3: How to reduce API costs?

A:

  • Use Haiku model for simple tasks
  • Leverage subagents for optimization
  • Manage context size reasonably
  • Set budget limits

Q4: Can Claude Code work offline?

A: No, Claude Code requires network connection to call Anthropic API.

Q5: How is data security ensured?

A:

  • Local execution, code not uploaded
  • Encrypted API communication
  • Can configure to disable network access
  • Follows Anthropic privacy policy

Q6: How to get technical support?

A:

  • GitHub Issues: Report bugs and feature requests
  • Discussions: Community discussion
  • Discord: Real-time help
  • Official docs: Detailed guides

Q7: Difference between Claude Code and GitHub Copilot?

A:

  • Claude Code is complete CLI tool, not just code completion
  • Supports autonomous task execution
  • Deep codebase understanding
  • Extensible (MCP, plugins, Skills)

Q8: Does it support team collaboration?

A:

  • Can share sessions and checkpoints
  • Git integration supported
  • Can create team Skills
  • Unified configuration management

Tips and Tricks

Efficient Usage Tips

1. Leverage Subagents

19.4 技巧与诀窍

bash
# Quick exploration with Explore Agent
You: /explore find all API endpoints

# Complex tasks with Plan Agent
You: /plan implement payment system

2. Save Common Prompts Create prompt template files:

bash
# ~/.claude-code/templates/create-api.txt
Create RESTful API endpoint:
- Path: {{path}}
- Method: {{method}}
- Auth: JWT
- Validation: Joi
- Tests: Jest

3. Quick Aliases

bash
# .bashrc or .zshrc
alias cc='claude'
alias cci='claude --interactive'
alias ccr='claude /review-pr'

4. Project Templates Create project template config:

bash
~/.claude-code/templates/project-init.yaml

5. Regular Backups

bash
# Auto backup script
#!/bin/bash
claude session export-all ~/.claude-backups/$(date +%Y%m%d)

Recommended Tools and Plugins

Essential Plugins

1. Context7

  • Enhanced documentation access
  • Real-time library docs

2. Prettier

  • Code formatting
  • Unified code style

3. ESLint

  • Code quality checks
  • Best practice hints

MCP Servers

1. Filesystem Server

  • Local file access
  • Secure file operations

2. GitHub Server

  • GitHub integration
  • Repository management

3. Database Servers

  • PostgreSQL
  • MySQL
  • MongoDB

Development Tool Integration

VS Code

  • Install Claude Code plugin
  • Terminal integration

Terminal Enhancement

  • iTerm2 (macOS)
  • Windows Terminal (Windows)
  • Alacritty (Cross-platform)

Learning Path Suggestions

Beginner (Weeks 1-2)

Goal: Master basic usage

Learning Content:

  1. Complete first 4 chapters: Intro, Install, Config, Quick Start
  2. Practice: Create simple files and functions
  3. Get familiar with interactive mode
  4. Learn basic Git operations

Projects:

  • Todo CLI app
  • Simple HTTP server

Intermediate (Weeks 3-4)

Goal: Master advanced features

Learning Content:

  1. Complete chapters 5-12: Interactive, Tools, MCP, Subagents, etc.
  2. Configure MCP servers
  3. Use subagents to optimize workflow
  4. Create custom Skills

Projects:

  • Blog system
  • RESTful API
  • Code refactoring project

Advanced (Weeks 5-6)

Goal: Become Claude Code expert

Learning Content:

  1. Complete remaining chapters
  2. Develop custom plugins
  3. Create MCP servers
  4. Optimize team workflows

Projects:

  • Complete SaaS application
  • Open source plugin development
  • CI/CD pipeline

Continuous Learning

Recommended:

  • Follow official Blog and updates
  • Participate in community discussions
  • Share your experiences and plugins
  • Explore new use cases

Conclusion

Congratulations on completing the Claude Code Complete Tutorial!

You've Learned:

  • ✅ Claude Code installation and configuration
  • ✅ Basic and advanced feature usage
  • ✅ MCP servers and subagent system
  • ✅ Plugin and Skills development
  • ✅ Practical project experience

Next Actions:

  1. Practice Projects

    • Start using on actual projects
    • Begin with small tasks and expand gradually
  2. Deep Learning

    • Explore official documentation
    • Try developing your own plugins
  3. Community Participation

    • Share your experiences
    • Help other beginners
    • Contribute code and documentation
  4. Continuous Improvement

    • Follow new releases
    • Learn best practices
    • Optimize workflows

Remember:

  • Claude Code is your programming partner, not replacement
  • Keep practicing, practice makes perfect
  • Ask good questions, describe needs accurately
  • Manage costs, use resources wisely

Happy Coding! 🚀


Quick Reference Card

Common Commands

bash
# Basics
claude                        # Start interactive mode
claude "task"                # Execute task

# Configuration
claude --set-api-key         # Set API Key
claude --edit-config         # Edit configuration

# Skills
claude /commit               # Create commit
claude /review-pr N          # Review PR
claude /feature-dev "name"   # Feature development

# Sessions
claude /save name            # Save session
claude /load name            # Load session

# Plugins
claude plugin list           # List plugins
claude plugin install name   # Install plugin

Config Locations

~/.config/claude-code/
├── config.json              # Main configuration
├── mcp-servers.json         # MCP configuration
├── plugins.json             # Plugin configuration
└── skills/                  # Custom Skills

Important Links


Thanks for reading! Feel free to open an issue for questions or suggestions!


Content is for learning and research only.