Share E-Book

Claude Code橙皮书从入门到精通(微信读书特别版) (花叔)(Z-Library)

Author 花叔

Other
Language English

2026年,AI编程从「代码补全」进化到了「对话式开发」。你描述需求,AI规划方案、写代码、跑测试、提交Git,你只需要验收结果。这不是愿景,这是Claude Code正在做的事。 Claude Code是Anthropic推出的终端AI编程工具。和Copilot这类IDE插件不同,它是一个完整的Agent——能理解整个项目、自主执行多步任务、直接操作文件系统和命令行。你是产品经理,它是工程团队。 这本橙皮书为从未用过AI编程的工程师和产品经理编写,目标是一周内从零到独立构建产品。 10个章节循序渐进:前三章完成安装和第一个项目(Day 1),中间三章掌握核心工作流、CLAUDE.md记忆系统和进阶对话技巧(Day 2-3),后四章解锁Skills扩展、多Agent协作,并完成一个从需求到上线的完整产品(Day 4-7)。 内容基于Anthropic官方文档、Claude Code创建者Boris Cherny的公开分享,以及DeepLearning.AI官方课程。所有操作细节以2026年2-3月最新资料为准。

Format EPUB
Size 347.4 KB
169
Views
1
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
【One-Line Pitch】 A hands-on, seven-day field manual for turning Claude Code from a terminal tool into your personal engineering team—written for both experienced engineers and total non-coders who want to ship real products by describing what they want, not writing code. 【Book Arc】 - **Opening (~0%–13%)**: Why Claude Code differs from Copilot and Cursor—it's not an autocomplete or IDE extension but a full agent that plans, codes, tests, and commits. Covers installation, account setup, proxy troubleshooting for restricted networks, and the first "Hello, Claude Code!" page. - **Early (~13%–23%)**: The five-step dialogue-driven workflow—describe, review the plan, watch it work, verify output, iterate. Built around a complete CLI project (an AI news aggregator) that exercises network requests, data processing, AI calls, and file output. - **Early (~23%–29%)**: Permission and safety systems: Plan mode for complex tasks, Auto mode with its two-layer AI classifier, `/permissions` whitelists, and Git worktrees for parallel work. Introduces Computer Use (GUI control) and Voice Mode. - **Middle (~29%–42%)**: The CLAUDE.md memory system—the "constitution" for your AI. Covers the guardrails-not-manuals philosophy, the three-level hierarchy (global, project, subdirectory), and Auto Memory that learns from your corrections. - **Late (~42%–100%)**: Advanced topics per the book's structure: Skills extensions, MCP (Model Context Protocol) integration, multi-agent collaboration, and a complete from-requirements-to-launch product case study. *(Excerpts thin out here; details below.)* 【Key Takeaways】 - **The relationship shift matters more than the tech** (Early): Copilot is your input method, Cursor is your pair programmer, but Claude Code is an independent engineer—you become the product manager who says what, not the coder who writes how. This reframing is the book's core thesis. - **Describe outcomes, not code** (Early): The quality of your prompt determines the quality of the output. Give concrete data source URLs, specify the tech stack (TypeScript + tsx), and describe the final artifact (a Markdown report)—then let Claude propose a plan before writing anything. - **The five-step loop is the universal pattern** (Early): Describe → Review plan → Watch execution → Verify output → Iterate. Whether it's a tiny tool or a full product, this cycle repeats. The author's key trick: "Don't write code yet, give me a plan first." - **Permission fatigue is a real security hole** (Early): 93% of permission requests get blindly approved. Auto mode's two-layer classifier (fast pass with 8.5% false positives, deep reasoning bringing it to 0.4%) is the balanced answer—but for production databases or cloud infrastructure, manual confirmation is still wiser. - **CLAUDE.md is a constitution, not a manual** (Middle): Keep it short (~100 lines, ~2500 tokens). Start empty and add one rule each time Claude makes a mistake—this keeps it precise and lean. Rule of thumb: don't write what Claude can read from code; write what it can't guess. - **Avoid the anti-patterns in memory files** (Middle): Don't `@`-reference long documents (they eat context every session); don't write bare "never do X" without offering alternatives; if a command needs paragraphs of explanation, simplify the command itself with a wrapper. - **Voice + Computer Use = keyboard-free building** (Early): Voice Mode for quick task launches and brainstorming, Computer Use for GUI operations like testing a web app or adjusting settings. The combination points toward a future where you describe a product aloud and Claude builds it on screen. - **Parallel work is the agentic superpower** (Early): Boris runs 5 Claude Code instances in separate Git worktrees plus 5–10 web sessions—managing a team of agents rather than doing tasks yourself. This is the workflow shift the book wants you to internalize. 【Reading Tips】 - **Skim the first two chapters** if you're already comfortable with terminals and AI tools—the installation and first-project sections are straightforward. But don't skip the "why" framing in §01; it sets up the mental model for everything after. - **Deep-read the CLAUDE.md chapter** (around 40%): this is where the book earns its keep. The example file and the "guardrails, not manuals" philosophy will save you thousands of tokens and endless frustration. - **Do the news aggregator project, not just read it**: the book is explicitly "open your terminal and follow along." The five-step loop only sticks if you've watched Claude plan, execute, and self-correct at least once. - **Pay attention to the permission section before you get annoyed**: the author predicts you'll hit "approval fatigue" around the 50th `y` press. Knowing Auto mode and `/permissions` exist beforehand will save you from developing bad habits. - **Treat the later chapters as reference, not narrative**: the excerpts suggest the book's final sections (Skills, MCP, multi-agent, full product launch) are practical recipes. Skim them when you need a specific capability rather than reading linearly. 【Coverage Limits】 This guide is based on excerpts covering roughly the first 42% of the book (installation through CLAUDE.md and Auto Memory). The later chapters on Skills extensions, MCP integration, multi-agent collaboration, and the complete product case study are mentioned in the book's structure but not detailed in the available material.

Passage locations

Excerpt 1
号。首次启动时会自动弹浏览器让你登录或注册。 付费三档: 怎么选?一个简单标准:每天用超过2小时,Pro大概率会撞限额。这时候升Max 5x是值得的。$100/月听起来不少,但跟它省下来的时间比,挺划算。 先从Pro开始就好。用几天你自然知道够不够。很多人的路径是:第一周觉得Pro够了,第二周开始上瘾然后升Max...
View in text
Excerpt 2
,把讨论中确认的方案细节、约束条件都写进去,保存后内容回到Claude Code的输入框,作为下一步的prompt发出。 3 切换到执行模式,开启Auto-accept 计划确认后,按 Shift+Tab 切回正常模式。因为计划已经讨论充分,你可以放心地让Claude一次性执行完成,不需要逐步确认。 这个流程的精...
View in text
Excerpt 3
脱离键盘和代码,纯靠说话让AI帮你构建东西。 我们离「对着电脑说话就能做出一个产品」这件事,已经比大多数人想象的更近了。 当前的限制 语音模式目前还有几个不够顺滑的地方: 需要相对安静的环境,嘈杂背景下识别率会下降 长指令还是打字更精确。你说一段200字的详细技术需求,中间可能出现误识别,还不如打字靠谱 目前最适...
View in text
Excerpt 4
Code对话的核心其实就三个字。 具体。 文件名、行号、函数名、期望行为,能给就给。越具体的指令,越精确的输出。 指向。 你代码库里一定有写得好的部分。把它们当参考范本指给Claude看。「像那个一样做」比「做一个漂亮的」有效100倍。 克制。 一次只做一件事。任务大就分步来,每步确认结果后再下一步。一条消息里塞...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List