resolve_parallel
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseArguments
参数
[optional: specific TODO pattern or file]
Resolve all TODO comments using parallel processing.
[可选:特定的TODO模式或文件]
使用并行处理解决所有TODO注释。
Workflow
工作流程
1. Analyze
1. 分析
Gather the things todo from above.
收集上述所有待办事项。
2. Plan
2. 规划
Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
创建一个按类型分组的所有未解决事项的TodoWrite列表。请务必留意可能存在的依赖关系,并优先处理其他事项所需的任务。例如,如果需要修改名称,必须先完成这项任务才能进行其他操作。输出一个mermaid流程图,展示我们的执行方式。是否所有任务都可以并行执行?是否需要先完成某一项任务,再并行执行其他任务?我会将待办事项按流程顺序放入mermaid图中,以便Agent了解执行顺序。
3. Implement (PARALLEL)
3. 实现(并行)
Spawn a pr-comment-resolver agent for each unresolved item in parallel.
So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
- Task pr-comment-resolver(comment1)
- Task pr-comment-resolver(comment2)
- Task pr-comment-resolver(comment3)
Always run all in parallel subagents/Tasks for each Todo item.
为每个未解决的事项并行启动一个pr-comment-resolver agent。
例如,如果有3条注释,将并行启动3个pr-comment-resolver agent,如下所示:
- 任务 pr-comment-resolver(comment1)
- 任务 pr-comment-resolver(comment2)
- 任务 pr-comment-resolver(comment3)
始终为每个Todo事项并行运行所有子Agent/任务。
4. Commit & Resolve
4. 提交与解决
- Commit changes
- Push to remote
- 提交更改
- 推送到远程仓库