为Coding Agent提供验证方法以提高效率
普通人用好 Coding Agent 的一个经验技巧,就是为 Agent 提供验证结果的方法
普通人用好 Coding Agent 的一个经验技巧,就是为 Agent 提供验证结果的方法,这样 Agent 就会自己去测试去修改,直到完成任务,不需要自己反复测试修改。
举个例子,我在用 Claude Code 或者 Copilot/Curosr 的 Agent mode,会在提示词中加一句类似的话:
Please write tests and verify the tests