socratic-debate
This skill should be used when conducting structured multi-perspective debates to stress-test ideas, evaluate tradeoffs, or reach well-reasoned decisions. Provides the Socratic debate framework with 4 subagent roles.
What this skill does
# Socratic Debate Framework A structured approach to deliberation using multiple AI perspectives to stress-test ideas and reach well-reasoned conclusions. ## When to Use - Evaluating whether to accept or reject a proposal (PR feedback, RFC, design decision) - Making architectural or technology choices with significant tradeoffs - Deciding whether something is worth the effort/complexity - Any situation where "it depends" is the initial answer ## The Four Perspectives ### 1. Advocate FOR (Proponent) **Role:** Make the strongest possible case in favor of the position. **Mindset:** - Assume the proposal has merit and find the best reasons why - Consider benefits that may not be immediately obvious - Think about precedent, standards, and long-term implications - Acknowledge weaknesses only if doing so strengthens credibility **Output format:** 250-400 word persuasive argument with a memorable closing line. ### 2. Advocate AGAINST (Devil's Advocate) **Role:** Stress-test the idea by making the strongest counterargument. **Mindset:** - Look for hidden costs, complexity, or unintended consequences - Question whether the problem being solved is overstated - Identify alternative approaches that might be simpler - Consider opportunity cost and what else could be done instead **Output format:** 250-400 word counterargument with a memorable closing line. **Important:** The goal is constructive challenge, not dismissal. A good devil's advocate helps strengthen ideas. ### 3. Neutral Analyst **Role:** Objectively weigh both sides and identify the key tradeoffs. **Mindset:** - Remain impartial while still being willing to draw conclusions - Identify where the debaters agree (often more than expected) - Surface context or constraints that affect the decision - Consider hybrid approaches or middle grounds **Output format:** 1. Balanced analysis (200 words) 2. Tradeoffs table (if applicable) 3. Preliminary verdict with confidence level (low/medium/high) ### 4. Scribe/Moderator **Role:** Synthesize all perspectives into a coherent summary and final verdict. **Responsibilities:** - Extract the most compelling points from each perspective - Identify areas of agreement across all three debaters - Resolve conflicts by weighing evidence quality - Deliver a clear, actionable recommendation **Output format:** ```markdown ## Socratic Debate Summary ### Topic [Original question/topic] ### FOR (Proponent) [Key points summarized] ### AGAINST (Devil's Advocate) [Key points summarized] ### NEUTRAL (Analyst) [Key tradeoffs identified] ### Points of Agreement [What all perspectives agreed on] ### Moderator's Verdict **Recommendation:** [accept/reject/modify/defer] **Confidence:** [low/medium/high] **Key Factor:** [The decisive consideration] ### Suggested Next Steps [If applicable] ``` ## Debate Principles ### Intellectual Honesty - Debaters should make their best arguments, not strawmen - Acknowledge strong points from other perspectives - Distinguish between facts, interpretations, and opinions ### Steelmanning - Each perspective should address the strongest version of opposing arguments - Avoid attacking weak or irrelevant points - Give credit where due ### Actionable Outcomes - The goal is a decision, not endless deliberation - Every debate should end with a clear recommendation - Include confidence levels to indicate certainty ### Appropriate Scope - Focus on the specific question at hand - Avoid scope creep into tangential issues - Time-box arguments to maintain focus ## Example Debate Topics | Category | Example Topic | |----------|---------------| | Code Review | "Should we require this change before merging?" | | Architecture | "Should we adopt microservices for this system?" | | Process | "Is the added ceremony of RFCs worth it for this team?" | | Technology | "Should we migrate from X to Y?" | | Prioritization | "Is this bug fix more urgent than feature work?" | ## Anti-Patterns to Avoid 1. **False Balance** - Not all positions deserve equal weight; evidence matters 2. **Analysis Paralysis** - The goal is a decision, not perpetual debate 3. **Bikeshedding** - Don't let low-stakes issues consume debate resources 4. **Motivated Reasoning** - Debaters should follow evidence, not justify predetermined conclusions 5. **Ignoring Context** - Recommendations should account for real-world constraints ## Output Behavior ### Default: Local reasoning, silent action By default, the debate reasoning is shown **locally** to the user (full FOR/AGAINST/ANALYST/MODERATOR output in the conversation), but consensus fixes are applied **silently** — no debate summary is posted to PRs, issues, or external systems. The agent goes straight to implementing the consensus recommendation. This means: - The user sees the full deliberation process in their terminal - External artifacts (PRs, commits, comments) reflect only the outcome, not the process - Commit messages and PR descriptions should describe *what* changed, not *why the debate concluded X* ### Override: Post reasoning externally If the user explicitly asks to share the debate reasoning (e.g., "post the debate to the PR", "include the reasoning in the ADR"), then include the Moderator's Summary in the external artifact. ## Integration with Workflows The Socratic debate format works well for: - **Code/skill review** - Debate quality, then apply consensus fixes directly - **PR Reviews** - Debate review feedback, then post only actionable comments (not the debate itself) - **ADRs** - Include debate summary in "Considered Alternatives" only if explicitly requested - **RFCs** - Use as structured feedback before approval - **Retrospectives** - Debate proposed process changes - **Incident Reviews** - Evaluate proposed preventive measures
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.