A comprehensive collection of guides and references for mastering Claude Code - Anthropic's official CLI tool for AI-assisted software engineering.
This repository contains in-depth documentation covering Claude Code's architecture, features, and best practices:
-
Mastery Guide - Deep dive into architecture, internals, and the agentic loop. Perfect for understanding how Claude Code works under the hood.
-
Summary with Diagrams - Visual overview using Mermaid diagrams. Great starting point for visual learners covering all core concepts.
-
Hooks Guide - Complete reference for the hooks system (PreToolUse, PostToolUse, UserPromptSubmit, SessionStart) for deterministic automation.
-
Skills Guide - Creating and using skills for auto-applied domain expertise and coding standards.
-
Plugins Guide - Plugin system for packaging and distributing Claude Code extensions.
- Three-layer architecture (Core, Delegation, Extension)
- Model selection strategies (Haiku, Sonnet, Opus, Opusplan)
- Configuration hierarchy and settings management
- Permission system with allow/deny rules
- MCP (Model Context Protocol) for 300+ integrations
- Context management and cost optimization
- Subagents for parallel execution
- Enterprise deployment patterns
- Start with the Summary with Diagrams for a visual overview
- Read the Mastery Guide for technical depth
- Explore specific topics (Hooks, Skills, Plugins) as needed
This knowledge base was created to document best practices and deep insights gained from extensive use of Claude Code in real-world software engineering workflows.