{"id":48404224,"url":"https://github.com/wzf1997/claude-code-guide","last_synced_at":"2026-04-08T04:00:34.295Z","repository":{"id":348478732,"uuid":"1198273260","full_name":"wzf1997/claude-code-guide","owner":"wzf1997","description":"《Claude Code 源码精读》—— 14章84篇深度解析 Claude Code AI Agent 内部工程实现","archived":false,"fork":false,"pushed_at":"2026-04-01T10:35:12.000Z","size":6325,"stargazers_count":29,"open_issues_count":0,"forks_count":16,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-06T02:39:31.284Z","etag":null,"topics":["claude-code","claude-code-guide","claude-code-plugin"],"latest_commit_sha":null,"homepage":"https://wzf1997.github.io/claude-code-guide/chapter-01-intro/what-is-claude-code","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wzf1997.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-01T09:14:14.000Z","updated_at":"2026-04-04T14:24:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wzf1997/claude-code-guide","commit_stats":null,"previous_names":["wzf1997/claude-code-guide"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wzf1997/claude-code-guide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzf1997%2Fclaude-code-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzf1997%2Fclaude-code-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzf1997%2Fclaude-code-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzf1997%2Fclaude-code-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wzf1997","download_url":"https://codeload.github.com/wzf1997/claude-code-guide/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzf1997%2Fclaude-code-guide/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31498070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"online","status_checked_at":"2026-04-07T02:00:07.164Z","response_time":105,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","claude-code-guide","claude-code-plugin"],"created_at":"2026-04-06T02:35:33.336Z","updated_at":"2026-04-07T03:00:45.967Z","avatar_url":"https://github.com/wzf1997.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Code 源码精读\n\n一本深度解析 Claude Code AI Agent 内部工程实现的中文技术文档，共 **14 章 84 篇**，基于 Docusaurus 3 构建。\n\n[![Deploy to GitHub Pages](https://github.com/wzf1997/claude-code-guide/actions/workflows/deploy-gh-pages.yml/badge.svg)](https://github.com/wzf1997/claude-code-guide/actions/workflows/deploy-gh-pages.yml)\n\n## 内容目录\n\n| 章节 | 主题 | 篇数 |\n|------|------|------|\n| 第一章 | 认识 Claude Code | 4 |\n| 第二章 | 项目全貌（导览） | 4 |\n| 第三章 | 启动流程 | 4 |\n| 第四章 | 查询循环（核心） | 6 |\n| 第五章 | 工具系统 | 7 |\n| 第六章 | 权限系统 | 5 |\n| 第七章 | 状态管理与 UI | 5 |\n| 第八章 | Skills 技能系统 | 5 |\n| 第九章 | Memory 记忆系统 | 6 |\n| 第十章 | 上下文管理与压缩 | 7 |\n| 第十一章 | Subagent 与多任务系统 | 7 |\n| 第十二章 | Hooks 机制深度解析 | 10 |\n| 第十三章 | Agent Teams / Swarm 协作 | 11 |\n| 第十四章 | 二次开发与生态 | 3 |\n\n## 技术栈\n\n- **Docusaurus 3.9.2** + React 19 + TypeScript 5.6\n- **MDX 3**：文档中可嵌入 React 组件\n- **pnpm** 包管理\n- i18n 中文简体（zh-Hans）\n- Giscus 评论系统\n- 自定义颜色主题（Default / Ink / Paper）\n\n## 本地开发\n\n```bash\n# 安装依赖\npnpm install\n\n# 启动开发服务器（热重载）\npnpm start\n\n# 构建静态网站\npnpm build\n\n# 预览构建产物\npnpm serve\n\n# TypeScript 类型检查\npnpm typecheck\n\n# 清除 Docusaurus 缓存\npnpm clear\n```\n\n## 项目结构\n\n```\nclaude-code-guide/\n├── docs/                    # 文档内容（14 章）\n│   ├── chapter-01-intro/\n│   ├── chapter-02-overview/\n│   └── ...\n├── src/\n│   ├── components/          # 自定义 React 组件\n│   │   ├── ArticleComplete/ # 文章完成标记\n│   │   ├── ChapterProgress/ # 章节进度徽章\n│   │   ├── DifficultyBadge/ # 难度标签\n│   │   ├── ProgressBar/     # 全局进度条\n│   │   ├── SourceRef/       # 源码引用链接\n│   │   └── ThemeSwitcher/   # 主题切换\n│   ├── css/                 # 全局样式与主题配色\n│   ├── hooks/               # useProgress 学习进度 Hook\n│   ├── pages/               # 自定义首页\n│   └── theme/               # Docusaurus 主题定制\n├── docusaurus.config.ts     # 网站核心配置\n└── sidebars.ts              # 侧边栏配置\n```\n\n## 部署\n\n项目通过 GitHub Actions 自动部署至 GitHub Pages，`main` 分支推送后自动触发。同时支持 Vercel 自动部署。\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzf1997%2Fclaude-code-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwzf1997%2Fclaude-code-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzf1997%2Fclaude-code-guide/lists"}