Chapter 19: Resources
Official Documentation
Core Resources
Claude Code Official Repository
- GitHub: https://github.com/anthropics/claude-code
- Documentation: https://github.com/anthropics/claude-code/docs
- Issues: https://github.com/anthropics/claude-code/issues
- Discussions: https://github.com/anthropics/claude-code/discussions
Anthropic Official Website
- Homepage: https://www.anthropic.com
- API Docs: https://docs.anthropic.com
- Console: https://console.anthropic.com
- Blog: https://www.anthropic.com/blog
MCP Protocol
- Specification: https://modelcontextprotocol.org
- SDK: https://github.com/modelcontextprotocol/sdk
- Server List: https://github.com/modelcontextprotocol/servers
Community Resources
Community Platforms
Discord Community
- Official Discord server
- Real-time discussions and Q&A
- Share tips and experiences
- 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 技巧与诀窍
# Quick exploration with Explore Agent
You: /explore find all API endpoints
# Complex tasks with Plan Agent
You: /plan implement payment system2. Save Common Prompts Create prompt template files:
# ~/.claude-code/templates/create-api.txt
Create RESTful API endpoint:
- Path: {{path}}
- Method: {{method}}
- Auth: JWT
- Validation: Joi
- Tests: Jest3. Quick Aliases
# .bashrc or .zshrc
alias cc='claude'
alias cci='claude --interactive'
alias ccr='claude /review-pr'4. Project Templates Create project template config:
~/.claude-code/templates/project-init.yaml5. Regular Backups
# 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:
- Complete first 4 chapters: Intro, Install, Config, Quick Start
- Practice: Create simple files and functions
- Get familiar with interactive mode
- Learn basic Git operations
Projects:
- Todo CLI app
- Simple HTTP server
Intermediate (Weeks 3-4)
Goal: Master advanced features
Learning Content:
- Complete chapters 5-12: Interactive, Tools, MCP, Subagents, etc.
- Configure MCP servers
- Use subagents to optimize workflow
- Create custom Skills
Projects:
- Blog system
- RESTful API
- Code refactoring project
Advanced (Weeks 5-6)
Goal: Become Claude Code expert
Learning Content:
- Complete remaining chapters
- Develop custom plugins
- Create MCP servers
- 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:
Practice Projects
- Start using on actual projects
- Begin with small tasks and expand gradually
Deep Learning
- Explore official documentation
- Try developing your own plugins
Community Participation
- Share your experiences
- Help other beginners
- Contribute code and documentation
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
# 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 pluginConfig Locations
~/.config/claude-code/
├── config.json # Main configuration
├── mcp-servers.json # MCP configuration
├── plugins.json # Plugin configuration
└── skills/ # Custom SkillsImportant Links
- API Docs: https://docs.anthropic.com
- MCP Protocol: https://modelcontextprotocol.org
- Tutorial Repo: https://github.com/your-repo/claude-code-tutorial
Thanks for reading! Feel free to open an issue for questions or suggestions!