Cc Src Learning banner
mylxsw mylxsw

Cc Src Learning

Development community

Description

透过 Claude Code 的源码,我们学到了什么?

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

透过 Claude Code 的源码,我们学到了什么?

基于 Cloud Code 泄露源码,深入解析 AI 开发工具的设计哲学与工程实践。你可以在 [这里](https://github.com/mylxsw/claude-code) 找到完整的代码:[mylxsw/claude-code](https://github.com/mylxsw/claude-code) 。

Claude Code 是 Anthropic 官方推出的命令行工具,旨在帮助开发者利用 Claude 完成软件工程任务。近期,其源码意外泄露,为我们提供了一个难得的机会——从内部视角深入了解一个顶级 AI 应用是如何构建的。

本项目源于一篇系统性研究文章,我们将从**代码库结构**、**设计理念**、**架构实现**、**提示词工程**四个维度,全方位解析 Claude Code 的设计哲学与工程实践。无论你是想了解如何构建 AI 应用,还是想学习优秀的工程实践经验,都能从中获得启发。


文章大纲

[第一章:宏观视角——代码库结构与核心模块](./01-宏观视角:代码库结构与核心模块.md)

[第二章:设计理念——它是如何"思考"的?](./02-设计理念:它是如何思考的.md)

[第三章:架构与实现——它是怎么"干活"的?](./03-架构与实现:它是怎么干活的.md)

[第四章:Prompt 的艺术——如何让 AI 正确做事?](./04-Prompt的艺术:如何让AI正确做事.md)