بنقرة واحدة
discuss
Socratic brainstorming to explore approaches before implementation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Socratic brainstorming to explore approaches before implementation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Initialize a Megazord project with configuration and planning structure
Systematic four-phase debugging (reproduce, isolate, root-cause, fix)
Execute the current phase plan (subagent or Agent Teams mode)
Show all available Megazord skills with descriptions and usage examples
Complete milestone lifecycle -- audit, archive, deferred items, and next version preparation
Plan a phase into executable tasks with dependencies and waves
| name | discuss |
| description | Socratic brainstorming to explore approaches before implementation |
| disable-model-invocation | false |
Facilitate Socratic brainstorming that explores 5+ alternative approaches before converging on a direction. Produces CONTEXT.md-compatible output for downstream planning. Works both within phase context and as standalone brainstorming.
Reference @skills/init/design-system.md for visual output formatting.
Reference @skills/shared/presentation-standards.md for content formatting and Next Up block rules.
Reference @skills/shared/interview-language.md for language detection and session-wide persistence rules.
Reference @skills/shared/terminology.md for official term definitions.
Output the stage banner:
+===============================================+
| MEGAZORD > DISCUSS |
+===============================================+
Detect the user's language from their first natural-language message following the rules in @skills/shared/interview-language.md.
Apply the detected language to all Socratic dialogue: seed questions, challenges, suggestions, summaries, convergence prompts, and the final output document's prose sections.
Keep in English: file paths, CONTEXT.md section headers (<domain>, <decisions>, <specifics>, <deferred>), technical terms, and command names.
Parse the user's invocation to determine where output will be written.
Phase context detection (in priority order):
Explicit phase number -- user provides a phase number (e.g., /mz:discuss 7):
.planning/STATE.md to resolve the phase directory{phase_dir}/{padded}-CONTEXT.md (e.g., .planning/phases/07-quality-and-debugging-skills/07-CONTEXT.md)Active phase -- no explicit number, but a phase is in progress:
.planning/STATE.md for current positionStandalone -- no phase context at all:
.planning/brainstorms/{YYYY-MM-DD}-{slug}.md.planning/brainstorms/ directory if it does not exist{slug} from the topic (lowercase, hyphens, max 40 chars)Display the output target:
> Output: {target file path}
Extract the topic from the user's message (text after /mz:discuss and any phase number). If no topic is provided, ask the user what they want to brainstorm about before proceeding.
Ask the user a probing SEED question about their topic. This is NOT a generic "what do you want?" -- it is a question that:
Good seed examples:
Bad seeds (avoid):
Maintain an internal counter of distinct approaches explored. For each exchange with the user:
Tone rules:
Convergence triggers:
After at least 5 distinct approaches have been explored, pause the Socratic dialogue and display a structured checkpoint — NOT a bare nudge:
### Discussion Checkpoint
{Summary of decisions taken so far — Claude's discretion: bullets if 1-3 decisions, short paragraph if 4+}
**Approaches explored:** {N}
**Decisions so far:** {list key decisions/directions that emerged}
Want to go deeper, or ready to move on?
The skill does NOT force convergence — the user may want to explore more.
Soft limit: after 10-15 exchanges without convergence, use the same checkpoint format with stronger framing: "We've covered significant ground. Here's where we are:" followed by the structured checkpoint block.
Key rule: The checkpoint is a structured format for clarity. The dialogue BEFORE the checkpoint stays fully Socratic. Do NOT make the entire dialogue structured — only the checkpoint moments.
If user responds "go deeper" (or equivalent: "more", "continue", "keep going"):
If user responds "ready" (or equivalent: "done", "let's move on", "ship it"):
If user picks a specific direction or asks for the summary table:
Show the approach comparison table:
| Approach | Strengths | Weaknesses |
|---|---|---|
| {approach 1} | {strengths} | {weaknesses} |
| {approach 2} | {strengths} | {weaknesses} |
| ... | ... | ... |
Present the table in the session language. Column headers and approach names may mix English technical terms with session-language descriptions.
Ask: "Want to go with this direction, or explore more?"
If they confirm a direction, proceed to CONTEXT.md write
If they want to explore more, return to Step 4
Write the output file using the CONTEXT.md format (compatible with /mz:plan and /gsd:discuss-phase output):
# {Topic} - Context
**Gathered:** {YYYY-MM-DD}
**Status:** Ready for planning
<domain>
## Phase Boundary
{Concise description of the decision scope -- what this brainstorming session covered}
</domain>
<decisions>
## Implementation Decisions
### {Decision 1 Title}
- {Bullet point detail}
- {Bullet point detail}
### {Decision 2 Title}
- {Bullet point detail}
### Claude's Discretion
{Areas explicitly left to implementer judgment -- things discussed but not locked}
</decisions>
<specifics>
## Specific Ideas
- {Concrete implementation idea from the discussion}
- {Another specific idea}
- {Technical detail worth preserving}
</specifics>
<deferred>
## Deferred Ideas
{Ideas explicitly deferred during discussion -- "None" if nothing was deferred}
</deferred>
Display confirmation:
> Context written to {file path}
> {N} approaches explored, {M} decisions locked
If phase context (active phase or explicit phase number):
## Next Up
**Plan Phase {N}: {Phase Name}** — turn decisions into executable tasks
`/mz:plan {N}`
<sub>`/clear` — start fresh context for the next step</sub>
If standalone (no phase context):
## Next Up
**Use this context** — reference {output file path} in your next planning session
<sub>`/clear` — start fresh context for the next step</sub>
.planning/brainstorms/@skills/shared/interview-language.md| Error | Step | Action |
|---|---|---|
| No topic provided | Step 2 | Ask the user what they want to brainstorm about. Do not proceed without a topic. |
| STATE.md missing | Step 2 | Fall back to standalone mode. Output to .planning/brainstorms/. |
| Phase directory missing | Step 2 | Create the directory, or fall back to standalone mode if creation fails. |
| User disengages | Step 4 | After 2 unanswered prompts, offer to converge with what has been explored so far. |
/gsd:discuss-phase output for backward compatibility.