Skip to content

az9713/claude-code-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Mastery: Complete Tutorial Collection

From Zero to Hero with Claude Code - A comprehensive guide to mastering every feature of Claude Code CLI.


Overview

This collection contains in-depth tutorials covering every major feature of Claude Code. Each tutorial is self-contained with:

  • Installation and setup instructions
  • Step-by-step guides
  • Real-world examples
  • Quick reference cheat sheets
  • Troubleshooting guides

Tutorials

Core Tutorials (01-10)

# Tutorial Description
01 Hooks Automate and validate Claude's actions with event-driven hooks
02 Slash Commands Master built-in commands and create custom ones
03 Subagents Run isolated agents for parallel and background tasks
04 MCP Servers Extend Claude with external integrations via Model Context Protocol
05 Skills Create reusable instruction sets for consistent workflows
06 Terminal & Bash Command execution, permissions, and shell integration
07 Best Practices Prompting, context management, security, and team collaboration
08 Development Workflows Complete workflows for features, bugs, refactoring, and CI/CD
09 Settings & Configuration CLAUDE.md, settings.json, permissions, and environment setup
10 IDE Integrations VS Code, JetBrains, Vim/Neovim, and terminal editor setup

Advanced Tutorials (11-25)

# Tutorial Description
11 Git Worktrees Parallel development with multiple Claude sessions
12 Teleport Move work between CLI and web (claude.ai/code)
13 Session Management Resume, rename, and manage conversation sessions
14 Claude Code Web Cloud execution with teleport and parallel tasks
15 GitHub Actions CI/CD integration with claude-code-action
16 GitLab CI/CD GitLab pipeline integration with Bedrock/Vertex
17 Creating Plugins Build custom plugins with commands, agents, hooks
18 Plugin Marketplaces Create and distribute plugin marketplaces
19 Sandbox Security sandboxing with Bubblewrap/Seatbelt
20 Permissions Allow/ask/deny rules and permission modes
21 CLAUDE.md Mastery 4-level hierarchy, @imports, path-specific rules
22 Settings Deep Dive Complete settings.json reference
23 Amazon Bedrock Enterprise AWS integration
24 Google Vertex AI Enterprise GCP integration
25 Headless Mode Scripting and automation with --print

Workflow Tutorials (26-35)

# Tutorial Description
26 Background Tasks Run tasks asynchronously with & prefix
27 Checkpointing Track and rewind Claude's edits
28 VS Code Deep Dive Complete VS Code extension guide
29 JetBrains Deep Dive IntelliJ, PyCharm, WebStorm integration
30 CI/CD Best Practices Security and optimization for pipelines
31 Output Styles Customize Claude's response style
32 Model Configuration Model selection and opusplan mode
33 Cost Optimization Track and reduce token usage
34 Context Management Manage context for long sessions
35 Agent SDK Programmatic control of Claude Code

Security & Enterprise (36-42)

# Tutorial Description
36 Security Best Practices Secure Claude Code usage
37 Privacy & Data Handling Data flow and privacy controls
38 Extended Thinking Deep reasoning for complex tasks
39 Plan Mode Safe planning before execution
40 CLI Reference ⚠️ Deprecated - See TUTORIAL_54
41 Working with Images Use images for debugging and design
42 Enterprise Deployment Deploy Claude Code for teams

Practical Workflows (43-53)

# Tutorial Description
43 Debugging Effective debugging strategies
44 Testing Test-driven development workflows
45 PR Workflows Create and manage pull requests
46 Code Review Thorough code review practices
47 Documentation Generate and maintain docs
48 Refactoring Strategic refactoring approaches
49 Codebase Understanding Quickly understand new codebases
50 Troubleshooting Common issues and solutions
51 Unix Utility Pipe and script integration
52 Environment Variables Configure with env vars
53 Keyboard Shortcuts Master productivity shortcuts

New Features & Advanced (54-67)

