plan-arbiter
BuilderIO/skills
將來自多個代理人的競爭性計畫進行比較、交叉審查,並整合為一個可執行的方向,同時確保有明確的交接流程。
...展開全部計畫仲裁者
將相互競爭的計畫整合為一個可執行的方向。保留最佳構想, 摒棄薄弱的假設,並產出清晰的交接方案,而非混雜不清的爛攤子。
工作流程
- 彙整原始計畫。
- 將每個計畫標準化為可比對的主張。
- 針對各方案相互比對,並與實際程式碼庫或任務 背景進行交叉審查。
- 選出最佳方案、合併成更完善的混合方案,或將方案退回修改。
- 產出一份包含驗證關卡與遭駁回 替代方案的執行交接文件。
除非使用者在決策後明確要求您進行實作,否則規劃階段僅限讀取 。
收集原始計畫
接受以貼上文字、本機檔案、會話 ID、對話記錄路徑、拉取請求、 留言、視覺化計畫連結或聊天記錄形式提交的計畫。在可行時解析原始 artefact,以便您能查看最終摘要中可能遺漏的 提示變更與假設。
若某個計畫仍在撰寫中,且使用者要求您等待,請持續監控 該計畫,直到其完成或受阻為止。若無法解析某個計畫,請繼續使用 現有的計畫文本,並將缺失的來源標記為風險。
標準化
針對每個計畫,請萃取:
- 目標與範圍。
- 關鍵假設與未解決的問題。
- 建議的檔案、模組、API、資料結構、使用者介面狀態或工作流程。
- 實作順序。
- 驗證策略。
- 回滾或遷移相關考量。
- 成本、複雜度及預期執行器的適配性。
請勿獎勵冗長闡述。應優先考慮具體、以實際程式碼為基礎, 且能坦誠面對取捨的計畫。
交叉審查
審查每項方案時,應假設是由另一位具備能力的開發者所撰寫:
- 檢查其是否滿足使用者的實際需求。
- 若相關資料(如儲存庫、文件、測試、螢幕截圖或外部系統) 既相關又可取得,則據此驗證相關陳述。
- 找出隱藏的依賴關係、缺失的測試、高風險的執行順序、模糊的步驟、 不必要的範圍,以及難以逆轉的決策。
- 留意互補優勢:某個方案可能擁有更佳的架構, 而另一個則具備更完善的遷移或驗證路徑。
- 將計畫品質與執行者的偏好區分開來。即使另一種模型提供了 最佳的批判性分析,但成本更低/速度更快的執行者仍可能 是實作時的正確選擇。
當方案規模龐大、程式碼庫範圍廣泛, 或決策需經技術與產品層面分別審查時,應使用子代理進行獨立審查。
決定
從以下三種結果中擇一:
- 採納:基本上按原樣選用其中一個執行計畫。
- 混合:將特定部分整合成更強的執行方案。
- 先進行修訂:由於兩項計畫均忽略了某項 關鍵限制,或取決於尚未解決的決策,因此要求進行另一輪規劃。
請使用以下決選順序:
- 正確性與符合使用者請求的程度。
- 基於實際檔案、API、測試、資料及 UI 行為的實作基礎。
- 首個實作應更為簡潔,且不阻礙預期的未來發展。
- 更完善的驗證與回滾機制。
- 在品質可接受的前提下,執行時的代幣/時間成本較低。
交接
回傳一份簡明扼要的決策備忘錄:
Decision
- Adopt Plan A / Hybrid / Revise first.
Why
- The deciding evidence and tradeoffs.
Execution Plan
- Ordered steps with files or surfaces to touch.
Borrowed From Other Plans
- Useful pieces kept from non-winning plans.
Rejected
- Ideas intentionally not taking, with reasons.
Verification
- Tests, browser checks, screenshots, CI, review, or deploy checks needed.
Executor Recommendation
- Which agent/model should implement and why.
當使用者已要求執行且選擇的路徑明確時,應在簡要報告決策後, 繼續執行所選計畫。否則應在 交接處停止,並徵求批准。
---
name: plan-arbiter
description: Compare, cross-review, and merge competing plans from multiple agents into one executable direction with a clear handoff.
---
# Plan Arbiter
Turn competing plans into one executable direction. Preserve the best ideas,
reject weak assumptions, and produce a clear handoff instead of a blended mush.
## Workflow
1. Collect the source plans.
2. Normalize each plan into comparable claims.
3. Cross-review the plans against each other and the real codebase or task
context.
4. Choose a winner, merge a better hybrid, or send the plans back for revision.
5. Produce one execution handoff with verification gates and rejected
alternatives.
Planning is read-only unless the user explicitly asks you to implement after the
decision.
## Collect Source Plans
Accept plans as pasted text, local files, session IDs, transcript paths, PRs,
comments, visual-plan links, or chat history. Resolve the original artifacts
when possible so you can see prompt changes and assumptions that may be missing
from a final summary.
If a plan is still being written and the user asked you to wait, monitor it
until it is done or blocked. If a plan cannot be resolved, continue with the
available plan text and mark the missing source as a risk.
## Normalize
For each plan, extract:
- Objective and scope.
- Key assumptions and unresolved questions.
- Proposed files, modules, APIs, data shapes, UI states, or workflows.
- Implementation sequence.
- Validation strategy.
- Rollback or migration concerns.
- Cost, complexity, and expected executor fit.
Do not reward verbosity. Prefer plans that are concrete, grounded in real code,
and honest about tradeoffs.
## Cross-Review
Review each plan as if another capable agent wrote it:
- Check whether it satisfies the user's actual request.
- Verify claims against the repo, docs, tests, screenshots, or external systems
when those are relevant and available.
- Identify hidden dependencies, missing tests, risky sequencing, vague steps,
unnecessary scope, and hard-to-reverse decisions.
- Notice complementary strengths: one plan may have the better architecture
while another has the better migration or validation path.
- Separate plan quality from executor preference. A cheaper/faster executor can
be the right choice for implementation even when another model produced the
best critique.
Use subagents for independent review when the plans are large, the codebase is
wide, or the decision would benefit from separate technical and product passes.
## Decide
Choose one of three outcomes:
- **Adopt:** pick one plan mostly as written.
- **Hybrid:** combine specific pieces into a stronger execution plan.
- **Revise first:** request another planning pass because both plans miss a
key constraint or depend on an unresolved decision.
Use this tie-break order:
1. Correctness and fit to the user's request.
2. Grounding in real files, APIs, tests, data, and UI behavior.
3. Simpler first implementation that does not block the intended future.
4. Better validation and rollback story.
5. Lower token/time cost for execution once quality is acceptable.
## Handoff
Return a compact decision memo:
```md
Decision
- Adopt Plan A / Hybrid / Revise first.
Why
- The deciding evidence and tradeoffs.
Execution Plan
- Ordered steps with files or surfaces to touch.
Borrowed From Other Plans
- Useful pieces kept from non-winning plans.
Rejected
- Ideas intentionally not taking, with reasons.
Verification
- Tests, browser checks, screenshots, CI, review, or deploy checks needed.
Executor Recommendation
- Which agent/model should implement and why.
```
When the user already asked for execution and the chosen path is clear, proceed
with the selected plan after reporting the decision briefly. Otherwise stop at
the handoff and ask for approval.
所有檔案
0 個檔案安裝 plan-arbiter
請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。
下載 ZIP複製儲存庫並將技能檔案複製到您的專案中。
git clone https://github.com/BuilderIO/skills/tree/main/skills/plan-arbiter # Copy SKILL.md to your .claude/skills/ directory
複製





首頁
