agentleFS
strigovstrigov/superpowers-strigov-ver/skills/brainstorming/SKILL.md

brainstorming

Skill9 starsChanged 30 days agoMITView on GitHub

Manual-only. Explores user intent, requirements and design before implementation - for creating features, building components, adding functionality, or modifying behavior.

193 other projects use a version of this, 105 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-git-workflow, chinese-code-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Leodorareluctant259Skill

    chinese-git-workflow

    适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖

    Also in 9 projects that use this

  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +2 more from Leodorareluctant259
  • +6 more from ryanportfolio

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 20 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 20

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start by understanding the current project context, then ask questions one at a time to refine the idea.

    line 13
  2. Distinctive:

    Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a …

    line 16
  3. Distinctive:

    Before sending EACH message while this skill is active, verify — and rewrite the message if any check fails:

    line 54
  4. Distinctive:

    Visual Companion offer is alone: If this message offers the companion, it contains nothing else.

    line 58
  5. Distinctive:

    HARD-GATE intact: No code, no file edits, no scaffolding, no implementation-skill invocation before the user approved the design.

    line 59
  6. Distinctive:

    Opus output is presented, not dumped: If this message relays subagent results, it is conversational and leads with the recommendation.

    line 60
  7. Distinctive:

    Check out the current project state first (files, docs, recent commits)

    line 107
  8. Distinctive:

    Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with …

    line 108
  9. Distinctive:

    Prefer multiple choice questions when possible, but open-ended is fine too

    line 111
  10. Distinctive:

    Only one question per message - if a topic needs more exploration, break it into multiple questions

    line 112
  11. Distinctive:

    Ask: "Propose 2-3 different approaches with trade-offs.

    line 122
  12. Distinctive:

    When Opus returns, present the options to the user conversationally — don't dump the subagent's output verbatim.

    line 145
  13. Distinctive:

    Ask after each section whether it looks right so far

    line 151
  14. Distinctive:

    Don't propose unrelated refactoring.

    line 166
  15. Distinctive:

    Internal consistency: Do any sections contradict each other?

    line 215
  16. Distinctive:

    After Codex returns APPROVED and spec is committed, ask the user to review the written spec before proceeding:

    line 231
  17. Very specific:

    Wait for the user's response.

    line 235
  18. Very specific:

    Do NOT load any other skill.

    line 240
  19. Distinctive:

    One question at a time: - Don't overwhelm with multiple questions

    line 244
  20. Distinctive:

    YAGNI ruthlessly: - Remove unnecessary features from all designs

    line 246
  21. Distinctive:

    Explore alternatives: - Always propose 2-3 approaches before settling

    line 247
  22. Distinctive:

    Offering the companion: When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams), offer it once …

    line 255
  23. Very specific:

    If they agree to the companion, read the detailed guide before proceeding: skills/brainstorming/visual-companion.md

    line 267

“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Brainstorming Ideas Into Designs

Manual-only pipeline skill (superpowers-strigov-ver). It starts only from the user (/dev, /superpowers-strigov-ver:<skill>), from another skill of this plugin, or when resuming an in-progress plan — never on your own initiative. The Skill tool refuses it by design, so this plugin's pipeline skills are loaded with Read, never through the Skill tool. This file: ${CLAUDE_SKILL_DIR}/SKILL.md (if the variable shows unexpanded, it is the path you just read). Another skill named below (writing-plans, codex-invocation, zcode-invocation, dev-orchestrator, …) is ../<name>/SKILL.md relative to this skill's directory — Read it there. After a context compaction, re-Read this file before your next step.

Help turn ideas into fully formed designs and specs through natural collaborative dialogue.

Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.

<HARD-GATE> Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity. </HARD-GATE>

Model split

You are the ORCHESTRATOR on the main thread. You drive the interactive dialogue — exploring context, asking clarifying questions one at a time, presenting design sections, getting approval, and transitioning to writing-plans.

Opus is invoked as a subagent for judgment work:

  • Proposing 2-3 approaches with trade-offs and a recommendation (checklist step 4).
  • Writing the final design doc and running the spec self-review (checklist steps 6-7).

