Father of Claude Code Reveals: How to Turn Claude into Your 'Virtual Development Team'?

marsbit發佈於 2026-01-05更新於 2026-01-05

文章摘要

Claude Code's creator, Boris Cherny, shares how to transform Claude from a simple tool into a fully integrated "virtual dev team." Key strategies include: using multiple Claude instances in parallel for different tasks; prioritizing the most capable model (Opus 4.5) for better reasoning; employing a "Plan Mode" to define implementation steps before coding; creating slash commands to automate repetitive workflows; and maintaining a shared team knowledge base to continuously improve Claude's output. He emphasizes setting up automatic verification mechanisms so Claude can self-validate its work, and integrating it with various tools (like MCP) to act as a central orchestrator in the development process. The goal is to make Claude a collaborative, learning partner that reduces errors and manual oversight.

Original Author: Boris Cherny, Claude Code Developer

Compiled & Edited: XiaoHu AI

You may have heard of Claude Code, or even used it to write some code or edit documents. But have you ever thought: if AI is not just a "temporary tool," but a formal member of your development process, or even an automated collaboration system—how would it change the way you work?

Boris Cherny, as the father of Claude Code, wrote a very detailed tweet sharing how he efficiently uses this tool, and how he and his team deeply integrate Claude into the entire engineering process in their actual work.

This article will systematically organize and provide a通俗的解读 (popular interpretation) of his experience.

How did Boris make AI an automated partner in his workflow?

Core Points:

He introduced his workflow, including:

How to use Claude:

Run many Claudes simultaneously: Open 5~10 sessions in the terminal and web to handle tasks in parallel, and also use the mobile Claude.

Don't blindly change default settings: Claude works well out of the box, no need for complex configuration.

Use the strongest model (Opus 4.5): Although a bit slower, it's smarter and easier to use.

Plan before writing code (Plan mode): Let Claude help you think clearly before writing, increasing the success rate.

Use tools to check formatting after generating code to avoid errors.

How to make Claude smarter with use:

The team maintains a "knowledge base": Whenever Claude writes something wrong, add the experience to it, so it won't make the same mistake next time.

Automatically train Claude when writing PRs: Let Claude review PRs to learn new usages or specifications.

Turn frequently used commands into slash commands, allowing Claude to call them automatically, saving repetitive work.

Use "sub-agents" to handle some fixed tasks, such as code simplification, feature verification, etc.

How to manage permissions:

Don't skip permissions arbitrarily; instead, set up safe instructions for automatic approval.

Synchronize Claude workflow across multiple devices (web, terminal, mobile).

The most important point:

Always provide Claude with a "verification mechanism" so it can confirm whether what it wrote is correct.

For example, Claude automatically runs tests, opens the browser to test web pages, checks if features work.

Claude Code is a "Partner," not a "Tool"

Boris first conveyed a core idea: Claude Code is not a static tool, but an intelligent partner that can cooperate with you, continuously learn, and grow together.

It doesn't need much complex configuration; it's very powerful out of the box. But if you are willing to invest time in building better ways to use it, the efficiency gains can be multiplied.

Model Selection: Choose the Smartest, Not the Fastest

Boris uses Claude's flagship model Opus 4.5 + thinking mode ("with thinking") for all development tasks.

Although this model is larger and slower than Sonnet:

  • It has stronger comprehension
  • Better ability to use tools
  • Requires less repeated guidance, fewer back-and-forth exchanges
  • Overall, it saves more time than using a faster model
  • Revelation: True productivity lies not in execution speed, but in "fewer errors, less rework, less repeated explanation."

1. Plan Mode: When Using AI to Write Code, Don't Rush to Let It "Write"

When we open Claude, many people intuitively type "help me write an interface," "refactor this code"... Claude will usually "write something," but it often goes off track, misses logic, or even misunderstands the requirements.

Boris's first step is never to let Claude write code. He uses Plan mode—first, he and Claude work together to formulate the implementation approach, and then they move to the execution phase.

How does he do it?

When starting a PR, Boris doesn't let Claude write code directly; instead, he uses Plan mode:

1. Describe the goal

2. Work with Claude to create a plan

3. Confirm each step

4. Then let Claude start writing

Whenever a new feature needs to be implemented, such as "adding rate limiting to an API," he confirms step by step with Claude:

  • Should it be implemented with middleware or embedded logic?
  • Does the rate limit configuration need to support dynamic changes?
  • Is logging needed? What should be returned upon failure?

This "planning negotiation" process is similar to two people drawing up "construction blueprints" together.

Once Claude understands the goal clearly, Boris turns on the "auto-accept edits" mode, and Claude to directly modify the code and submit PRs, sometimes even without needing manual confirmation.

"The quality of Claude's code depends on whether you reached an agreement before writing the code." — Boris

Revelation: Instead of repeatedly fixing Claude's mistakes, it's better to draw the roadmap clearly from the start.

Summary

Plan mode is not a waste of time; it's about exchanging upfront negotiation for stable execution. No matter how strong the AI is, it needs "you to explain clearly."

2. Multiple Claudes in Parallel: Not One AI, but a Virtual Development Squad

Boris doesn't use just one Claude. His daily routine is like this:

  • Open 5 local Claudes in the terminal, with sessions assigned to different tasks (e.g., refactoring, writing tests, debugging)
  • Open another 5–10 Claudes in the browser, running in parallel with the local ones
  • Use the Claude iOS app on the phone to initiate tasks at any time

Each Claude instance is like a "dedicated assistant": some are for writing code, some for completing documentation, some run test tasks in the background long-term.

He even set up system notifications so that when Claude is waiting for input, he gets alerted immediately.

Why do this?

Claude's context is local and not suitable for "doing everything in one window." Boris splits Claude into multiple roles for parallel processing, reducing both waiting time and "interference memory."

He also reminds himself through system notifications: "Claude 4 is waiting for your reply," "Claude 1 finished testing," managing these AIs like a multi-threaded system.

Analogy for Understanding

You can imagine having five smart interns sitting next to you, each responsible for one task. You don't need to see every task through to the end; just "switch people" at key moments to keep the tasks flowing.

Revelation: Treating Claude as multiple "virtual assistants," each承担 (undertaking) different tasks, can significantly reduce waiting time and context-switching costs.

3. Slash Commands: Turn What You Do Daily into Claude's Shortcut Commands

Some workflows we do dozens of times a day:

  • Modify code → commit → push → create PR
  • Check build status → notify team → update issue
  • Synchronize changes to web and local multiple sessions
  • Boris doesn't want to prompt Claude every time: "Please commit first, then push, then create a PR..."

He encapsulates these operations into Slash commands, such as:

/commit-push-pr

These commands are backed by Bash script logic, stored in the .claude/commands/ folder, added to Git management, and can be used by all team members.

How does Claude use these commands?

When Claude encounters this command, it doesn't just "execute the instruction"; it understands the workflow this command represents and can automatically execute intermediate steps, pre-fill parameters, and avoid repeated communication.

Key Understanding

Slash commands are like "automatic buttons" you install for Claude. You train it to understand a task flow, and afterwards it can execute it with one click.

"Not only can I save time with commands, but Claude can too." — Boris

Revelation: Don't repeatedly input prompts every time; abstract high-frequency tasks into commands so that your cooperation with Claude can become "automated."

4. Team Knowledge Base: Claude Learns Not from Prompts, but from a Team-Maintained Knowledge Gene

Boris's team maintains a .claude knowledge base, added to Git management.

It's like an "internal Wikipedia" for Claude, recording:

  • What writing style is correct
  • What are the team's agreed-upon best practices
  • How to correct issues when encountered

Claude automatically refers to this knowledge base to understand context and judge code style.

What to do when Claude does something wrong?

Whenever Claude has a misunderstanding or writes incorrect logic, add the lesson to the knowledge base.

Each team maintains its own version.

Everyone collaborates on editing, and Claude refers to this knowledge base in real-time for judgment.

For example:

If Claude keeps writing pagination logic wrong, the team just needs to write the correct pagination standard into the knowledge base, and every subsequent user can automatically benefit.

Boris's approach: Don't scold it, don't turn it off, but "train it once":

We don't write code like this, add it to the knowledge base

Next time, Claude won't make this mistake again.

More importantly, this mechanism is not maintained by Boris alone; the entire team contributes and modifies it weekly.

