<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Claude Code - Tag - Daily Deep Think</title>
        <link>https://blog.baifan.site/en/tags/claude-code/</link>
        <description>Claude Code - Tag - Daily Deep Think</description>
        <generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>blog@baifan.site (ByF)</managingEditor>
            <webMaster>blog@baifan.site (ByF)</webMaster><lastBuildDate>Mon, 06 Jul 2026 09:00:00 &#43;0800</lastBuildDate><atom:link href="https://blog.baifan.site/en/tags/claude-code/" rel="self" type="application/rss+xml" /><item>
    <title>The Future of AI Coding Tools: From Copilot to Autonomous Agent</title>
    <link>https://blog.baifan.site/en/ai-coding-tools-future-copilot-to-autonomous-agent/</link>
    <pubDate>Mon, 06 Jul 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/ai-coding-tools-future-copilot-to-autonomous-agent/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>Twelve articles, from the Think-Act-Observe loop all the way down into the 500,000-line engineering abyss. Now, standing at the end of the series and looking back over the whole evolutionary path, a bigger question surfaces:</p>
<p><strong>What will AI coding tools ultimately evolve into?</strong></p>
<p>A better Copilot? A more powerful IDE plugin? Or something new that we haven&rsquo;t named yet?</p>
<h2 id="three-evolutionary-paths" class="headerLink">
    <a href="#three-evolutionary-paths" class="header-mark"></a>Three Evolutionary Paths</h2><p>Looking back at the development of AI coding tools, you can see three clear stages of evolution:</p>]]></description>
</item>
<item>
    <title>3,000 vs 500K Lines: The Architectural Abyss From Toy to Product</title>
    <link>https://blog.baifan.site/en/claude-code-3000-vs-500k-lines/</link>
    <pubDate>Thu, 02 Jul 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-3000-vs-500k-lines/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>The <a href="https://github.com/saoudrizwan/claude-code-from-scratch" target="_blank" rel="noopener noreferrer">claude-code-from-scratch</a> project implements a &ldquo;mini Claude Code&rdquo; in roughly 3,000 lines of TypeScript. It has the Think-Act-Observe loop, a tool system, a system prompt, permission control, memory, Skills, multi-agent, MCP — every core concept we tore down over the previous ten posts.</p>
<p>And the official Claude Code source? Roughly 500K lines of TypeScript/TSX.</p>
<p><strong>That&rsquo;s a 100x+ gap between 3,000 lines and 500K.</strong> What&rsquo;s in it?</p>
<p>The gap isn&rsquo;t &ldquo;number of features&rdquo;. from-scratch already covers every core concept. The gap is <strong>the road each concept travels from &ldquo;it runs&rdquo; to &ldquo;it&rsquo;s usable&rdquo;</strong> — that road is called productionization.</p>]]></description>
</item>
<item>
    <title>Plan Mode and Design-First: Making AI Think Before It Acts</title>
    <link>https://blog.baifan.site/en/claude-code-plan-mode/</link>
    <pubDate>Tue, 16 Jun 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-plan-mode/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>Hand an architect a plot of land and he won&rsquo;t start laying bricks immediately. He draws first, calculates load, considers daylight, plans the plumbing. Only when the blueprints are confirmed does the construction crew move in.</p>
<p>Hand an AI coding assistant a requirement and by default it starts editing code immediately. Not because it doesn&rsquo;t understand &ldquo;design first&rdquo;, but because <strong>its loop mechanism rewards action</strong> — in the Think-Act-Observe loop, &ldquo;Act&rdquo; is the core capability. The model is trained to be &ldquo;helpful&rdquo;, and &ldquo;helpful&rdquo; in a coding context usually means &ldquo;start changing things&rdquo;.</p>]]></description>
</item>
<item>
    <title>The MCP Protocol: USB-C for AI Tool Interconnection</title>
    <link>https://blog.baifan.site/en/claude-code-mcp-protocol/</link>
    <pubDate>Fri, 12 Jun 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-mcp-protocol/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>Before MCP, every AI tool integration was a <strong>custom build</strong>. Want ChatGPT to reach a database? Write a plugin. Want Claude to call the GitHub API? Write a Function Calling definition. Want Copilot to access your internal systems? Write a Custom Tool.</p>
<p>Every time, the same thing: define an interface, write adapter code, handle auth, manage errors. The wheel, reinvented countless times.</p>
<p>The problem MCP (Model Context Protocol) solves is simple: <strong>give AI agents a standard protocol for connecting tools.</strong> Just as USB-C gave electronic devices a universal connector, MCP gives AI agents a universal tool interface.</p>]]></description>
</item>
<item>
    <title>Multi-Agent Architecture: The Art of Fork-Join Collaboration</title>
    <link>https://blog.baifan.site/en/claude-code-multi-agent-architecture/</link>
    <pubDate>Tue, 09 Jun 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-multi-agent-architecture/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>There&rsquo;s a counterintuitive phenomenon: take the same model, split it into multiple independent instances, and have them collaborate — the result is often better than a single instance.</p>
