agentleFS
bordenetbordenet/superpowers-plus/skills/engineering/brainstorming/skill.md

brainstorming

Skill8 starsChanged 7 months agoMITView on GitHub

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

194 other projects use a version of this, 54 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, testing-anti-patterns 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.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MicrosoftSkill

    testing-anti-patterns

    Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

    Also in 5 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • itallstartedwithaideaSkill

    long-horizon-workflows

    Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.

    Also in 4 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • +1 more from shibit-net

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 15 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 15

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any creative work: creating features, building components, adding functionality, or modifying behavior

    line 34
  2. Very specific:

    NOT for: bug fixing (systematic-debugging), extracting existing knowledge (expert-interviewer), choosing between known options (debate)

    line 36
  3. Distinctive:

    When in doubt between two paths, take the heavier one.

    line 79
  4. Distinctive:

    Ask clarifying questions — one at a time, prefer multiple choice

    line 96
  5. Distinctive:

    Check current project state first (files, docs, commits)

    line 122
  6. Distinctive:

    If project too large for single spec, help decompose into sub-projects

    line 123
  7. Distinctive:

    Ask one question per message

    line 124
  8. Distinctive:

    Ask after each section whether it looks right

    line 135
  9. Distinctive:

    Don't propose unrelated refactoring

    line 143
  10. Very specific:

    Write spec to docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md

    line 147
  11. Distinctive:

    Run spec review loop (subagent reviewer, max 3 iterations)

    line 148
  12. Distinctive:

    After presenting 3+ options: "Want me to render a comparison diagram?"

    line 175
  13. Distinctive:

    When showing a decision tree or flow: "I can render this as a flowchart if that would help"

    line 176
  14. Distinctive:

    When the user seems to be processing complex relationships — offer once.

    line 177
  15. Distinctive:

    If the user is in a browser context (Claude.ai, web app): offer SVG/visual rendering

    line 180
  16. Distinctive:

    If the user is in a terminal context (CLI, IDE): offer ASCII diagram or skip the offer

    line 181
  17. Distinctive:

    Fallback: If visual rendering is unavailable or declined, proceed without it — the brainstorm output is the deliverable, not the diagram.

    line 188

“Common” is measured: kept by at least 6 in 10 of the 174 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

When to Use

  • Before any creative work: creating features, building components, adding functionality, or modifying behavior
  • User says "design a feature," "build a new," "explore approaches"
  • NOT for: bug fixing (systematic-debugging), extracting existing knowledge (expert-interviewer), choosing between known options (debate)

Classify the request first, then work through the matching path below: understand context, refine the idea, present a design, get approval. Ceremony scales with the task; the approval gate never does.

Wrong skill? Bug fixing → systematic-debugging. Extracting existing knowledge → expert-interviewer. Choosing between known options → debate.

Ensemble Mode (Multi-Perspective)

For broad, ambiguous, or high-impact prompts on the architectural path, brainstorming can activate ensemble mode — dispatching parallel perspective lenses (Product, Architecture, Reliability, Security, Simplicity, Contrarian) for richer exploration. See references/ensemble-mode.md for full protocol.

Activation: Apply skills/_shared/multi-agent-activation-rubric.md. Score ≥ 6 → ensemble. Score = 5 → ask user. Score < 5 → single-agent (this checklist). Cost cap: 1.5× single-agent tokens. Max lenses: 4.

<HARD-GATE> Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented your intent and the user has approved it. This applies to EVERY path below and EVERY project regardless of perceived simplicity — the ceremony scales, the approval gate never does. </HARD-GATE>

Three Paths

Classify before your first question and say the classification out loud — "this looks bounded, so I'll present a short design here rather than write a spec" — so the user can override it:

  • Spike — a feasibility question ("can we...", "is it possible...", "quick and dirty is fine") whose output is an answer, not code you keep. Present the question and probe plan in 2-3 sentences, get a nod, then investigate as cheaply as correctness allows. No design doc, no spec file. Report findings as a recommendation; anything you built stays labeled throwaway.
  • Bounded — a well-scoped change to code that already exists in this repo: a new flag, a small endpoint, a one-file fix. Understanding the kind of app is not enough — bounded means the flow you're changing is already here to read. No existing flow to change means the task is architectural, not bounded. Ask the clarifying questions that matter, present a short design IN CHAT (a few sentences to a few short paragraphs), and STOP. No spec file, no plan document — implementation starts only after an explicit yes to that design.
  • Architectural — new projects, new subsystems, changes that restructure how components fit together or alter interfaces others depend on. Follow the full checklist below: questions, 2-3 approaches, sectioned design, written spec, spec review loop, then plan-and-execute.

When in doubt between two paths, take the heavier one. The ratchet is one-way: hidden complexity discovered mid-task upgrades the path — stop, say so, and step up. Nothing downgrades mid-task.

