Claude Code Complete Guide V2 — Development skill for Claude Code
全网最详细的 Claude Code 源码解读 V2 20篇200+节 51万行TypeScript源码深度解析 图文并茂 零基础友好 VitePress构建 支持在线/PDF/HTML阅读.
How to install Claude Code Complete Guide V2
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bcefghj/claude-code-complete-guide_v2 and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Complete Guide V2 does
全网最详细的 Claude Code 源码解读 V2 20篇200+节 51万行TypeScript源码深度解析 图文并茂 零基础友好 VitePress构建 支持在线/PDF/HTML阅读.
Alternatives in Development
- Book To Skill — Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work 25.9k ★
- Octo Docs — Document delivery with export to PPTX, DOCX, PDF formats 2.8k ★
- Translate Book — Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents 542 ★
README
Claude Code 完全指南 V2
全网最详细的 Claude Code 51 万行 TypeScript 源码解读
20 篇 · 187 节 · 100+ 架构图 · 60+ 表格 · 8 个实战 Lab · 50 题自测
在线阅读
**[点击这里在线阅读](https://bcefghj.github.io/claude-code-complete-guide_v2)**
下载 PDF
**[前往 Release 页面下载 PDF(带书签,~28MB)](https://github.com/bcefghj/claude-code-complete-guide_v2/releases/tag/v2.0.0)**
PDF 版本包含全部 20 篇 187 节内容,带有完整书签目录导航、页眉页脚页码、精美封面。
也可以本地生成:
npm install puppeteer-core
npm run docs:pdf
项目简介
2026年3月31日,Claude Code v2.1.88 的 **51.2 万行 TypeScript 源码** 意外泄露。本书基于这份完整源码和全网优质解读,打造一本**零基础也能看懂**的全面学习指南。
Claude Code 不是一个简单的 CLI 工具 —— 它是一个以 LLM 为内核的操作系统。本书带你从底层理解这个系统的每一个模块。
V2 vs V1
| 对比项 | V1 | V2 |
|---|---|---|
| 篇章 | 12 篇 114 节 | 20 篇 187 节 |
| 文档框架 | Docsify | VitePress(暗色模式、全文搜索、移动适配) |
| 新增内容 | — | 提示词工程、记忆系统、隐藏功能、Hooks 生态、Token 经济学、8 个实战 Lab |
| 图表 | ~30 个 | 100+ Mermaid 图 + 60+ 数据表格 |
| 输出格式 | 网页 | 网页 + PDF + HTML 离线包 |
| 自测 | 无 | 50 题三级自测 |
内容架构
前言 — 导读、路线图、术语表、环境搭建
第1篇 — 背景故事:泄露事件始末、源码规模、社区重建
第2篇 — 小白快速上手:安装、首次对话、命令速查、省钱技巧
第3篇 — 架构全景:LLM 内核操作系统、四入口、目录结构
第4篇 — 核心循环:QueryEngine 8 步引擎(全书最重要)
第5篇 — 提示词工程:动态拼装、缓存经济学、铁血约束
第6篇 — 工具系统:42 个工具、14 步治理流水线
第7篇 — 权限与安全:六种模式、七步评估管道、沙箱
第8篇 — 上下文管理:三层压缩、永不超限
第9篇 — 记忆系统:CLAUDE.md、KAIROS 做梦机制
第10篇 — 多 Agent 系统:蜂群、Verification Agent
第11篇 — 终端 UI:自研 React/Ink 渲染器
第12篇 — Bridge 桥接:CLI 与 IDE 双向通信
第13篇 — 状态管理:createStore、持久化
第14篇 — 服务与集成:MCP、LSP、OAuth
第15篇 — 隐藏功能:Undercover Mode、Buddy Pet
第16篇 — Hooks、Skills、Plugins 生态
第17篇 — 性能与成本:Token 经济学
第18篇 — 遥测与生命周期管理
第19篇 — 实战 Lab:从零构建简化版 Agent
第20篇 — 总结与展望:AI Agent 的壁垒
附录 — 源码索引、速查表、50 题自测、推荐阅读
学习路径
| 路径 | 适合人群 | 篇章 | 预计时长 |
|---|---|---|---|
| 小白入门 | 编程初学者 | 前言 + 第 1-5 篇 | 8-12 小时 |
| 开发者进阶 | 有编程经验 | 第 3-10 篇 + Lab | 15-20 小时 |
| 架构师深入 | 资深工程师 | 全部 20 篇 | 30-40 小时 |
本地运行
git clone https://github.com/bcefghj/claude-code-complete-guide_v2.git
cd claude-code-complete-guide_v2
npm install
npm run docs:dev
# 浏览器访问 http://localhost:5173
Related Skills
Claude Code Complete Guide
图解 Claude Code 完全指南 哆啦A梦风格漫画 + 详细源码解析 12篇120节课 零基础友好 支持网页/PDF阅读
Claude Office Skills
Office document creation and editing skills for Claude Code - PPTX, DOCX, XLSX, and PDF workflows with automat
Documents PDF
Document And PDF Skills
Pdf2image
Convert PDF pages to images using Python pdf2image library. Usage: say "pdf转图片" or "convert pdf to image" to c
Generate PDF
Generate PDF documents (resume, cover letter, or both) with automatic validation and theme selection argument-
Tailor Template Expert
Experimental Template development workspace for creating and modifying React-PDF templates
Related Agents
Patent Creator
Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces mark
Bibliography Auditor
Audits bibliography entries for completeness, consistency, and hygiene — checks .bib files, compiled PDF for u
Repurpose Social
Social media content specialist. Generates Twitter/X threads and tweets, LinkedIn posts and PDF carousel scrip