AGENT SKILL

多模型委员会方案规划

council-plan

多模型委员会规划,用于实现和架构决策。适用场景:“与委员会一起规划”、“多模型规划”、“对方案的不同视角”、“多个模型独立提出计划”、“辩论方案或比较策略”、“交叉规划综合方案”。不适用:“审查 diff 或拉取请求”、“回答快速事实性问题”。

License 许可
MIT
最近更新
2026-11-14
Stars
★ 67
Forks
12

01 前言 Front Matter

name
council-plan
description
Multi-model council planning for implementation and architecture decisions. USE FOR: "plan with council", "multi-model plan", "different perspectives on an approach", "multiple models propose plans independently", "debate approaches or compare strategies", "cross-plan a synthesis". DO NOT USE FOR: "review a diff or pull request", "answer a quick factual question".

02 资源文件 1

03 SKILL.md 正文

Skill: Plan Council

Multi-model planning powered by a council of model-pinned agents. Each agent independently researches the codebase and proposes an implementation plan for the same task. The orchestrator then synthesizes the proposals into a consensus plan — surfacing approaches the models agree on, alternatives where they diverge, and risks multiple models flagged independently.

This catches blind spots that a single-model plan misses: one model might notice a reusable pattern another overlooks, or flag an architectural risk the others didn't consider.

Council Models

Spawn subagents with the model parameter to pin each to a different model. Use all three when available, at least two otherwise:

  • GPT-5.5
  • Claude Opus 4.6
  • GPT-5.3-Codex

Each subagent receives the same system preamble:

You are an independent subagent for read-only code research. MUST stay read-only. Stay within the requested scope. Do not speculate. Do not suggest patches. For every finding, cite exact files and lines. Form your own view from first principles. Do not anchor to the provided context.

Workflow

Phase 1 — Scope

Establish what needs to be planned:

  • Gather the user's goal, constraints, and any relevant context (issue, PR description, conversation history).
  • If the task is vague, ask the user to clarify scope before fanning out — council time is expensive.
  • Run an Explore subagent to gather baseline codebase context: relevant files, existing patterns, analogous features. This context goes into the planner prompt so agents start informed.

Phase 2 — Build a Planning Brief

Before fanning out, build a preliminary orientation that each agent will receive. This is a starting point, not ground truth — agents are expected to contradict it if their own research leads elsewhere.

The brief should include only:

  1. Goal — what needs to be built or changed, and why.
  2. Constraints — technical constraints explicitly stated by the user (not inferred).
  3. Codebase context — file and directory paths discovered in Phase 1. No conclusions, no risk assessments — just locations.
  4. Open questions — unresolved areas where the user has not stated a preference.

Keep the brief under ~50 lines. Do not answer the open questions — leave them open so agents form independent views. The agents will use search, read and terminal tools to dig into specifics.

Phase 3 — Independent Planning

Spawn all subagents in parallel at once:

  • One subagent per model using the model parameter. Prepend the system preamble to the planner prompt below.
  • Do not share one agent's proposal with another before this phase completes.

Phase 4 — Consensus Synthesis

Compare the three proposals and classify into:

  1. Consensus approach — two or more agents independently propose the same approach, architecture, or sequencing. These form the backbone of the plan. High confidence.
  2. Alternatives — agents propose different viable approaches for the same aspect. Present each with trade-offs and a recommendation. Let the user decide or pick the approach with the strongest rationale.
  3. Consensus risks — risks or concerns flagged by two or more agents independently. These are high-confidence and should be addressed in the plan.
  4. Single-agent insights — a useful idea only one agent surfaced. Keep if well-evidenced, note it came from one model.

Drop vague suggestions, over-engineering proposals, and speculative concerns.

Phase 5 — Debate (optional)

Trigger this phase when the user asks to "debate", "discuss", or "cross-plan", or when Phase 4 produces significant alternatives that could benefit from deliberation.

  1. Share the anonymized synthesis (without attributing which model said what) back to each council agent.
  2. Ask each agent to evaluate the alternatives and state which approach they'd recommend, with evidence.
  3. Spawn all subagents in parallel at once.
  4. Update the synthesis: promote alternatives to consensus if deliberation resolves the split, or sharpen the trade-off description if it persists.

This deliberation step is lightweight — it only re-examines the synthesized plan, not the full codebase.

Planner Prompt

Use this prompt shape for each council agent. Pass the planning brief from Phase 2.

You are an independent planning agent. Research and propose an implementation plan for this task.

## Goal
<goal from Phase 2>

## Constraints
<constraints from Phase 2>

## Codebase context
<key files, patterns, analogous features from Phase 2>

## Open questions
<areas where you should propose an approach>

Use your tools to read relevant files, search for patterns, and check diagnostics. Do not rely solely on this brief — explore the codebase yourself to find reusable patterns, potential conflicts, and implementation details.

**The brief above is preliminary orientation, not ground truth.** If your own research contradicts the stated constraints, context, or framing, trust your findings over the brief and say so explicitly.

Return a structured plan:
1. **Approach** — your recommended implementation strategy in 2-3 sentences.
2. **Steps** — ordered implementation steps with file paths. Note dependencies between steps.
3. **Files to modify** — each file with a one-line description of what changes.
4. **Risks** — concrete risks or gotchas you found (not speculative concerns).
5. **Alternatives considered** — other approaches you evaluated and why you didn't recommend them.

