返回 Skill 列表
extension
分类: 开发与工程无需 API Key

double-check

一个简单的方法可以迫使代理在声明“工作已完成并可投入生产”时重新思考 - 通常情况下,工作其实还没有完成。这项技能确保了AI代理会验证他们的任务,用户不必再检查代理是否完成了他们的工作。

person作者: jakexiaohubgithub

When to use

  • After a task is completed and before reporting completion details to the user
  • After generating tests
  • After fixing tests

Skill

Please double check your work and what you generated.

  • Is it really complete?
  • Did you approach it from different angles?

Define first at what angles you can approach it. Reiterate on the goal and what it means and what is required to achieve it. Define what "complete" means in this context.

If the task was to generate tests or fix failing tests, run the tests to make sure they are successful. This is the only definition for "complete"

Proceed with the double check only after you are sure you have done all of the above.

Ultrathink!