Sandbox
@emarco177/claude-code-crash-course

Claude Code crash course with branch-based lessons

This repository teaches Claude Code through small, topic-focused branches. Each branch covers one feature or workflow, and the commits are ordered so you can learn by stepping through the history.

186 starsβ€’157 forksβ€’Updated 5mo ago
Who it's for

Builders who want to learn Claude Code features by following branch-by-branch examples.

What it delivers

You can practice Claude Code workflows in a guided repo instead of piecing them together from scattered examples.

What it does

Branch-based lessons

Each `project/*` branch focuses on one Claude Code concept.

Ordered commit walkthroughs

Commits are arranged chronologically so you can study each step in sequence.

Topic coverage

The course includes custom commands, MCP integration, context engineering, subagents, hooks, and hook management.

Getting started steps

The README shows how to clone the repo, check out a branch, and inspect the commit history.

How to get it

  1. 1Clone the repository
    git clone https://github.com/emarco177/claude-code-crash-course.git
    cd claude-code-crash-course
  2. 2Choose a topic and check out the branch
    # Example for the custom commands topic
    git checkout project/custom-commands

README

Claude Code Crash Course πŸš€

Claude Code Banner

Twitter Follow License Udemy Course

Welcome to the Claude Code Crash Course! This repository is designed to teach you the fundamentals and advanced concepts of Claude Code, Anthropic's official CLI for AI-powered software development, in a hands-on way.

What is Claude Code? πŸ’‘

Claude Code is an interactive command-line interface that brings Claude's AI capabilities directly to your development workflow. It helps with code analysis, bug fixing, feature development, refactoring, and workflow automation - all from your terminal.

How it Works πŸ€”

This repository uses a unique branch-based structure for learning:

  1. Each project/* branch covers a specific Claude Code feature or concept.
  2. Within each branch, commits are ordered chronologically. Follow the commits one by one to learn the topic step-by-step.

Simply check out the branch for the topic you want to learn and walk through the commits!

Available Topics (Branches) πŸ“š

Here are the topics currently available:

BranchTopicDescription
project/custom-commandsπŸ”§ Custom CommandsLearn to extend Claude Code with custom functionality like dad joke generators and automated commits
project/mcpπŸ”— MCP IntegrationMaster Model Context Protocol integration with Context7 MCP server
project/context-engineering-mcp⚑ Fine-Grained MCP ConfigurationOptimize context tokens with task-specific MCP configurations using --mcp-config flag
project/subagentsπŸ€– SubagentsBuild specialized AI agents within Claude Code like Code Comedy Carl
project/hooks-notifications🎣 Hooks & NotificationsAutomate your workflow with sound notifications and event triggers
project/hookhub🏒 Hook HubAdvanced hook management and organization systems

More topics might be added, so keep an eye out!

Prerequisites πŸ› οΈ

Before you start, make sure you have the following installed:

  • πŸ€– Claude Code CLI
  • πŸ“¦ Git
  • 🐍 Python (version 3.8 or higher)
  • πŸ“ Your favorite text editor/IDE

Getting Started ▢️

  1. Clone the repository:
    git clone https://github.com/emarco177/claude-code-crash-course.git
    cd claude-code-crash-course
    
  2. Choose a topic and check out the branch:
    # Example for the custom commands topic
    git checkout project/custom-commands
    
  3. Follow the commits: Use git log --oneline --reverse to see the chronological list of commits for the branch. Then, use git checkout <commit_hash> or your Git client to step through the history and learn.

Contributing 🀝

Contributions are welcome! If you'd like to add a new topic or improve an existing one:

  1. Fork the repository.
  2. Create a new branch for your feature following the naming convention: project/your-claude-code-feature-name.
  3. Make your changes, ensuring each commit represents a logical step in the learning process.
  4. Open a Pull Request against the main branch.

License πŸ“„

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Happy learning! πŸŽ‰

Files in the repo

Repository payloadβ€’2 top-level entries
  • static
  • README.md

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
datawhalechina/easy-vibeTutorials & Guides

πŸ’» vibe coding 101|The first course for AI-native product builders.

19k