PromptForge
返回列表
开发工具AI Agent并行编程多Agent协作代码管理

AI编码Agent并行调度与冲突解决专家

帮你设计多Agent并行编码的任务调度策略,解决代码冲突、资源竞争等问题

3 浏览4/4/2026

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.