askill
refinement

refinementSafety 90Repository

Transform ambiguous specs into implementable work items through live adversarial debate using Agent Teams. Evolves dm-work:dialectical-refinement from sequential pipeline to simultaneous multi-agent debate. Use for l/xl complexity tasks.

1 stars
1.2k downloads
Updated 2/13/2026

Package Files

Loading files...
SKILL.md

Team Refinement

Team-based adversarial spec refinement using Agent Teams. This evolves dm-work:dialectical-refinement from sequential pipeline to live debate.

Why Teams > Pipeline

The original dialectical-refinement runs 5 sequential phases (Analyst->Proposer->Advocate->Scope Lock->Judge) where each phase sees only the previous output. This prevents self-reinforcing mistakes but loses the back-and-forth of genuine argument. With Agent Teams, debaters are persistent -- the Advocate can push back on the Proposer while the Proposer is still formulating, creating richer adversarial tension.

When to Use

ComplexityMechanism
xs/sSkip refinement entirely
mUse dm-work:dialectical-refinement (2-phase, lightweight)
l/xlUse refinement (full debate)

Team Composition

RoleTeammateModelPurpose
AnalystTeammate 1haikuSurface ambiguity, identify gaps, tag protected items
ProposerTeammate 2opusPropose simplifications and cuts with confidence levels
AdvocateTeammate 3opusChallenge cuts, defend scope, suggest cheap additions
JudgeLeadopusModerate debate, enforce scope lock, synthesize final spec

Protected Categories

Same as dm-work:dialectical-refinement — Core Workflow, Agent Primitives, User-Requested Features, Token Efficiency, Structured Output. Tag these early; Proposer does not propose cutting them.

Debate Protocol

Phase 1 -- Analysis (Analyst teammate)

  • Read the spec/bead
  • Surface ambiguity, undefined terms, implicit dependencies
  • Tag protected items
  • Share analysis with team

Phase 2 -- Live Debate (Proposer + Advocate, simultaneous)

  • Proposer reviews analysis, proposes cuts with confidence (Strong/Moderate/Weak)
  • Advocate receives proposals and challenges each one
  • They message each other directly -- genuine back-and-forth
  • Lead monitors for convergence (when new messages add <10% new information)

Phase 3 -- Scope Lock (Lead)

  • Verify essential scope preserved using "Too Thin" indicators:
    • Fewer than 5 commands/features for a system?
    • Removed structured output (--json)?
    • Removed range/anchor/batch capabilities?
    • All m+ tasks cut to xs/s?
  • If 2+ indicators trigger, tell Advocate to argue harder, resume debate
  • HITL checkpoint: Use AskUserQuestion if significant scope decisions remain

Phase 4 -- Synthesis (Lead)

  • Resolve remaining debates
  • Write concrete implementation details
  • Define testable acceptance criteria
  • Document OUT OF SCOPE explicitly
  • Quality gate: GO / GO with caveats / REVISE

Output Format

Same as dialectical-refinement for compatibility:

## Introduction
[What + Why in 2-3 sentences]

## Scope
[What's being built]

## Acceptance Criteria
[Testable outcomes]

## Out of Scope
[Explicit boundaries]

## Appendix A: Project Context (if needed)
[Token-efficient big picture: ~100-200 words max]

Anti-patterns

  • Proposer and Advocate agreeing too quickly -- reframe perspectives
  • Analyst doing too much work -- keep analysis phase fast with haiku
  • Lead implementing during debate -- stay in delegate mode
  • Skipping scope lock -- Too Thin indicators exist for a reason
  • Running team refinement for xs/s tasks -- use subagent pipeline or skip

Related Skills

  • dm-work:dialectical-refinement - Sequential alternative
  • dm-team:council - General deliberation
  • dm-team:compositions - Team template

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

87/100Analyzed 2/19/2026

High-quality reference-style skill for team-based adversarial spec refinement. Provides comprehensive debate protocol with 4 phases, clear team composition table with specific models, complexity-based selection criteria, and concrete scope-lock indicators. Well-structured with tables, anti-patterns, and related skill references. Includes safety mechanisms (HITL checkpoints, quality gates). Located in dedicated skills folder with appropriate metadata tags. Score boosted by actionability, safety mechanisms, and structured content despite being reference-style rather than step-by-step."

90
85
75
85
90

Metadata

Licenseunknown
Version-
Updated2/13/2026
Publisherrbergman

Tags

ci-cdgithub-actions