# Tutorial Description
54 CLI Complete Reference Comprehensive CLI reference (replaces #40)
55 Chrome Integration Browser automation with Claude in Chrome
56 LSP Integration Language Server Protocol for IDE-like navigation
57 MCP Tool Search Context optimization with auto-deferral
58 Advanced Hooks Hook patterns, additionalContext, once:true
59 Wildcard Permissions Security-focused permission patterns
60 Internationalization CJK input, IME support, language settings
61 Terminal Customization OSC 8 hyperlinks, Kitty protocol, terminal setup
62 Environment Variables All CLAUDE_CODE_* and ANTHROPIC_* vars
63 Migration Guide Version upgrades and breaking changes
64 Enterprise Settings Managed settings and team policies
65 Diagnostics /doctor command and health checks
66 Real-time MCP Dynamic tools and list_changed notifications
67 Configuration Reference Complete settings.json with all keys and workflow templates

Additional Resources

File Description
Agent Workflows Complete guide to agent-driven development lifecycle

Learning Paths

Path 1: Quick Start (New Users)

1. Terminal & Bash - Understand how Claude runs commands
2. Slash Commands - Learn essential commands
3. CLI Complete Reference - All CLI commands and flags
4. Best Practices - Avoid common mistakes
5. Keyboard Shortcuts - Work efficiently
6. Diagnostics - Self-service troubleshooting with /doctor

Path 2: Power User

1. Subagents - Parallel and background execution
2. Git Worktrees - Parallel development
3. Background Tasks - Async execution
4. Session Management - Continuity across sessions
5. Checkpointing - Undo and rewind
6. Skills - Reusable workflows
7. Hooks - Automation and validation
8. Advanced Hooks - additionalContext, once:true patterns
9. MCP Tool Search - Context optimization and auto-deferral
10. Wildcard Permissions - Flexible security patterns

Path 3: Enterprise/Team Setup

1. Settings Deep Dive - All configuration options
2. Permissions - Security controls
3. Wildcard Permissions - Advanced permission patterns
4. Sandbox - Execution isolation
5. Security Best Practices - Secure usage
6. Amazon Bedrock - AWS enterprise setup
7. Google Vertex AI - GCP enterprise setup
8. Enterprise Deployment - Team rollout
9. Enterprise Settings - Managed settings and policies
10. Migration Guide - Version upgrades and rollbacks
11. Diagnostics - Health monitoring and /doctor

Path 4: CI/CD Integration

1. GitHub Actions - GitHub CI/CD
2. GitLab CI/CD - GitLab pipelines
3. CI/CD Best Practices - Security and optimization
4. Headless Mode - Scripting Claude
5. Agent SDK - Programmatic control

Path 5: IDE Mastery

1. IDE Integrations - Overview
2. VS Code Deep Dive - Complete VS Code guide
3. JetBrains Deep Dive - IntelliJ/PyCharm guide
4. Chrome Integration - Browser automation
5. LSP Integration - Language server features
6. Keyboard Shortcuts - Productivity
7. Terminal Customization - Terminal-specific setup

Quick Reference

Essential Commands

# Start Claude Code
claude

# Common slash commands
/help                    # Show help
/clear                   # Clear conversation context
/compact                 # Summarize and compact context
/cost                    # Show token usage and cost
/model <name>            # Switch model (opus, sonnet, haiku)
/rewind                  # Undo changes
/resume                  # Resume previous session
/teleport                # Move session to web
/tasks                   # View background tasks

# Background execution
& Fix the bug in auth.ts    # Runs in background

Key File Locations

File Purpose
CLAUDE.md Project context and instructions
.claude/settings.json Project settings
~/.claude/settings.json User settings
~/.claude/output-styles/ Custom output styles

Reference .claude Directory

This repository includes a ready-to-use .claude directory with comprehensive configuration for experienced full-stack developers. Copy it to your project to get started immediately:

cp -r .claude /path/to/your/project/

What's Included

Category Contents
Configuration settings.json, mcp.json, .claudeignore
Commands /commit, /pr, /review, /test, /deploy:staging, /deploy:production, /db:migrate, /db:seed
Skills Git workflow, TDD, debugging, refactoring, React patterns, accessibility, performance, API design, database, security, Docker, CI/CD, monitoring, code review, testing strategy, documentation

Structure

.claude/
├── settings.json              # Pre-approved commands for npm, git, docker, kubectl
├── mcp.json                   # 8 MCP servers (GitHub, Postgres, etc.) - disabled by default
├── commands/                  # 8 slash commands
└── skills/                    # 14 skills organized by domain
    ├── workflow/              # git-workflow, tdd, debugging, refactoring
    ├── frontend/              # react-patterns, accessibility, performance
    ├── backend/               # api-design, database, security
    ├── devops/                # docker, ci-cd, monitoring
    └── quality/               # code-review, testing-strategy, documentation

See .claude/README.md for full documentation.


Prerequisites

  • Claude Code CLI v2.1.x or later (tutorials cover features through v2.1.12)
  • Node.js 18+ (for MCP servers and some hooks)
  • Git (for version control workflows)

Installation

# Via npm (recommended)
npm install -g @anthropic-ai/claude-code

# Verify installation
claude --version

Reference Documentation

These tutorials were created using the official Claude Code documentation:


About

This tutorial collection is provided for educational purposes. Claude Code is a product of Anthropic.


Generated with Claude Code & AntiGravity, powered by Opus 4.5 Last Updated: January 2026 | Covers Claude Code v2.1.12

About

Comprehensive Claude Code tutorials - From Zero to Hero

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors