agentleFS
almax000almax000/claude-skills/plan-debate/SKILL.md

plan-debate

Skill1 starsChanged 7 months agoMITView on GitHub

Multi-agent debate planning pipeline for high-quality implementation plans. Uses agent separation and independent review to catch issues before code is written. For simple tasks (1-2 steps, no dependencies), plan inline without this skill. Every plan must include a Verification Plan with applicable tiers: Research-only plans (no code changes) skip verification tiers entirely. When a plan touches UI, four phases are mandatory:

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. zirui-song/claude-skills★ 17same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository14 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every plan must include a Verification Plan with applicable tiers:

    line 51
  2. Distinctive:

    When a plan touches UI, four phases are mandatory:

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

plan-debate

Multi-agent debate planning pipeline for high-quality implementation plans. Uses agent separation and independent review to catch issues before code is written.

When to Use

  • Tasks with 3+ implementation steps and dependencies
  • Architecture decisions or system design
  • Irreversible operations (database migrations, deployments, data changes)
  • Any task where a wrong plan is expensive to undo

For simple tasks (1-2 steps, no dependencies), plan inline without this skill.

Pipeline Overview

PhaseActorOutput
1. Initial Planplanner (Sonnet) or architect (Opus) agentStructured implementation plan
2. Reviewplan-reviewer (Opus) agentStructured review with verdict
3. Revisionplanner + reviewer (max 2 rounds)Revised plan if needed
4. PresentorchestratorFinal plan for user approval
5. ExecuteorchestratorStep-by-step implementation with task tracking

Agent Roles

Planner (Sonnet)

  • Standard feature implementation (3-5 steps)
  • Explores codebase, references actual file paths
  • Produces: Goal, Steps, Risks, Verification Plan, Success Criteria

Architect (Opus)

  • System design, architecture decisions (5+ steps)
  • Same output format as planner, deeper analysis

Plan-Reviewer (Opus)

  • Independent code-aware review
  • Reads source files to verify plan assumptions
  • Cross-checks against project rules and error lessons
  • Outputs structured review with verdict

Verdict Types

VerdictMeaningAction
APPROVEPlan is soundPresent to user for approval
REVISEFixable issues foundRe-plan with feedback (max 2 rounds)
REJECTFundamental problemsAsk user for guidance

Verification Tiers

Every plan must include a Verification Plan with applicable tiers:

TierItemsWhen Required
Baselinelint + type-check + build + existing testsAlways
Unit testsNew/modified tests for changed logicLogic changes
E2E testsPlaywright tests for user flowsDefault-on (opt-out only)
Securitysecurity-reviewer agent or manual auditAuth, payment, data, APIs
RegressionFull test suite vs main branchBreaking changes, refactors

Research-only plans (no code changes) skip verification tiers entirely.

Frontend Workflow

When a plan touches UI, four phases are mandatory:

  1. Design — /frontend-design skill produces wireframe + design direction
  2. Implementation — build code following the design
  3. Spec generation — /ui-spec capture generates spec from implemented code
  4. Fidelity check — compare spec against original design, fix deviations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.