Revelation: Using AI is not about每个人单打独斗 (everyone fighting alone), but about building a system of "collective memory."

5. Automatic Learning Mechanism: PRs Themselves are Claude's "Training Data"

During code reviews, Boris often @ mentions Claude on the PR, for example:

@.claude Add the writing style of this function to the knowledge base

With GitHub Action, Claude automatically learns the intent behind this change and updates its internal knowledge.

This is similar to "continuously training Claude"; each review not only merges code but also improves the AI's capabilities.

This is no longer "后期维护" (late-stage maintenance); it's about integrating the AI's learning mechanism into daily collaboration.

The team uses PRs to improve code quality, and Claude同步提升 (synchronously improves) its knowledge level.

Revelation: PRs are not just a code review process; they are also an opportunity for AI tools to self-evolve.

6. Subagents: Let Claude Modularly Execute Complex Tasks

In addition to the main task flow, Boris also defines some subagents (Subagents) to handle common auxiliary tasks.

Subagents are automatically running modules, such as:

  • code-simplifier: Automatically simplifies the structure after Claude writes code
  • verify-app: Runs complete tests to verify if new code is usable
  • log-analyzer: Analyzes error logs to quickly locate problems

These subagents, like plugins, automatically integrate into Claude's workflow, run协作 (collaboratively) automatically, and don't require repeated prompting.

Revelation: Subagents are Claude's "team members," upgrading Claude from an assistant to a "project commander."

Claude is not just one person; it's a little manager you can bring a team to.

7. Additional Paragraph 1: PostToolUse Hook — The Final Gatekeeper of Code Formatting

In a team, getting everyone to write code in a unified style is not easy. Although Claude has strong generation capabilities, it inevitably has minor flaws like slightly off indentation or extra blank lines.

Boris's approach is to set up a PostToolUse Hook—

Simply put, this is a "post-processing hook" that Claude calls automatically after "completing a task."

Its functions include:

  • Automatically fixing code formatting
  • Adding missing comments
  • Handling lint errors to avoid CI

This step is usually not complicated but crucial. It's like running Grammarly one more time after finishing an article, ensuring the delivered work is stable and neat.

For AI tools, the key to being easy to use often lies not in generation power, but in finishing ability.

8. Permission Management: Pre-authorization Instead of Skipping

Boris clearly stated that he does not use --dangerously-skip-permissions — this is a parameter of Claude Code that can skip all permission prompts when executing commands.

It sounds convenient but can also be dangerous, such as accidentally deleting files or running the wrong script.

His alternative is:

1. Use the /permissions command to explicitly declare which commands are trusted

2. Write these permission configurations into .claude/settings.json

3. Let the entire team share these security settings

This is like预先开了一批 (pre-opening a batch of) "whitelist" operations for Claude, such as:

"preApprovedCommands": [

"git commit",

"npm run build",

"pytest"

]

Claude executes these operations directly when encountered, without interruption each time.

This permission mechanism is designed more like a team operating system than a standalone tool. He uses the /permissions command to pre-authorize commonly used, safe bash commands. These configurations are saved in .claude/settings.json and shared by the team.

Revelation: AI automation does not mean loss of control. Incorporating security policies into the automation process itself is true engineering.

9. Multi-tool Integration: Claude = Versatile Robot

Boris doesn't just let Claude write code locally. He configured Claude to access multiple core platforms through MCP (a central control service module):

  • Automatically send Slack notifications (e.g., build results)
  • Query BigQuery data (e.g., user behavior metrics)
  • Fetch Sentry logs (e.g., online exception tracking)

How is it implemented?

MCP configuration is saved in .mcp.json

Claude reads the configuration at runtime and independently executes cross-platform tasks

The entire team shares a set of configurations

All of this is done through MCP (Claude's central control system) integrated with Claude.

Claude is like a robotic assistant that can help you:

"Write code → submit PR → check results → notify QA → report logs."

This is no longer an AI tool in the traditional sense, but the neural center of an engineering system.

Revelation: Don't let AI work only "in the editor";

it can become the scheduler in your entire system ecosystem.

10. Long Task Asynchronous Processing: Background agent + Plugin + Hook

In real projects, Claude sometimes needs to handle long tasks, such as:

  • Build + test + deploy
  • Generate report + send email
  • Data migration script running

Boris's handling is very engineering-oriented:

Three ways to handle long tasks:

1. After completion, Claude uses a background Agent to verify results

2. Use Stop Hook, automatically trigger subsequent actions when the task ends

3. Use the ralph-wiggum plugin (proposed by @GeoffreyHuntley) to manage long process states

In these scenarios, Boris will use:

--permission-mode=dontAsk

Or put the task into a sandbox to run, avoiding interruption of the entire process due to permission prompts.

Claude is not something you need to "watch all the time"; it's a collaborator you can trust to host.

Revelation: AI tools are suitable not only for short, quick operations but also for long-cycle, complex processes — provided you build a "hosting mechanism" for them.

11. Automatic Verification Mechanism: The Value of Claude's Output Depends on Its Ability to Verify Itself

The most important point in Boris's experience is:

Any result output by Claude must have a "verification mechanism" to check its correctness.

He adds a verification script or hook to Claude:

  • After writing code, Claude automatically runs test cases to verify if the code is correct
  • Simulates user interaction in the browser to verify front-end experience
  • Automatically compares logs and metrics before and after running

If it doesn't pass, Claude automatically modifies and re-executes until it passes.

This is like Claude bringing its own "closed-loop feedback system."

This not only improves quality but also reduces the human cognitive burden.

Revelation: What truly determines the quality of AI results is not the model's parameter count, but whether you have designed a "result checking mechanism" for it.

Summary: Not Replacing Humans with AI, but Making AI Cooperate Like Humans

Boris's method does not rely on any "hidden features" or black technology; it's about using Claude in an engineering way, upgrading it from a "chat tool" to an efficient component of a work system.

His way of using Claude has several core characteristics:

  • Multiple sessions in parallel: Clearer task division, higher efficiency
  • Planning first: Plan mode improves Claude's goal alignment
  • Knowledge system support: The team共同维护 (jointly maintains) the AI's knowledge base, continuously iterating
  • Task automation: Slash commands + subagents, making Claude work like a process engine
  • Closed-loop feedback mechanism: Every output from Claude has verification logic, ensuring stable and reliable output

Actually, Boris's method demonstrates a new way of using AI:

  • Upgrading Claude from a "conversational assistant" to an "automated programming system"
  • Turning knowledge accumulation from the human brain into the AI's knowledge base
  • Transforming processes from repetitive manual operations into scripted, modular, collaborative automated workflows

This approach does not rely on black magic but is a reflection of engineering capability. You can also learn from these ideas to use Claude or other AI tools more efficiently and intelligently.

If you often feel that "it understands a bit, but is unreliable" or "the written code always needs me to fix it" when using Claude, maybe the problem is not with Claude, but that you haven't given it a mature collaboration mechanism yet.

Claude can be a qualified intern or a stable and reliable engineering partner, depending on how you use it.

相關問答

QWhat is the core concept Boris Cherny emphasizes about using Claude Code?

ABoris Cherny emphasizes that Claude Code should be treated not as a static tool but as an intelligent partner that can collaborate, learn, and grow with you, integrating deeply into the development workflow as an automated team member.

QWhich Claude model does Boris recommend for development tasks and why?

ABoris recommends using the Claude Opus 4.5 model with thinking mode because it is smarter, has better understanding and tool-using capabilities, requires fewer back-and-forth interactions, and ultimately saves more time by reducing errors and rework compared to faster models.

QWhat is the 'Plan mode' and how does Boris use it before writing code?

APlan mode is a approach where Boris first describes the goal to Claude, collaboratively creates a detailed implementation plan, confirms each step, and only then allows Claude to start writing code. This ensures alignment and reduces errors by establishing a clear 'blueprint' before execution.

QHow does Boris manage permissions and security when using Claude for automated tasks?

ABoris avoids using the '--dangerously-skip-permissions' flag. Instead, he uses the '/permissions' command to explicitly declare trusted commands, saves these pre-approved commands (like 'git commit', 'npm run build') in a .claude/settings.json file, and shares this secure configuration across the team.

QWhat is the most important mechanism Boris emphasizes to ensure the quality of Claude's output?

ABoris emphasizes the critical importance of implementing a 'verification mechanism' where Claude automatically checks its own work. This includes running tests, simulating user interactions in a browser, and comparing logs and metrics to ensure correctness, creating a closed-loop feedback system that improves quality and reduces human cognitive load.

你可能也喜歡

国内光产业链的“芯”酸与破局

在全球AI竞赛中,算力芯片是主角,但光连接才是决定AI集群规模上限的关键底层要素。光模块作为电信号与光信号的“翻译官”,是构建高速算力网络的基石,其性能直接影响AI训练效率。当前,800G、1.6T等高端光模块的核心——DSP电芯片,全球市场约90%份额被美国企业迈威尔和博通垄断,中国光模块厂商(如中际旭创、新易盛)的海外高端业务高度依赖这两家供应商。 中国虽是全球最大光模块生产基地,但在高端DSP和高速EML激光器芯片上仍受制于海外。不过,产业链相互依存:迈威尔过半收入来自大中华区,且其芯片封测、光学器件也依赖中国供应链。与DSP的双寡头垄断相比,高速光芯片领域有多家海外供应商,且国内源杰科技、光迅科技等企业的国产替代进程更快。 为应对潜在断供风险,短期可采取分散供应链、锁定长协订单、开拓多元市场等策略。中长期根本出路在于加速高速DSP和高端光芯片的国产化,通过市场化企业研发、设备商自研、政企联合扶持等多路径突破。同时,布局硅光、CPO等前沿技术可降低对独立高端DSP的依赖。国内市场作为重要的缓冲与反制空间,可为国产芯片提供验证与成长机会。 最终,掌握产业链主动权的关键在于持续推进核心芯片的自主研发与规模化应用,这需要技术、资本、时间和生态的持续投入。

marsbit13 分鐘前

国内光产业链的“芯”酸与破局

marsbit13 分鐘前

USDe 绕开 GENIUS Act 收益禁令:合成美元如何成为加密最成功的灰色地带?

当美国《GENIUS法案》禁止支付型稳定币向持有者支付利息时,Ethena的合成美元稳定币USDe却利用监管定义上的空白,成功绕开了这一限制。USDe并非由法币或国债支持,其核心机制是通过接收加密资产作为抵押,并同时开设对冲的永续合约空头头寸,在维持美元价值稳定的同时,从该交易策略中获取收益(如正向的资金费率),并将收益分配给sUSDe质押者。 这一定位使其不被归类为《GENIUS法案》所监管的“支付型稳定币”,从而形成了一个监管缺口。USDe规模一度超过140亿美元,成为仅次于传统储备型稳定币的第三大美元计价加密资产。尽管其模型依赖市场条件(如长期正资金费率)并存在特定风险(如在极端市场压力下可能脱锚),但它仍吸引了包括大型资管公司在内的机构采用。 监管态度出现分歧:欧盟将其视为未注册证券予以限制,而美国机构资金则开始接纳。文章指出,核心问题在于USDe(一种衍生品策略代币)与USDC(传统储备型稳定币)虽然都被称为“稳定币”,但本质迥异。现行法律只规范了后者,却未对前者明确定义,这可能导致风险认知的混淆。未来的监管关键,在于是否会为“合成美元”这类新型工具专门划定边界。

marsbit18 分鐘前

USDe 绕开 GENIUS Act 收益禁令:合成美元如何成为加密最成功的灰色地带?

marsbit18 分鐘前

Solana 隐私生态全景图,从计算到 AI 的完整隐私栈

**Solana 隐私生态全景图:从计算到 AI 的完整隐私栈** Solana 的隐私生态目前仍处于早期发展阶段。一个成熟的隐私栈需要包含形式化验证、无委员会、不可变性和开源代码等要素。在 Solana 上,隐私开发主要聚焦于两大垂直领域:新银行(Neobanks)和隐私 DeFi。其独特的架构(如 ZK 压缩)有望实现无需持久性 Rollup 的大规模可组合隐私。 **隐私计算基础设施** 目前有两家主要提供商: * **Arcium**:利用多方计算(MPC)网络处理任意数据,确保节点无法查看单个输入。其结算层在 Solana 上。Arcium 正在构建机密 SPL 代币标准(C-SPL),并已支持如私密转账(Umbra)、加密挖矿(ZINC)和密封竞价融资(Crafts)等应用。 * **Magic Block**:通过可信执行环境(TEE)创建临时隐私 Rollup(PER),在硬件验证的黑箱中处理交易后提交回 Solana,保证机密性、可扩展性和可组合性。 两者都能为私密订单簿、暗池等应用提供基础设施。 **私密转账与余额** 基于上述基础设施,出现了隐私转账应用: * **Umbra**:基于 Arcium 构建,提供加密代币账户,实现交易金额、余额和关联关系的隐私,并支持合规审查。 * **Privacy Cash**:使用类似 Tornado 的屏蔽池处理 SOL,通过零知识证明切断存取款地址关联。 * **Hush**:受 Zcash 启发,用户存入 SOL 可自动赚取收益,池内转账完全隐私,并集成了 Jupiter 进行私密兑换,具备合规特性。 **无链上痕迹的交易** 为了保护日常交易策略不被窥探和利用: * **encifherio**:通过 Jupiter 路由交易,但利用 TEE 加密交易细节,仅公开包装资产信息,实现大规模私密兑换。 * **VanishTrade**:通过屏蔽流动性路由交易,保护策略隐私,并内置合规框架防止非法交易。 * **Darklake**:构建 ZK 原生的流动性基础设施和暗池,其“盲点滑点池”在执行前隐藏订单意图,防止三明治攻击。 **隐私预测市场与隐私 AI** * **私密预测市场**:如 Melee Markets 利用 Arcium 的 MPC 基础设施加密订单簿,使参与者可以隐藏其市场方向直到结算。 * **私密 AI**:例如 Loyal 协议,结合 Magic Block 和 Arcium 的技术,在链上加密存储用户的 AI 对话、查询和个人数据,确保用户拥有数据所有权并实现私密的链上交互与资产管理。 总体而言,Solana 隐私生态正通过结合零知识证明(ZK)、全同态加密(FHE)、MPC 和 TEE 等多种技术,从底层计算到上层应用(支付、DeFi、预测市场、AI)构建一个完整且可组合的隐私栈。尽管生态仍处早期,但基础设施的完善正驱动着多样化的隐私应用涌现。

marsbit23 分鐘前

Solana 隐私生态全景图,从计算到 AI 的完整隐私栈

marsbit23 分鐘前

交易

現貨
合約

熱門文章

如何購買VIRTUAL

歡迎來到HTX.com!在這裡,購買Virtuals Protocol (VIRTUAL)變得簡單而便捷。跟隨我們的逐步指南,放心開始您的加密貨幣之旅。第一步:創建您的HTX帳戶使用您的 Email、手機號碼在HTX註冊一個免費帳戶。體驗無憂的註冊過程並解鎖所有平台功能。立即註冊第二步:前往買幣頁面,選擇您的支付方式信用卡/金融卡購買:使用您的Visa或Mastercard即時購買Virtuals Protocol (VIRTUAL)。餘額購買:使用您HTX帳戶餘額中的資金進行無縫交易。第三方購買:探索諸如Google Pay或Apple Pay等流行支付方式以增加便利性。C2C購買:在HTX平台上直接與其他用戶交易。HTX 場外交易 (OTC) 購買:為大量交易者提供個性化服務和競爭性匯率。第三步:存儲您的Virtuals Protocol (VIRTUAL)購買Virtuals Protocol (VIRTUAL)後,將其存儲在您的HTX帳戶中。您也可以透過區塊鏈轉帳將其發送到其他地址或者用於交易其他加密貨幣。第四步:交易Virtuals Protocol (VIRTUAL)在HTX的現貨市場輕鬆交易Virtuals Protocol (VIRTUAL)。前往您的帳戶,選擇交易對,執行交易,並即時監控。HTX為初學者和經驗豐富的交易者提供了友好的用戶體驗。

749 人學過發佈於 2024.12.23更新於 2026.06.02

如何購買VIRTUAL

相關討論

歡迎來到 HTX 社群。在這裡,您可以了解最新的平台發展動態並獲得專業的市場意見。 以下是用戶對 VIRTUAL (VIRTUAL)幣價的意見。

活动图片