<p>Not more compute (three instances burn more total tokens than one), not more capability (every instance is the same model). The gain comes from <strong>role separation</strong> — when each agent attends to only one facet of the problem, it works with more focus and more depth than a &ldquo;do-everything agent&rdquo;.</p>]]></description>
</item>
<item>
    <title>The Nature of Skills: Reusable Encapsulated Expertise</title>
    <link>https://blog.baifan.site/en/claude-code-skills-system/</link>
    <pubDate>Fri, 05 Jun 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-skills-system/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>If you&rsquo;ve used Claude Code, you may have noticed the <code>/skills</code> command listing installed &ldquo;skills&rdquo;. Writing standards, architecture design methods, TDD workflows, code review strategies — it sounds like a plugin marketplace.</p>
<p><strong>Skills are not plugins.</strong></p>
<p>That&rsquo;s the first and most important thing to understand about the Skill system. A plugin is code — it extends what the program can do. A Skill is a prompt — it extends what the model knows.</p>]]></description>
</item>
<item>
    <title>AI Memory Systems: Four Memory Types and Semantic Recall</title>
    <link>https://blog.baifan.site/en/claude-code-memory-system/</link>
    <pubDate>Tue, 02 Jun 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-memory-system/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>Last time we covered context compaction — solving &ldquo;how much the current session can remember&rdquo;. But a coding assistant needs another kind of memory: <strong>long-term memory across sessions.</strong></p>
<p>You close Claude Code and reopen it tomorrow. What should it know?</p>
<ul>
<li>You prefer TypeScript over JavaScript</li>
<li>You said last time &ldquo;don&rsquo;t use the underscore library&rdquo;</li>
<li>This project uses Vitest, not Jest</li>
<li>You once corrected one of its misunderstandings</li>
</ul>
<p>Context compaction can&rsquo;t handle these. The session ends, the history clears, tomorrow is a fresh window. If the AI needs you to re-explain everything each time, it isn&rsquo;t an assistant — it&rsquo;s a burden.</p>]]></description>
</item>
<item>
    <title>Context Compaction: Four Ways to Give AI &#39;Infinite Memory&#39;</title>
    <link>https://blog.baifan.site/en/claude-code-context-compression/</link>
    <pubDate>Sat, 23 May 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-context-compression/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>The Think-Act-Observe loop has a natural enemy: <strong>the context window is finite.</strong></p>
<p>Every loop iteration burns tokens — the model&rsquo;s thinking, the tool-call requests, the tool results. Reading one large file can cost thousands of tokens; a single test run&rsquo;s output can cost tens of thousands. A dozen rounds in, the context window is stuffed full.</p>
<p>What happens when the window fills? The model says &ldquo;sorry, this conversation exceeds my context limit&rdquo;. For casual chat, who cares — open a new window. For a coding assistant, it means <strong>amnesia</strong> — it forgets the project structure, the changes already made, the user&rsquo;s preferences.</p>]]></description>
</item>
<item>
    <title>Permissions and Security: Destructive Power, Under Control</title>
    <link>https://blog.baifan.site/en/claude-code-permissions-security/</link>
    <pubDate>Wed, 20 May 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-permissions-security/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>Giving an AI coding assistant file-write permission is like handing scissors to someone extremely smart who occasionally hallucinates.</p>
<p>Most of the time it knows what it&rsquo;s doing, but every so often it will confidently delete a file it shouldn&rsquo;t, or set a critical config to a value that looks plausible and is actually wrong. The model isn&rsquo;t malicious; it just <strong>makes mistakes</strong> — usually with great confidence.</p>]]></description>
</item>
<item>
    <title>System Prompt Engineering: Decisions Behind 800 Lines</title>
    <link>https://blog.baifan.site/en/claude-code-system-prompt-engineering/</link>
    <pubDate>Sat, 16 May 2026 09:00:00 &#43;0800</pubDate><author>
                    <name>ByF</name>
                </author><guid>https://blog.baifan.site/en/claude-code-system-prompt-engineering/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/pictures/note/claude-code-deconstruction-series.svg" referrerpolicy="no-referrer">
            </div><!-- more -->
<p>If you think a system prompt is just &ldquo;giving the AI a persona&rdquo;, Claude Code&rsquo;s system prompt will upend that notion.</p>
<p>It isn&rsquo;t a few sentences. It&rsquo;s a <strong>thousand-line template engine</strong> made of multiple layers, each responsible for something different: identity definition, behavioral constraints, tool documentation, project context, memory injection, skill loading. Some layers are static (identical every time); others are dynamic (injected in real time based on the project, the session, user preferences).</p>]]></description>
</item>
</channel>
</rss>
