Skip to content

Instantly share code, notes, and snippets.

@sorrycc
Created March 31, 2026 08:00
Show Gist options
  • Select an option

  • Save sorrycc/22aee622f1bbf2e4572d8fb077789cc0 to your computer and use it in GitHub Desktop.

Select an option

Save sorrycc/22aee622f1bbf2e4572d8fb077789cc0 to your computer and use it in GitHub Desktop.
date created 2026-01-19
date modified 2026-03-31

不写代码的程序员

AI 编程实战分享 2026.03.31

云谦

不写代码了,那我在干什么?

聊聊我现在日常在用什么工具、怎么配置、工作流长什么样,以及一些比较进阶的玩法,比如 agent team、one-shot、各种 loop。都是实际在用的东西,不讲概念。

开始之前

  • 这是我个人实战总结的方法,不代表唯一解
  • 工具和配置可能 1 个月就过期,但工作流的设计思路不会

社区大佬

Peter Steinberger, OpenClaw 作者

Boris Cherny,Claude Code 作者

关于我

开场:一个 live demo

  • 用 /one-shot 完成几个实际需求,然后等分享到 Workflow 结束后来验收。
1)
after set as project default / global default in the model selector, should invalidate the prewarmed sessions and create new

2)
plugin in main should support custom hooks
analyze /Users/chencheng/Documents/Code/test/test-claude-code/versions/2.1.81/cli.js and @anthropic-ai/claude-agent-sdk for ref

3)
increase the trigger scope of project header of the session list in multiple project mode with byProject. all place of the project header except the right action button should trigger the expand/collapse

4)
improve terminal panel. when click the file path, should open it in editor.

5)
content panel tabs support drag and drop

6)
add an a new config to general > advanced, default false, when enable, show whether the session is initialized in session-list (which is implemented, and enabled with developer mode is enabled)

我的 Setup

  • 原则:用最好的模型和工具
  • Claude Code Max $100/月,日常用 Opus 4.6,复杂需求切 Opus 1M
  • Backup:Zenmux / xxx / ... ,Claude Code 挂了超了随时切
  • 日常用量:Claude Code Max 5X 额度还在想办法用完

我的编程 Workflow

Don't implement or fix directly, analyze related files first if needed, tell me what changes are needed and ask questions if unclear.
Don't impl direct, use brainstorm to generate design first.

[Paste text of the brainstorm skill]

怎么写好 Design(重点)

  • 用最好的模型
  • 高质量的上下文输入,举个 claude code 分析的例子,doc、sdk、source code、changelog
  • 个人品味
  • 关键 prompt:「any suggestion to improve this design?」反复迭代
  • 完整流程:需求 > brainstorm > improve design xN > impl
  • https://blog.sorrycc.com/rewrite-blog-with-claude-code
any suggestion to improve this design?
any suggestion to improve this article?

从串行到并发

  • 做好一个需求之后,下一步是并发。
  • 目前还没有用 git worktree,手动复制 5 个仓库,terminal 下手动调度,人脑并发极限 ~5
  • /one-shot,让 AI 自主完成 brainstorm + design improve + impl,减少人的干预

/one-shot DEMO 验收

  • 验收前面 demo 阶段的成果

AI 编程进阶

这部分是在基础 workflow 之上的进阶玩法,核心思路:让 AI 跑得更多,人干预得更少。

ralph-loop

tmux / 多 session 并行

/loop & cron system

  • /loop:定时轮询,比如每 5 分钟检查一次部署状态、PR 状态
  • cron:定时触发任务,比如每天自动跑 autoresearch
  • 适合需要持续监控或定期执行的场景

agent team

  • 多个 agent 分工协作,比如一个负责 brainstorm、一个负责 code review
  • 和 /one-shot 的关系:one-shot 是 agent team 的一个应用,多个 agent 自主完成从设计到实现
  • e.g. 用于产出 idea,example for sorrycc.com
use team agents to ask `What's the single smartest and most radically innovative and accretive and useful and compelling addition you could make to the project at this point?` and collect at least 10 ideas and save to docs/ideas/

post memory

  • 跨 session 持久化记忆,让 AI 记住项目的约定、踩过的坑、偏好
  • 相当于给 AI 一个持续增长的项目知识库

orchestrator

AI 时代的能力要求

  • 雕花的能力:AI 产出 80 分,从 80 到 95 靠人的品味
  • 消耗 Token 的能力:会花比会省更重要
  • 设计的能力:design 质量决定最终结果

不写代码的程序员,不是不编程了,是编程的定义变了。以前程序员的核心能力是写代码,现在是设计、调度、验收。代码是 AI 写的,但决定写什么、怎么写、写得好不好,还是你的事。

三个你今天就能做的事

  1. 用最好的模型,别省
  2. 复杂需求先 design 再 impl
  3. 「any suggestion to improve this design?」
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment