Skip to content

Claude Code Complete Tutorial

Welcome to the Claude Code Complete Tutorial! This tutorial will guide you from scratch to mastering all aspects of Claude Code.


📚 Tutorial Contents

Basics

  1. Introduction

    • What is Claude Code
    • Core Features
    • Use Cases
    • Comparison with Other Tools
  2. Installation

    • System Requirements
    • Installation Steps
    • First Run
    • Common Issues
  3. API Configuration

    • Getting API Key
    • Configuration File Setup
    • Environment Variables
    • API Security Best Practices
  4. Quick Start

    • First Command
    • Basic Workflow
    • Common Operations
    • Starter Project

Intermediate

  1. Interactive Mode

    • Interactive Mode Introduction
    • Session Management
    • Context Preservation
    • Keyboard Shortcuts
  2. Basic Usage

    • File Operations
    • Code Generation
    • Code Refactoring
    • Debugging Assistance
  3. MCP Servers

    • MCP Protocol Introduction
    • Configuring MCP Servers
    • Common MCP Servers
    • Custom MCP Servers
  4. Subagents

    • Subagent Concepts
    • Available Subagent Types
    • Subagent Use Cases
    • Parallel vs Serial Execution

Advanced

  1. Plugin System

    • Plugin Architecture
    • Installing Plugins
    • Plugin Configuration
    • Recommended Plugins
  2. Agent Skills

    • Skills Introduction
    • Built-in Skills
    • Custom Skills
    • Skills Development Guide
  3. Output Styling

    • Terminal Output Format
    • Markdown Rendering
    • Colors and Styles
    • Custom Output
  4. Hooks

    • Hook Mechanism
    • Lifecycle Hooks
    • Custom Hooks
    • Hook Configuration Examples

Reference

  1. CLI Reference

    • Command Line Arguments
    • Global Options
    • Configuration File Details
    • Complete Command List
  2. Controls and Modes

    • Working Modes
    • Plan Mode
    • Permission Control
    • Session Control
  3. Slash Commands

    • Slash Commands Overview
    • Common Commands Explained
    • /commit, /review-pr, etc.
    • Command Combination Tips
  4. Checkpoints

    • Checkpoint Concepts
    • Save and Restore
    • Session Management
    • Best Practices
  5. Plugin Reference

    • Plugin API
    • Plugin Development
    • Plugin Publishing
    • Plugin Maintenance

Practical

  1. Practical Examples

    • Web Application Development
    • API Development
    • Code Review and Refactoring
    • Automation Scripts
    • Test-Driven Development
  2. Resources

    • Official Documentation
    • Community Resources
    • FAQ
    • Tips and Tricks

🎯 Learning Recommendations

Beginner Path

Follow chapters 1-6 in order to learn the basics.

Intermediate Developer

If you're familiar with basics, jump to chapters 7-12.

Advanced User

For deep customization, focus on chapters 9-10 and 13-17.


💡 How to Use This Tutorial

  1. Progressive Learning | Each chapter builds upon previous ones

  2. Hands-on Practice | Each chapter includes code examples and exercises

  3. Bilingual | All content is available in both Chinese and English

  4. Continuous Updates | Tutorial updates with Claude Code releases


Start Learning


Last Updated: 2026-01-21

Content is for learning and research only.