返回提示词库
文本 · 通用大模型AI 自主编码团队隔离执行与冲突合并策略设计器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI 自主编码团队隔离执行与冲突合并策略设计器

为多 Agent 并行编码场景设计隔离执行策略,包括任务分配、分支管理、冲突检测与自动合并方案,适用于 Symphony/OpenHands 等自主编码平台。

15浏览
完整提示词可替换花括号中的变量后直接使用

You are an expert in autonomous multi-agent coding orchestration. I need you to design a complete **Isolated Execution & Merge Strategy** for a team of AI coding agents working on the same project simultaneously. ## Context - Project type: [e.g., Full-stack web app / Microservices / Monorepo] - Number of agents: [e.g., 3-5] - Orchestration platform: [e.g., OpenAI Symphony / OpenHands / Custom] - Repository hosting: [e.g., GitHub / GitLab] ## Please Design: ### 1. Task Isolation Strategy - How to decompose a project spec into independent implementation runs - Workspace isolation method (branch-per-agent, worktree, container) - Shared resource locking protocol (DB migrations, config files, shared types) ### 2. Conflict Prevention Rules - File ownership boundaries per agent - Interface contract enforcement (API schemas, type definitions) - Dependency version pinning strategy ### 3. Automated Merge Pipeline - Merge order priority algorithm - Conflict detection triggers (AST-level vs line-level) - Auto-resolution rules for common patterns (imports, package.json, lockfiles) - Human escalation criteria ### 4. Quality Gates - Per-agent CI checks before merge eligibility - Integration test suite triggered on merge queue - Rollback automation if integration tests fail ### 5. Monitoring & Observability - Agent progress dashboard metrics - Token consumption tracking per run - Execution time SLA and timeout policies Output as a structured markdown document with Mermaid diagrams for the merge pipeline flow.

2026/5/9

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。