Checklist (complete in order)

Spike:

  1. Explore project context — enough to frame the probe
  2. Present question + probe plan (2-3 sentences)
  3. Get approval — a nod is enough
  4. Investigate — as cheaply as correctness allows
  5. Report findings — a recommendation; label anything built as throwaway

Bounded:

  1. Explore project context — check files, docs, recent commits
  2. Ask clarifying questions — one at a time, prefer multiple choice
  3. Present short design in chat — approach, files touched, testing
  4. Get approval — STOP and wait for an explicit yes; presenting the design and starting in the same breath skips the gate
  5. Implement via the normal development workflow (TDD applies) — no plan document

Architectural:

  1. Explore project context — check files, docs, recent commits
  2. Assess scope — if multiple independent subsystems, decompose first
  3. Ask clarifying questions — one at a time, prefer multiple choice, understand purpose/constraints/success criteria
  4. Propose 2-3 approaches — with trade-offs and your recommendation
  5. Present design — in sections scaled to complexity, get approval after each section
  6. Write design doc — save to docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md, commit
  7. Spec review loop — dispatch spec-document-reviewer subagent; fix issues; max 3 iterations then escalate to human
  8. User reviews written spec — ask user to review before proceeding
  9. Transition — invoke plan-and-execute skill (or debate first if ≥3 viable approaches need formal comparison)

The sections below (Understanding the Idea onward) are architectural-path depth. A spike stops at "present the probe, get a nod"; bounded work stops at context + a few questions + a short in-chat design.

Understanding the Idea

  • Check current project state first (files, docs, commits)
  • If project too large for single spec, help decompose into sub-projects
  • Ask one question per message
  • Focus on: purpose, constraints, success criteria

Exploring Approaches

  • Propose 2-3 different approaches with trade-offs
  • Lead with your recommendation and explain why

Presenting the Design

  • Scale each section to its complexity
  • Ask after each section whether it looks right
  • Cover: architecture, components, data flow, error handling, testing
  • Design for isolation: smaller units with clear purpose and well-defined interfaces

Working in Existing Codebases

  • Explore current structure before proposing changes — follow existing patterns
  • Include targeted improvements for problems affecting the current work
  • Don't propose unrelated refactoring

After the Design (architectural path)

  1. Write spec to docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md
  2. Run spec review loop (subagent reviewer, max 3 iterations)
  3. User reviews written spec
  4. If ≥3 viable approaches emerged — invoke debate to formally compare and red-team the already-surfaced approaches (NOT to generate new ones). debate expects to be handed the spec written in step 1 rather than re-deriving requirements itself.
  5. Invoke plan-and-execute skill for implementation plan

Key Principles

  • One question at a time — don't overwhelm
  • YAGNI ruthlessly — remove unnecessary features
  • Explore alternatives — always 2-3 approaches
  • Incremental validation — present, approve, move on

Example: Design Spec Output (architectural path)

# Design: Feature Name
## Approach: [Selected approach with rationale]
## Components: [Architecture, data flow, interfaces]
## Testing: [Strategy, edge cases]
## Status: Approved → invoke writing-plans

Visual Companion

Offer to render diagrams just-in-time, not upfront. Do not offer at the start of a brainstorm — wait until there is something worth visualizing.

When to offer:

  • After presenting 3+ options: "Want me to render a comparison diagram?"
  • When showing a decision tree or flow: "I can render this as a flowchart if that would help"
  • When the user seems to be processing complex relationships — offer once; do not repeat if declined.

Per-question rule:

  • If the user is in a browser context (Claude.ai, web app): offer SVG/visual rendering
  • If the user is in a terminal context (CLI, IDE): offer ASCII diagram or skip the offer

Never:

  • Offer visual rendering before any ideas have been explored
  • Offer repeatedly if the user declines
  • Render a diagram without offering first (unless user explicitly asks)

Fallback: If visual rendering is unavailable or declined, proceed without it — the brainstorm output is the deliverable, not the diagram.

The skill has a visual-companion.md reference file — use it for the rendering implementation details.

Failure Modes

FailureFix
Started coding before design approvalDelete code, restart from checklist step 3
Presented one approach as fait accompliBack up, generate 2-3 alternatives with trade-offs
Skipped spec review loopDispatch spec-document-reviewer sub-agent before proceeding
Called it "bounded" to skip the design stepReaching for a label to dodge ceremony IS the doubt — take the heavier path
Presented a bounded design and started before hearing yesThe gate is the approval, not the design's length — stop and wait
Called it bounded because you know this kind of appBounded measures the repo, not your familiarity — no existing flow to change means architectural
Kept a spike's throwaway code without re-classifyingA spike's output is an answer; keeping the code is a new request — classify it
Task grew mid-implementation, kept going on the old pathHidden complexity upgrades the path — stop, say so, step up

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.