Claude Code自动化长帖约 5 分钟

循环目标和工作流怎么分

Loop Goal And Workflow Split

要点

  1. /loop、/goal 和工作流都能让代理长时间跑,但触发条件不同。
  2. 团队已把系统提示砍掉约八成,更强模型需要更少约束。
  3. 计划是探索未知的迭代,不要把第一稿计划当最终方案。
  4. 常见翻车是人只扫一眼 AI 计划就放行,必须认真读。
  5. 可用 HTML artifact 来规划和学习,而不是只会改代码。

原帖开头

“We’ve got /loop, /goal, and workflows. They all get the agent to run for long periods of time.” Here’s my new episode with @trq212 from the Claude Code team, where he shared how he plans, builds, and runs loops with Claude Code: → How /loop, /goal, and workflows work different