Be specific. Reference exact functions, types, and patterns. Do not suggest code edits — describe what needs to change and why.
If the task is straightforward with one obvious approach, say so and keep the plan short.

Debate Prompt

Use this prompt shape when running Phase 5:

The following plan was synthesized from independent proposals by a council of planning agents:

<synthesized plan, without model attribution>

For each alternative or contested decision, state which approach you recommend and why. Cite files, patterns, or constraints as evidence.

Do not introduce entirely new approaches. Stay focused on the presented alternatives.
If you agree with the consensus, say so briefly and move on.

Saving the Plan

After synthesis, persist the consensus plan so it is available for implementation, follow-up turns, and cross-referencing with reviews. Use whichever mechanism the runtime provides:

  • If a plan-mode tool is available (e.g., exit_plan_mode), use it to present the plan for user approval.
  • Otherwise, save the plan to session memory as plan.md.

Output Shape

After Phase 4 (standard planning)

Goal — one-sentence restatement of what's being planned.

Consensus approach — the implementation strategy the council agrees on. Structured as ordered steps with file paths and dependencies.

Alternatives (if any) — aspects where agents proposed different approaches. For each: the options, trade-offs, and a recommendation.

Consensus risks — risks flagged by multiple agents. Each with a mitigation suggestion.

Single-agent insights (if any) — useful ideas from one model, noted as lower confidence.

Verification — how to validate the implementation (specific tests, commands, checks).

After Phase 5 (debate)

Same structure as above, but update based on deliberation:

  • Alternatives that reached agreement move to Consensus approach.
  • Sharpen trade-off descriptions for alternatives where the split persists.
  • Note any risks that were upgraded or downgraded after debate.

04 同仓库更多 Skills

microsoft
microsoft/vscode-team-kit

VS Code 测试验证视频制作

generate-test-video

为 VS Code 测试计划项(TPI)、某个已修复的 bug 或同一领域的几个已修复 bug 制作一段带旁白的简短'如何测试'或'如何验证'视频:在真实的 VS Code Insiders 中使用一次性配置录制,每个步骤都在应用中检查,带字幕、画面缩放、在出错处暂停的标记、结论幻灯片和总结回顾。macOS。适用场景:'为 TPI 342400 制作一个如何测试的视频'、'验证 issue 341013 的视频'、'针对 bug 339711 339712 339714 的如何验证视频'。不适用:向不会测试的人讲解 PR(使用 pr-studio:generate-video)、纯屏幕录制、编辑现有视频。

测试工程师测试与质量保障
★ 67
microsoft
microsoft/vscode-team-kit

Copilot 会话时间线查看

session-timeline

为当前 Copilot 会话打开实时时间线画布。当用户要求检查会话时间线中的会话事件、系统提示、推理过程、工具执行或子智能体活动时使用。

AI 工程师调试与故障排查
★ 67
microsoft
microsoft/vscode-team-kit

实施计划审查

review-plan

审查由 Plan 智能体生成的实施计划。在移交给实施之前审查计划至关重要——计划往往存在漏洞、错误的假设或次优的顺序安排,现在发现这些问题比编码后再发现成本更低。当用户要求'审查计划'、'检查我的计划'、'这个计划准备好了吗',或在 Plan 智能体生成 plan.md 之后使用。

软件开发工程师方案质询与决策压力测试
★ 67
microsoft
microsoft/vscode-team-kit

多领域深度代码审查

review-areas

深入的代码审查,通过并行子代理跨多个审查领域展开——在非平凡的开发之后尤为重要。适用于:"对 pull request 进行深入审查"、"代码质量检查或错误排查"、"审查正确性、测试、安全性、性能和产品等方面"、"任何非平凡开发阶段之后的审查"。不适用于:"规划新的实现"、"解释现有代码的工作原理"。

软件开发工程师测试与质量保障
★ 67
microsoft
microsoft/vscode-team-kit

GitHub PR 解说视频生成

generate-video

制作最短的解说视频,完整讲解一个 GitHub pull request(最多 90 秒,带字幕,根据 PR 选择图表,并包含真实的应用画面,在变更可见时前后并排展示),采用统一的白色 Microsoft 风格。适用场景:"/generate-video 12345"、"make a video of this PR"、"explain PR <url> in a video"、"a video for my manager about this PR"。不适用于:单纯的屏幕录制(没有 PR 需要讲解)、编辑现有视频、幻灯片演示文稿(请使用 generate-presentation)。

软件开发工程师视频画面采集
★ 67
microsoft
microsoft/vscode-team-kit

GitHub PR 演示文稿生成

generate-presentation

制作最短的幻灯片演示文稿(16:9 的 PDF,带演讲者备注,最多 12 张幻灯片),完整讲解一个 GitHub pull request,采用统一的白色 Microsoft 风格:每张幻灯片只讲一个想法,以图表呈现,当变更可见时附上真实应用截图,每个事实均来自该 PR。适用场景:"/generate-presentation 12345"、"make slides about this PR"、"a deck for my manager on PR <url>"、"present this pull request"。不适用于:编辑 PowerPoint 文件、视频(请使用 generate-video)、没有 pull request 作为依据的演示文稿。

软件开发工程师文档处理
★ 67