Claude Code hook

Claude Code Crash Course

Hands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation.

191 stars 162 forksHooks Source

Install

From source
git clone https://github.com/emarco177/claude-code-crash-course.git

From the README

Claude Code Crash 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:

*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:

2.  Choose a topic and check out the branch:

3.  Follow the commits: Use git log --oneline --reverse to see the chronological list of commits for the branch. Then, use git checkout  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…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Last updated
31 October 2026
Topics
agentic-aiagentic-codingclaude-codecontext-engineeringdeep-agentssubagents

FAQ

What is Claude Code Crash Course?

Hands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation. It is a hook for Claude Code, from emarco177/claude-code-crash-course on GitHub.

How do I install Claude Code Crash Course?

Clone emarco177/claude-code-crash-course from GitHub and follow the setup steps in its README.

Is Claude Code Crash Course popular?

emarco177/claude-code-crash-course has 191 GitHub stars and 162 forks. It was last updated on 31 October 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.