Sandbox
@ShipWithAI/claude-code-mastery

Claude Code course for builders

Claude Code Mastery is a free, structured course that teaches how to use Claude Code in real workflows. It covers setup, security, prompting, memory, context, multi-agent work, hooks, automation, and team use through lessons and exercises.

93 stars22 forksMDXUpdated 1mo ago
Who it's for

Builders who want a guided path for learning Claude Code and its production patterns.

What it delivers

You can move from basic use to consistent Claude Code workflows without piecing together random guides.

What it does

16-phase curriculum

The course is organized into 16 phases that move from foundations to real-world mastery.

Production workflow lessons

Modules cover security, core workflows, prompt engineering, context control, planning, and legacy code work.

Multi-language content

The full course is available in English and Tiếng Việt.

Hands-on exercises and cases

Each module follows a 7-block structure with practice, cheat sheets, pitfalls, and real cases.

Claude Code automation topics

Later phases cover hooks, headless mode, SDK use, GitHub Actions, MCP, and n8n integration.

Team and ecosystem guidance

The course includes templates, skills, community patterns, and team CLAUDE.md conventions.

How to get it

  1. 1Run
    git clone https://github.com/ShipWithAI/claude-code-mastery.git
    cd claude-code-mastery
    npm install
    npm run dev

README

Claude Code Mastery

The most comprehensive, free course on mastering Claude Code — Anthropic's AI coding agent.

Not another Getting Started guide — this is a structured, senior-level curriculum.

Stars License: CC BY-NC-SA 4.0 PRs Welcome Version Claude Code

16 Phases · 55 Modules · 136 Lessons · English + Tiếng Việt

Live Course · Twitter · Telegram


Finished learning? Use production plugins next → This course teaches how Claude Code works. shipwithai-plugins ships it — install a pre-built harness (and more) in minutes.


The Problem

Most Claude Code tutorials teach individual features in isolation. But real productivity comes from combining features into workflows — and knowing which patterns to use (and avoid) in production. That's what this course teaches.


📋 Full Course Roadmap (16 Phases)

Course Roadmap

#PhaseModulesWhat You'll Master
🏗️ 1Foundation3Installation, interfaces & modes, context window basics
🔒 2Security & Sandboxing5Threat model, permissions, sandbox, secrets, monitoring
⚡ 3Core Workflows4Reading code, writing code, git integration, shell ops
🎯 4Prompt Engineering & Memory4Prompting techniques, CLAUDE.md, slash commands, memory
🧠 5Context Mastery3Context control, optimization, image & visual context
🤔 6Thinking & Planning3Think mode, plan mode, think + plan combo strategies
🤖 7Multi-Agent & Full Auto5Auto coding levels, full auto, multi-agent, agentic loops
🐛 8Meta-Debugging5Hallucination detection, loop breaking, quality assessment
🏚️ 9Legacy Code & Brownfield4Code archeology, incremental refactoring, tech debt
👥 10Team Collaboration5Team CLAUDE.md, git conventions, code review, governance
⚙️ 11Automation & Headless5Headless mode, SDK, hooks, GitHub Actions, MCP
🔄 12n8n & Workflow Integration3Claude Code + n8n, workflow patterns, SDK orchestration
📊 13Data & Analysis3Data analysis, report generation, log & error analysis
🚀 14Optimization & Performance4Task, speed, quality, and cost optimization
📦 15Templates, Skills & Ecosystem5CLAUDE.md templates, prompt recipes, skills, community
🏆 16Real-World Mastery3Case studies, role-specific workflows, workshop design

What You'll Be Able to Do

ScenarioWhat You'll LearnPhase
Set up Claude Code for a new projectCLAUDE.md architecture, context optimization04, 05
Automate code review with AIHooks, multi-agent patterns, team governance06, 07, 10
Refactor a legacy codebase safelyCode archeology, incremental refactoring, testing09
Run Claude Code in CI/CDHeadless mode, GitHub Actions, SDK11
Optimize Claude Code costsToken management, caching, model selection14
Onboard your team to Claude CodeTeam CLAUDE.md, conventions, review workflows10, 15

Why Claude Code Mastery?

Claude Code MasteryOfficial DocsYouTube Tutorials
Structured curriculum✅ 16 phases, progressive❌ Reference only❌ Random topics
55+ in-depth modules
Vietnamese (Tiếng Việt)
Production patterns & real cases⚠️ Some
Hands-on exercises with solutions⚠️ Varies
Free & open source

Quick Start

Read online (recommended)

👉 course.shipwithai.io

Run locally

git clone https://github.com/ShipWithAI/claude-code-mastery.git
cd claude-code-mastery
npm install
npm run dev

Open http://localhost:4321


Languages

LanguagePathStatus
🇬🇧 Englishsrc/content/docs/en/✅ Complete
🇻🇳 Tiếng Việtsrc/content/docs/vi/✅ Complete

Progress Tracker

Fork this repo and check off phases as you complete them:

  • Phase 1: Foundation
  • Phase 2: Security & Sandboxing
  • Phase 3: Core Workflows
  • Phase 4: Prompt Engineering & Memory
  • Phase 5: Context Mastery
  • Phase 6: Thinking & Planning
  • Phase 7: Multi-Agent & Full Auto
  • Phase 8: Meta-Debugging
  • Phase 9: Legacy Code & Brownfield
  • Phase 10: Team Collaboration
  • Phase 11: Automation & Headless
  • Phase 12: n8n & Workflow Integration
  • Phase 13: Data & Analysis
  • Phase 14: Optimization & Performance
  • Phase 15: Templates, Skills & Ecosystem
  • Phase 16: Real-World Mastery

Contributing

Found an error? Have a better example? PRs welcome!

  • Course content lives in src/content/docs/
  • Every module follows the 7-block structure: WHY → CONCEPT → DEMO → PRACTICE → CHEAT SHEET → PITFALLS → REAL CASE
  • Read CLAUDE.md for full writing guidelines and the module template
  • See CONTRIBUTING.md for contribution workflow

Community

Join fellow developers learning Claude Code:


Star History

Star History ChartStar History Chart

FAQ

Is this free? Yes, completely free and open source.

How is this different from official docs? Official docs explain features. This course teaches production workflows, patterns, and pitfalls through structured lessons.

How long does it take? Self-paced. Each phase takes 1-3 hours. Do one phase per day or binge the whole thing.

Is it up to date? Yes, actively maintained and compatible with Claude Code 2.1+.

I found an error. Please open an issue or PR! See CONTRIBUTING.md.


License


If this course helped you, consider giving it a ⭐ — it helps others find it too.

Built by the ShipWithAI community

Files in the repo

Repository payload17 top-level entries
  • .claude
  • .github
  • public
  • src
  • .gitignore
  • astro.config.mjs
  • CLAUDE.md
  • CLAUDE.vi.md
  • CONTRIBUTING.md
  • COURSE-INDEX.md
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • SUMMARY.md
  • tsconfig.json
  • vercel.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tutorials & guides

shareAI-lab/
learn-claude-code

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

77k
luongnv89/
claude-howto
luongnv89/claude-howtoTutorials & Guides

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

41k
agentskills/
agentskills
agentskills/agentskillsTutorials & Guides

Specification and documentation for Agent Skills

25k