做产品 PMaker
空格的键盘
一次要一整个 做一个完整的对账系统 一次输出 2000 行 哪里错了要读完才知道 发现问题时,已经在错误的地基上 盖了三层 拆成小步 1 定数据模型 ✓ 已确认 2 列表页跑通 ✓ 已确认 3 勾选与合计 进行中 4 生成对账单 5 补四态和边界 每一步都能跑、能验、能回退

AI 写代码几乎不花你的时间,读代码和纠错才花。步子越大,一次要读的越多。

One thing at a time

Have it do one thing at a time that you can verify on its own. Done? You confirm. Then the next.

What you'll run into
  • 一次生成几百上千行,读到一半就放弃了,直接跑跑看
  • 出了问题不知道是哪一步引入的,只能整块重来
  • 改一个地方,它顺手动了三个不相干的文件

The cost of a big task is not in generation, it is in verification. Two thousand lines at once means you either read all of it or skip verification and just run it — most people pick the second, and pay for it a few steps later.

Small steps have a hidden benefit: each step is a save point you can roll back to. Mess up step three and you revert to step two with everything before it still intact. Take big steps and your only option is to tear the whole block down.

How big should one step be

判断标准说明
能被单独验证做完之后你能立刻点一下、看一眼,判断对不对
你愿意读完它的输出如果预感自己会跳过不读,说明太大了
大约在一屏到几屏代码超过这个量级,先想想能不能再切一刀
失败了不心疼做砸了直接丢掉重来的成本能接受
The second rule is the most practical. You know whether you will actually read it — if you have a feeling you will skim, the step is not small enough.
大任务的代价不在生成,在验证 一大步 一次两千行 中间哪儿坏了不知道,只能整块推倒 你要么全部读完,要么跳过验证直接跑 四小步 1 ✓ 2 ✓ 3 ✗ 4 退回第 2 步重来,前两步的成果都还在 一步多大合适?最实用的判断是问自己愿不愿意读完它的输出 预感自己会跳过不读,那就是拆得不够小。大约一屏到几屏代码,做砸了直接丢掉重来也不心疼。 攒着三步一起验,等于没拆。
The second rule is the most practical. You know whether you will actually read it — if you have a feeling you will skim, the step is not small enough.

How to break it down

After breaking it down, write the task list itself into a file and have it update the status after each step. That way even if the session is interrupted, the progress survives — a concrete way of writing context to the outside.