skills/consensus/SKILL.md
Use when comparing architectural choices, technology options, build-vs-buy decisions, feature proposals, high-impact tradeoffs, multi-team decisions, hard-to-reverse choices, or risk-heavy alternatives.
npx skillsauth add cofin/flow consensusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Structured decision evaluation through stance rotation — analyze from advocate, critic, and neutral perspectives, then synthesize into a confidence-rated recommendation with concrete next steps.
<workflow>| Decision Scope | Mode | Reason | | -------------- | ---- | ------ | | Bounded, reversible | Sequential (default) | All perspectives in one pass — fast | | Multi-month or irreversible | Subagent | Three isolated subagents prevent cross-contamination | | Perspectives suspiciously aligned | Escalate to Subagent | Lack of genuine disagreement signals contamination |
Use subagent mode when: the decision impacts more than 3 months of work, multiple teams are affected, or sequential perspectives align too easily (suspiciously low disagreement likely signals contamination — isolated subagents are required to get genuine divergence).
See references/consensus-strategy.md for full escalation criteria.
Rotate through three perspectives (see references/stance-rotation.md for detailed prompts):
In subagent mode, dispatch three isolated subagents (one per stance) with identical context. Subagents must NOT see each other's output.
Weigh all three perspectives and produce a recommendation:
Before delivering the synthesis, verify:
Decision: "Should we migrate from REST to GraphQL?"
| Perspective | Key Finding | |-------------|-------------| | Neutral | Current REST API has 47 endpoints; clients use ad-hoc field filtering. GraphQL would reduce over-fetching but adds schema maintenance. | | Advocate | Mobile clients would cut payload size ~60%. Single endpoint simplifies versioning. Strong ecosystem tooling available. | | Critic | Team has no GraphQL experience — 2-3 month learning curve. Caching is harder. Existing REST clients need migration path. |
Synthesis:
Add guardrails instructions here. </guardrails>
testing
Use when syncing Beads state to markdown, checking Flow status, refreshing context docs, validating task markers, or reporting ready/blocked Flow work.
testing
Use when initializing Flow in a repo, configuring .agents, installing or checking Beads bd, setting local-only sync policy, or creating first project context files.
data-ai
Use when drafting PRDs, researching, planning, refining, revising, or creating .agents/specs/<flow_id>/spec.md worksheets for Flow.
testing
Use when implementing Flow tasks from Beads or spec.md, claiming ready work, applying TDD, recording task notes, committing, and syncing after task state changes.