首页/ AI 技能 / @skilllib/skill-2117939930272412458
Skill站外收录 @skilllib/skill-2117939930272412458

handle-large-tasks

将复杂任务自动分解为多个可独立执行的子任务,为每个子任务分配专属上下文环境并制定明确目标,通过迭代式测试验证与反馈优化,确保各子模块功能正确且最终整合结果逻辑一致、运行可靠。

0.0 (0) 21 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

<required> *CRITICAL* Add the following steps to your Todo list using TodoWrite: - Announce that you are creating subagents. - Construct a plan for each subagent. - Write a test for each subagent based on what you expect the subagent to do. - Start each subagent using the Task tool with instructions to make the test pass. - Subagents may come back and ask questions or present plans. Review and provide feedback. - You may have to restart subagents. If that happens, simply pass in the previous produced plan. - Evaluate the code the subagent produces. Give feedback. Iterate until tests pass AND the code fits. - When all subagents complete, make sure all tests pass and all of the code fits together coherently. </required> # Guidelines Use subagents to manage your context. Each subagent has its own limited context window. Subagents perform best when they have clear implementation guidelines. Each subagent should be given a small and precise task. Create tests for each subagent and explicitly tell the subagent that it is responsible for making sure that test passes. The tests should test behavior. You are responsible for the final output. That means you MUST ensure that everything runs as expected. You should create high level tests that validate overall behavior.

评论 0

还没有评论,来抢沙发。