Skip to content
Back to skills

Debate

ASecurity

Specialized agents debate to find optimal solutions. Used for "debate", "pros and cons", "gather opinions" requests.

  • 8 stars
  • 0 votes
  • 0 copies
  • 18 views
  • Added February 7, 2026
developmenttypescriptgosqlreactvueexpresstestingapifrontendbackend

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add seokan-jeong/team-shinchan --skill debate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seokan-jeong-debate/badge)](https://www.skillsdirectory.com/skills/seokan-jeong-debate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: team-shinchan:debate
description: Specialized agents debate to find optimal solutions. Used for "debate", "pros and cons", "gather opinions" requests.
user-invocable: true
---

# EXECUTE IMMEDIATELY - Debate Initiation

**Explicit `/team-shinchan:debate` command invokes Midori via Task tool.**

**Auto-triggered debates may be conducted directly by Shinnosuke following midori.md guidelines, or delegated to Midori for complex cases.**

---

## 🔔 Auto-Trigger Conditions

**Shinnosuke starts Debate immediately when detecting the following situations:**

| Situation | Auto-Debate | Example |
|------|------------|------|
| 2+ implementation approaches exist | ✅ | REST vs GraphQL, Monolith vs Microservices |
| Architecture change | ✅ | DB schema redesign, layer structure change |
| Breaking existing patterns | ✅ | Proposing different approach from existing conventions |
| Performance vs Readability tradeoff | ✅ | Optimization vs Maintainability |
| Security-sensitive decisions | ✅ | Authentication method, data encryption approach |
| Technology stack selection | ✅ | React vs Vue, PostgreSQL vs MongoDB |
| Simple CRUD | ❌ | Simple CRUD endpoints |
| Clear bug fix | ❌ | Obvious bug fix |
| User explicitly decided | ❌ | User has already decided |

### Auto-Trigger Behavior

1. **Immediately announce Debate start**
   ```
   ⚠️ Design decision needed: [detected situation]
   → Starting Debate automatically
   ```

2. **Execute same process as manual invocation**
   - Proceed with Steps 1-3 below
   - Difference: Add background explanation since user didn't explicitly invoke

3. **Record decision in REQUESTS.md**
   - Stage 1: Add decision to requirements
   - Stage 2+: Record in corresponding Phase in PROGRESS.md

---

## Step 1: Invoke Midori

```typescript
Task(
  subagent_type="team-shinchan:midori",
  model="opus",
  prompt="Please proceed with Debate.

## Topic
{discussion topic}

## Panel
{panel list}

## Procedure
1. Announce Debate start
2. Collect panel opinions (parallel Tasks)
3. Output opinions in real-time
4. Hiroshi derives consensus
5. Report final decision"
)
```

## Step 2: Deliver Results to User

When receiving results from Midori, deliver to user in the following format:

```
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💭 Debate Results
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Topic: {topic}

🎤 Expert Opinions:
- [Hiroshi]: {opinion summary}
- [Nene]: {opinion summary}

✅ Recommended Decision: {Midori's conclusion}
📝 Rationale: {reasoning}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```

## Step 3: Confirm User Opinion

After delivering results, ask the user:

"Do you agree with the recommended decision? If you have other opinions or additional considerations, please let me know."

## Step 4: Final Decision

- If user agrees: Document decision and proceed
- If user disagrees: Revise decision reflecting concerns
- **Never proceed without user confirmation**

## Panel Selection Criteria

| Topic | Panel |
|------|------|
| UI/Frontend | Aichan, Hiroshi |
| API/Backend | Bunta, Hiroshi |
| DevOps/Infra | Masao, Hiroshi |
| Architecture | Hiroshi, Nene, Misae |
| Full-stack | Aichan, Bunta, Masao, Hiroshi |
| Security | Hiroshi, Bunta, Masao |
| Performance | Hiroshi, Bunta |
| Testing Strategy | Hiroshi, Nene |

---

## 📖 Auto-Trigger Examples

### Example 1: Detecting 2+ Implementation Approaches

```
[Shinnosuke analyzing...]
Detected: JWT and Session both possible for authentication implementation

⚠️ Design decision needed: Choose authentication method (JWT vs Session)
→ Starting Debate automatically

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💭 Debate Started (auto)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Topic: Authentication method selection
👥 Panel: Hiroshi, Bunta
🎯 Goal: Choose optimal between JWT and Session

[Regular Debate process follows...]
```

### Example 2: Detecting Architecture Change

```
[Bo proposes...]
"Instead of adding roles field to User table, I propose creating separate Role table."

[Shinnosuke detects]
Detected: DB schema change → Architecture impact review needed

⚠️ Design decision needed: Role management approach (single table vs normalization)
→ Starting Debate automatically

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💭 Debate Started (auto)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Topic: Role management DB design
👥 Panel: Hiroshi, Bunta, Nene
🎯 Goal: Determine optimal schema considering scalability and maintainability
```

### Example 3: Performance vs Readability Tradeoff

```
[Action Kamen reviewing...]
"Current code has good readability but N+1 query issue exists. Optimization increases complexity."

[Shinnosuke detects]
Detected: Performance optimization vs code readability tradeoff

⚠️ Design decision needed: Determine query optimization level
→ Starting Debate automatically
```

---

## ⚙️ Shinnosuke's Auto-Detection Logic

**Shinnosuke detects the following signals:**

| Signal | Detection Method |
|------|----------|
| 2+ approaches mentioned | Expressions like "A or B", "vs", "method1/method2" |
| Architecture keywords | "schema change", "layer", "structure", "architecture" |
| Pattern violations | Action Kamen warns "differs from existing pattern" |
| Tradeoff mentions | "but", "however", "trade-off", "at the cost of" |
| Security keywords | "auth", "security", "encryption", "permission" |

**After auto-detection, immediately:**
1. Announce situation
2. Start Debate (same as above process)
3. Document decision

Files in this skill

  • SKILL.md5.8 KB
  • WORKFLOW.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.