Claude Code

Master Claude Code
from first principles

A one-stop study resource for mastering Claude Code. Every concept has a guide, a working skill, a cheatsheet, and a self-test quiz.

10 Concept Guides 6 Ready-to-use Skills 10 Module Quizzes 5 Cheatsheets

Built for every developer

No prior Claude knowledge required. Start wherever you are.

🌱 Complete beginners

Clear explanations from zero. Every term is defined. No assumed knowledge.

⚙️ Data engineers / analysts

Real-world skills for Airflow, PySpark, HTTPX APIs, and ETL pipelines.

🔧 General developers

Generic versions of every example that work in any stack or language.

Up and running in minutes

Prerequisites: basic Python knowledge. That's it.

macOS / Linux
# 1. Clone the repo
git clone https://github.com/sreedhargs89/claude-code-guide.git
cd claude-code-guide

# 2. Set up Python environment
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

# 3. Install Claude Code
npm install -g @anthropic-ai/claude-code
# — or via Homebrew —
brew install anthropic/tap/claude

# 4. Verify
claude --version
Windows (PowerShell)
# 1. Clone the repo
git clone https://github.com/sreedhargs89/claude-code-guide.git
cd claude-code-guide

# 2. Set up Python environment
python -m venv .venv; .venv\Scripts\activate
pip install -r requirements.txt

# 3. Install Claude Code
iwr https://claude.ai/install | iex

# If 'claude' not found, add install
# directory to PATH (see Module 03)

# 4. Verify
claude --version

10 Concept Modules

Follow in order or jump to what you need. Each module links to its guide, skills, quiz, and cheatsheet.

# Module Guide Skills Quiz Cheatsheet
01 Claude models & ecosystem 📖 Guide 📝 Quiz
02 Claude Code architecture 📖 Guide 📝 Quiz
03 Installation & setup 📖 Guide 📝 Quiz ⚡ Commands
04 CLAUDE.md 📖 Guide 📝 Quiz ⚡ Template
05 Skills 📖 Guide 📝 Quiz ⚡ Template
06 Sub-agents & memory 📖 Guide /readme-gen 📝 Quiz
07 Hooks 📖 Guide /code-review 📝 Quiz
08 Scheduling 📖 Guide /schedule-task 📝 Quiz ⚡ Cron syntax
09 MCP servers 📖 Guide 📝 Quiz ⚡ MCP config
10 Plugins & marketplace 📖 Guide 📝 Quiz
📚 All modules quiz   ✅ Answer key

Drop-in skill.md templates

Copy any skill into your project's .claude/skills/ folder and trigger it with a slash command.

🌐
Fetch API
/fetch-api

Fetch data from REST endpoints asynchronously. Saves responses to timestamped directories, handles retries, and logs all HTTP activity.

🔄
Migrate Data
/migrate-data

Convert data files between CSV, Parquet, and JSON. Works on single files or entire directories. Preserves schema and handles encoding edge cases.

📊
Visualize
/visualize

Generate charts from data files using matplotlib and seaborn. Auto-detects data shape and picks appropriate chart types.

📝
README Gen
/readme-gen

Auto-generate a README for any project. Scans the codebase structure, infers purpose, and writes a complete markdown README.

🔍
Code Review
/code-review

Review recent code changes for bugs, style violations, and security issues. Triggered by hooks on file save or manually on demand.

🗓️
Schedule Task
/schedule-task

Set up a recurring /loop scheduled job. Configure cron expressions, manage job IDs, and cancel tasks.

Working code — two variants

Every example ships as a generic version (any stack) and a data-engineering version (Airflow/PySpark flavour).

🌐
Fetch API

Async HTTP fetch with httpx. Saves results to timestamped output dirs. Demonstrates error handling and retry logic.

🔄
Data Migration

CSV ↔ Parquet ↔ JSON conversion with pandas and pyarrow. Handles large files, custom delimiters, and schema validation.

📊
Visualize

Auto-generate charts from data files. Bar, line, scatter, and heatmap. Saves PNGs to reports/ directory.

🪝
Hooks

Example hook configurations — PostEdit lint triggers, PreTool guards, and SessionStart injections.

🤖
Sub-agents

Demonstrates spawning parallel sub-agents for independent tasks and collecting their results.

🔌
MCP Servers

Local and hosted MCP server configurations. Connect Claude Code to external tools via the Model Context Protocol.

Quick-reference cards

Dense, not verbose. Keep these open while you work.

From zero to confident in ~13 hours

Three phases. Follow them in order or use as a checklist.

Phase 1 · Days 1–3

Foundation

Understand what Claude Code is, get it installed, and write your first CLAUDE.md.

~3 hours · Modules 01–04
Phase 2 · Days 4–7

Core Tools

Build real skills, delegate to sub-agents, and configure hooks that fire automatically.

~6 hours · Modules 05–07
Phase 3 · Days 8–10

Automation

Schedule work with cron, connect external tools via MCP, and explore the plugin marketplace.

~4 hours · Modules 08–10
View full learning path →

PRs welcome

Especially new skill templates, additional examples, and corrections — Claude Code evolves fast.

🎯
New skills

Add a folder to skills/ following the skill template.

🔧
New examples

Add to examples/ — include both generic/ and data-engineering/ variants.

📝
Corrections

Fix anything stale in the docs. Open a GitHub issue with what's wrong and what's correct.

Read CONTRIBUTING.md →