Dispatch via Agent(subagent_type="general-purpose", model="opus", effort=..., prompt=...) — effort xhigh for proposing approaches and writing the spec, high for spec revisions after review (the same pairs as the dev-orchestrator plan writer / reviser). Never put ultrathink into the prompt — effort is set on the dispatch. The subagent has NO session context — the prompt must be fully self-contained (include the user's original request, the collected Q&A, project context you gathered, any constraints).

The main thread never writes the spec directly — dispatch Opus. Exception: the main thread runs git add / git commit after Codex Astra returns APPROVED (mechanical orchestrator work — see "Codex Astra Spec Review" below).

Codex Astra xhigh is invoked for spec review (loop cap=4) after Opus finishes writing. Before dispatch, Read ../codex-invocation/SKILL.md (manual-only — never through the Skill tool); dispatch via companion.mjs --background because standard Agent paths auto-reject on this machine. See "Codex Astra Spec Review" below for the loop procedure. The reviewer is the profile of the spec-reviewer role ("$AD" route spec-reviewer, per ../agent-invocation/SKILL.md, also manual-only); by default Astra, the same command.

Anti-Pattern: "This Is Too Simple To Need A Design"

Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.

Checklist

You MUST create a task for each of these items and complete them in order:

  1. Explore project context — check files, docs, recent commits
  2. Offer visual companion (if topic will involve visual questions) — this is its own message, not combined with a clarifying question. See the Visual Companion section below.
  3. Ask clarifying questions — one at a time, understand purpose/constraints/success criteria
  4. Propose 2-3 approaches — dispatch Opus subagent (xhigh); present its options with trade-offs and recommendation
  5. Present design — in sections scaled to their complexity, get user approval after each section
  6. Write design doc — dispatch Opus subagent (xhigh) to write docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md
  7. Spec self-review — Opus runs this inline while writing the spec (placeholders, contradictions, ambiguity, scope — see below)
  8. Codex Astra xhigh reviews spec — loop cap=4, using ./spec-reviewer-prompt.md; if CHANGES_REQUESTED, dispatch Opus (high) to revise then Codex re-reviews; after APPROVED, commit from main thread
  9. User reviews written spec — ask user to review the spec file before proceeding
  10. Transition to implementation — Read ../writing-plans/SKILL.md and follow it to create the implementation plan

Pre-send self-check (every message during the dialogue)

Before sending EACH message while this skill is active, verify — and rewrite the message if any check fails:

  1. Which checklist step (1–10) am I on? Name it to yourself. If you can't, re-read the Checklist before sending anything.
  2. At most ONE question in this message. Count the question marks — two or more questions means rewrite into one.
  3. Visual Companion offer is alone. If this message offers the companion, it contains nothing else.
  4. HARD-GATE intact. No code, no file edits, no scaffolding, no implementation-skill invocation before the user approved the design.
  5. Opus output is presented, not dumped. If this message relays subagent results, it is conversational and leads with the recommendation.

Process Flow

digraph brainstorming {
    "Explore project context" [shape=box];
    "Visual questions ahead?" [shape=diamond];
    "Offer Visual Companion\n(own message, no other content)" [shape=box];
    "Ask clarifying questions" [shape=box];
    "Propose 2-3 approaches" [shape=box];
    "Present design sections" [shape=box];
    "User approves design?" [shape=diamond];
    "Write design doc\n(Opus subagent)" [shape=box];
    "Spec self-review\n(Opus inline)" [shape=box];
    "Codex Astra reviews spec\n(loop cap=4)" [shape=box];
    "Codex approved?" [shape=diamond];
    "Commit spec" [shape=box];
    "User reviews spec?" [shape=diamond];
    "Read ../writing-plans/SKILL.md" [shape=doublecircle];

    "Explore project context" -> "Visual questions ahead?";
    "Visual questions ahead?" -> "Offer Visual Companion\n(own message, no other content)" [label="yes"];
    "Visual questions ahead?" -> "Ask clarifying questions" [label="no"];
    "Offer Visual Companion\n(own message, no other content)" -> "Ask clarifying questions";
    "Ask clarifying questions" -> "Propose 2-3 approaches";
    "Propose 2-3 approaches" -> "Present design sections";
    "Present design sections" -> "User approves design?";
    "User approves design?" -> "Present design sections" [label="no, revise"];
    "User approves design?" -> "Write design doc\n(Opus subagent)" [label="yes"];
    "Write design doc\n(Opus subagent)" -> "Spec self-review\n(Opus inline)";
    "Spec self-review\n(Opus inline)" -> "Codex Astra reviews spec\n(loop cap=4)";
    "Codex Astra reviews spec\n(loop cap=4)" -> "Codex approved?" ;
    "Codex approved?" -> "Write design doc\n(Opus subagent)" [label="CHANGES_REQUESTED\n(Opus revises, re-review)"];
    "Codex approved?" -> "Commit spec" [label="APPROVED"];
    "Commit spec" -> "User reviews spec?";
    "User reviews spec?" -> "Write design doc\n(Opus subagent)" [label="changes requested"];
    "User reviews spec?" -> "Read ../writing-plans/SKILL.md" [label="approved"];
}

The terminal state is loading writing-plans — Read ../writing-plans/SKILL.md (it is manual-only; the Skill tool refuses it). Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you load after brainstorming is writing-plans.

The Process

Understanding the idea:

  • Check out the current project state first (files, docs, recent commits)
  • Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
  • If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
  • For appropriately-scoped projects, ask questions one at a time to refine the idea
  • Prefer multiple choice questions when possible, but open-ended is fine too
  • Only one question per message - if a topic needs more exploration, break it into multiple questions
  • Focus on understanding: purpose, constraints, success criteria

Exploring approaches (delegate to Opus):

Dispatch an Opus subagent (model="opus", effort="xhigh") with a self-contained prompt. Include:

  • The user's original request (verbatim)
  • Project context you collected (relevant files, docs, recent commits)
  • Full Q&A from clarifying questions
  • Any constraints or preferences the user stated
  • Ask: "Propose 2-3 different approaches with trade-offs. Lead with your recommended option and explain why."

Copy-paste skeleton (fill every <...>; delete nothing except placeholders you replace):

You are helping during a brainstorming session. Propose 2-3 different approaches for the task below, with trade-offs. Lead with your recommended option and explain why.

## User's original request (verbatim)
<paste the user's message>

## Project context gathered
<relevant files, docs, recent commits — summarized findings, not raw dumps>

## Clarifying Q&A so far
Q: <question> → A: <user's answer>
Q: ... → A: ...

## Constraints / preferences the user stated
<paste, or "none stated">

Return: for each approach — a name, 2-3 sentence description, pros, cons, and when it wins. Mark your recommended option first and explain the recommendation.

When Opus returns, present the options to the user conversationally — don't dump the subagent's output verbatim. Lead with Opus's recommendation and reasoning. You may paraphrase for fit with the ongoing dialogue, but do not invent options Opus didn't propose.

Presenting the design:

  • Once you believe you understand what you're building, present the design
  • Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
  • Ask after each section whether it looks right so far
  • Cover: architecture, components, data flow, error handling, testing
  • Be ready to go back and clarify if something doesn't make sense

Design for isolation and clarity:

  • Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
  • For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
  • Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
  • Smaller, well-bounded units are also easier for you to work with - you reason better about code you can hold in context at once, and your edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.

Working in existing codebases:

  • Explore the current structure before proposing changes. Follow existing patterns.
  • Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design - the way a good developer improves code they're working in.
  • Don't propose unrelated refactoring. Stay focused on what serves the current goal.

After the Design

Documentation (delegate to Opus):

Dispatch an Opus subagent (model="opus", effort="xhigh") with a self-contained prompt. Include:

  • The user's original request and any constraints
  • The full approved design (all sections from the dialogue, verbatim as the user approved)
  • Target path: docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md (user preferences for spec location override this default)
  • Instruction to use the elements-of-style:writing-clearly-and-concisely skill if available
  • Instruction to run the self-review pass (below) inline before returning, fixing issues in place

Copy-paste skeleton (fill every <...>):

Write a design spec document based on the approved design below. Write the file yourself (you have Write/Edit tools). Do NOT commit.

## Target path
<repo-root>/docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md   (create directories if missing)

## User's original request (verbatim)
<paste>

## Constraints
<paste, or "none stated">

## Approved design (verbatim, as the user approved it)
<paste ALL design sections from the dialogue>

## Style
If the elements-of-style:writing-clearly-and-concisely skill is available, use it.

## Self-review (run inline after writing, fix issues in place, no separate round trip)
1. Placeholder scan: any 'TBD', 'TODO', incomplete sections, vague requirements? Fix them.
2. Internal consistency: do sections contradict each other? Does architecture match feature descriptions?
3. Scope check: focused enough for a single implementation plan, or does it need decomposition?
4. Ambiguity check: could any requirement be read two ways? Pick one, make it explicit.

Return: the spec file path + one-paragraph summary of what the spec covers and any decisions you made where the design was ambiguous.

Opus writes the file directly (general-purpose agent has Write/Edit tools). After Opus returns, do NOT commit yet — first run the Codex Astra spec review (see below).

Spec Self-Review (already embedded in the skeleton above — keep it when editing the prompt):

Instruct Opus: "After writing the spec, review it with fresh eyes and fix inline. No need to re-review — just fix and move on:

  1. Placeholder scan: Any 'TBD', 'TODO', incomplete sections, or vague requirements? Fix them.
  2. Internal consistency: Do any sections contradict each other? Does the architecture match the feature descriptions?
  3. Scope check: Is this focused enough for a single implementation plan, or does it need decomposition?
  4. Ambiguity check: Could any requirement be interpreted two different ways? If so, pick one and make it explicit."

Codex Astra Spec Review (after Opus returns):

Dispatch the spec-reviewer profile ("$AD" route spec-reviewer; by default Codex Astra xhigh, the same command: --model gpt-6-astra --effort xhigh) using ./spec-reviewer-prompt.md. Read-only, no --write; a route line with readOnly=none puts the job inside ../agent-invocation/SKILL.md "No-edit check". Loop cap=4.

Verdict handling:

  • APPROVED → commit the spec file from main thread (git add <path> + git commit with subject docs(specs): add <topic>, Co-Authored-By trailer). Then User Review Gate.
  • CHANGES_REQUESTED → dispatch an Opus subagent (effort="high", revision mode) with the BLOCKING list, passing the spec file path. After Opus revises, re-run Codex with --resume-task <task id of the previous review round>. Increment counter.
  • Round 4 without APPROVED → escalate to user: spec path + last blocking list + one-sentence disagreement summary. User picks: accept / another round / close.

Anti-pingpong and no-progress rules same as dev-orchestrator Step 2.

User Review Gate: After Codex returns APPROVED and spec is committed, ask the user to review the written spec before proceeding:

"Spec written and committed to <path>. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."

Wait for the user's response. If they request changes, dispatch an Opus subagent (effort="high", revision mode) to apply them, then re-run the spec review loop. Only proceed once the user approves.

Implementation:

  • Read ../writing-plans/SKILL.md and follow it to create a detailed implementation plan (manual-only skill — never through the Skill tool)
  • Do NOT load any other skill. writing-plans is the next step.

Key Principles

  • One question at a time - Don't overwhelm with multiple questions
  • Multiple choice preferred - Easier to answer than open-ended when possible
  • YAGNI ruthlessly - Remove unnecessary features from all designs
  • Explore alternatives - Always propose 2-3 approaches before settling
  • Incremental validation - Present design, get approval before moving on
  • Be flexible - Go back and clarify when something doesn't make sense

Visual Companion

A browser-based companion for showing mockups, diagrams, and visual options during brainstorming. Available as a tool — not a mode. Accepting the companion means it's available for questions that benefit from visual treatment; it does NOT mean every question goes through the browser.

Offering the companion: When you anticipate that upcoming questions will involve visual content (mockups, layouts, diagrams), offer it once for consent:

"Some of what we're working on might be easier to explain if I can show it to you in a web browser. I can put together mockups, diagrams, comparisons, and other visuals as we go. This feature is still new and can be token-intensive. Want to try it? (Requires opening a local URL)"

This offer MUST be its own message. Do not combine it with clarifying questions, context summaries, or any other content. The message should contain ONLY the offer above and nothing else. Wait for the user's response before continuing. If they decline, proceed with text-only brainstorming.

Per-question decision: Even after the user accepts, decide FOR EACH QUESTION whether to use the browser or the terminal. The test: would the user understand this better by seeing it than reading it?

  • Use the browser for content that IS visual — mockups, wireframes, layout comparisons, architecture diagrams, side-by-side visual designs
  • Use the terminal for content that is text — requirements questions, conceptual choices, tradeoff lists, A/B/C/D text options, scope decisions

A question about a UI topic is not automatically a visual question. "What does personality mean in this context?" is a conceptual question — use the terminal. "Which wizard layout works better?" is a visual question — use the browser.

If they agree to the companion, read the detailed guide before proceeding: skills/brainstorming/visual-companion.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.