Claude Code Mastery
Master Claude Code from setup through advanced usage. Learn the configuration system, memory, hooks, MCP integration, and how to use it effectively for complex software engineering tasks.
Steps
- Claude Code overview
claude-code
beginner
Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser.
Start here to understand what Claude Code actually is — an agentic coding assistant that runs in your terminal. Knowing the boundaries of what it can and cannot do will save you time when deciding how to use it.
- Quickstart
claude-code
beginner
Welcome to Claude Code!
Get up and running in under 5 minutes. Pay attention to the initial authentication flow and how Claude Code detects your project context — this sets the foundation for everything that follows.
- How Claude Code works
claude-code
intermediate
Understand the agentic loop, built-in tools, and how Claude Code interacts with your project.
Understanding the agentic loop is critical for effective usage. Claude Code reads files, proposes edits, and runs commands in a loop — knowing this cycle helps you give better prompts and anticipate its behavior.
- Best Practices for Claude Code
claude-code
intermediate
Tips and patterns for getting the most out of Claude Code, from configuring your environment to scaling across parallel sessions.
These patterns come from real-world usage and will dramatically improve your results. Focus on providing context upfront via CLAUDE.md and breaking complex tasks into smaller, verifiable steps.
- Common workflows
claude-code
intermediate
Step-by-step guides for exploring codebases, fixing bugs, refactoring, testing, and other everyday tasks with Claude Code.
Practical examples of debugging, refactoring, and codebase exploration. Study the workflow patterns here — they are more effective than ad-hoc prompting because they leverage Claude Code's ability to iterate on results.
- Claude Code settings
claude-code
intermediate
Configure Claude Code with global and project-level settings, and environment variables.
Settings control model selection, permission defaults, and behavior customization. The most impactful settings are permission mode and the allowlist — configure these first to match your security comfort level.
- Manage Claude's memory
claude-code
intermediate
Learn how to manage Claude Code's memory across sessions with different memory locations and best practices.
CLAUDE.md is the single most powerful feature for getting consistent results. It persists context across sessions, so invest time in writing good project instructions — this pays dividends on every future interaction.
- Configure permissions
claude-code
intermediate
Control what Claude Code can access and do with fine-grained permission rules, modes, and managed policies.
The permission system controls what Claude Code can do without asking. Understanding the three modes (ask, auto-edit, full-auto) and how to configure allowlists is essential before using Claude Code on production codebases.
- Hooks reference
claude-code
intermediate
Reference for Claude Code hook events, configuration schema, JSON input/output formats, exit codes, async hooks, prompt hooks, and MCP tool hooks.
Hooks let you run custom scripts before or after Claude Code actions like file edits or command execution. They are the extensibility mechanism for enforcing project-specific rules like linting or test requirements.
- Connect Claude Code to tools via MCP
claude-code
intermediate
Learn how to connect Claude Code to your tools with the Model Context Protocol.
MCP integration lets you connect external tool servers to Claude Code, expanding its capabilities beyond built-in tools. This is how you add database access, API integration, or custom tooling without modifying Claude Code itself.
- Create custom subagents
claude-code
intermediate
Create and use specialized AI subagents in Claude Code for task-specific workflows and improved context management.
Sub-agents let Claude Code delegate research and exploration to parallel workers, keeping the main context window focused. This is particularly useful for large codebases where a single agent would exhaust its context.
- Run Claude Code programmatically
claude-code
intermediate
Use the Agent SDK to run Claude Code programmatically from the CLI, Python, or TypeScript.
Headless mode unlocks Claude Code for CI pipelines, batch processing, and automation scripts. Focus on the JSON output format and how to pass prompts non-interactively — this is how you integrate Claude Code into existing workflows.