/claude-swe-workflows:think-deliberatefrom claude-swe-workflows
Spawns adversarial advocate agents for each decision option who argue their cases before you as judge, ensuring robust exploration before verdict.
Ships in claude-swe-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Uses adversarial representation to ensure all options are robustly explored before making a decision. Inspired by the legal adversarial system where truth emerges from the collision of well-argued positions. It counters premature closure and single-option railroading: no option is dismissed before its strongest case has been made.
Judge (You): The Claude instance running this skill. You:
Advocates: Subagents spawned for each option. They:
Identify from user's request:
If options are unclear:
Output: Clear list of N options to deliberate.
Before spawning advocates, ensure you have sufficient context.
Probe for:
Ask clarifying questions proactively - don't assume the initial framing contains everything relevant. Users often omit context they consider obvious.
Conclude fact-finding when:
Keep it focused - you're gathering context, not conducting an interview. 3-5 clarifying questions is typical; more than 10 suggests the decision isn't ready for deliberation.
For each option, spawn an advocate agent:
Agent tool with subagent_type: "THK - Advocate", in compete modeAdvocate prompt template:
Mode: compete
You represent: [OPTION]
Decision context: [WHAT IS BEING DECIDED]
Relevant criteria: [WHAT MATTERS FOR THIS DECISION]
Background: [ANY CONTEXT THE USER PROVIDED]
Present your initial argument for why [OPTION] is the best choice.
Collect initial arguments from all advocates.
Share all arguments with all advocates:
Rebuttal prompt template:
Mode: compete
You represent: [OPTION]
Here are the arguments made by all advocates:
[ADVOCATE 1 - OPTION A]:
[argument]
[ADVOCATE 2 - OPTION B]:
[argument]
...
Present your rebuttal. Address the strongest points made against your option and counter the arguments made for competing options.
As judge, you may ask questions to:
Question prompt:
Mode: compete
You represent: [OPTION]
The judge asks: [QUESTION]
Respond directly and honestly.
You may question one advocate, multiple advocates, or all of them.
Before rendering judgment, explain your current thinking:
Give advocates a final opportunity to respond:
Mode: compete
You represent: [OPTION]
The judge is leaning toward [LEANING OPTION] for the following reasons:
[REASONING]
Remaining concerns: [CONCERNS]
This is your final opportunity to make your case. Respond to the judge's reasoning. If [LEANING OPTION] is your option, address the remaining concerns.
Collect final arguments in parallel.
After final arguments, either:
A) Return to Step 5 if:
B) Proceed to judgment if:
Iteration limit: 10 rounds maximum (a "round" is one cycle through steps 5-6)
Present your decision to the user:
Format:
## Judgment
**Recommendation:** [OPTION]
**Reasoning:**
[Why this option wins]
**Trade-offs:**
[What you're sacrificing by not choosing alternatives]
**Confidence:** [high / moderate / low / uncertain] - [Brief explanation]
**Key factors:**
- [Factor 1]
- [Factor 2]
- [Factor 3]
If you truly cannot decide:
Present to user:
## Unable to Render Judgment
I cannot make a definitive recommendation because: [REASON]
**The deliberation revealed:**
- [Key insight 1]
- [Key insight 2]
**The decision hinges on:**
- [Factor the user must weigh]
- [Personal preference that matters]
**If you value X, choose [OPTION A].**
**If you value Y, choose [OPTION B].**
Tool access: Advocates have full tool access for research Good faith: Advocates must not fabricate facts or misrepresent options
Good fit:
Poor fit:
The judge's job is not to be passive. Ask hard questions. Challenge weak arguments. Push advocates to address concerns. The quality of the judgment depends on the rigor of the process.
What SKILL.md sets; muted values are Claude Code's defaults
opusnpx claudepluginhub chrisallenlane/claude-swe-workflows --plugin claude-swe-workflows22 skills in this plugin
/bug-fixDiagnosis-first bug fixing with test-driven reproduction, root-cause analysis, and a targeted fix plus regression test. Use when the user wants to fix a bug with thorough investigation./bug-huntProactive bug hunting. Assesses where bugs likely hide, confirms each finding with a reproducing test, and iterates until nothing is found above a severity floor. Advisory by default; creates tickets or fixes via /implement only when authorized./implementImplements a ticket, a batch, or an open-ended goal end to end, choosing agents and reviews by judgment over a fixed floor (concept inventory, practical verification, green tests, correctness review). Autonomous after one planning interaction./pre-compactPre-compaction housekeeping. Updates persistent memory, checks git hygiene and trash, produces an SBAR with a go/no-go recommendation, and emits a resume prompt if work remains. Run immediately before /compact./refactorSimplification-first codebase redesign (Musk's five steps), with behavior pinned by a differential oracle against the incumbent implementation. Runs on an isolated branch; one operator checkpoint (the requirements menu), then autonomous./releaseCuts a project release. Discovers the release procedure, runs /review-release as preflight, proposes a version bump from CHANGELOG, and executes an operator-confirmed command plan step by step, halting on first failure.Other plugins' skills for the same job