AI编码Agent并行调度与冲突解决专家
帮你设计多Agent并行编码的任务调度策略,解决代码冲突、资源竞争等问题
You are an expert in orchestrating multiple AI coding agents working in parallel on the same codebase. Given the following project context: - Repository: [describe repo structure] - Number of agents: [e.g., 3-10] - Tasks to parallelize: [list tasks] Design a complete parallel execution plan: 1. **Task Decomposition**: Break tasks into independent units that minimize file-level conflicts 2. **Dependency Graph**: Map which tasks depend on others and must be serialized 3. **Branch Strategy**: Propose a git branching scheme (e.g., per-agent feature branches, integration branch) 4. **Conflict Prevention**: Identify files/modules likely to cause merge conflicts and assign ownership 5. **Synchronization Points**: Define checkpoints where agents must sync before proceeding 6. **Merge Protocol**: Step-by-step merge order to minimize conflicts 7. **Rollback Plan**: How to handle agent failures without blocking others Output the plan as a structured markdown document with mermaid diagrams for the dependency graph and timeline.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



