agentleFS
REPOZYREPOZY/superpowers-optimized/skills/brainstorming/SKILL.md

brainstorming

Skill146 starsChanged 7 months agoMITView on GitHub

MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces an approved design document before any code is written. Triggers on: "build this", "add a feature", "I want to change", "how should we", "design", "architect", "new project", "refactor", "we need to add/build/create", "implement a new". Routed by using-superpowers, or invoke directly via /brainstorming.

190 other projects use a version of this, 66 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions 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-code-review

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

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    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

We split this skill into the rules it gives an agent

12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not write code, edit files, or invoke implementation skills until design approval is explicit.

    line 18
  2. Distinctive:

    Ask all clarifying questions together in a single turn.

    line 28
  3. Very specific:

    If the repo lacks CLAUDE.md / AGENTS.md and long-term collaboration is expected, consider using claude-md-creator to create a minimal, …

    line 32
  4. Distinctive:

    Do not skip this step. An approach that survives adversarial questioning is an approach worth approving.

    line 36
  5. Distinctive:

    The terminal state is invoking writing-plans: Do NOT invoke frontend-design, or any other implementation skill.

    line 76
  6. Distinctive:

    After writing the spec document, look at it with fresh eyes:

    line 80
  7. Distinctive:

    Internal consistency: Do any sections contradict each other?

    line 83
  8. Distinctive:

    After the spec self-review passes, ask the user to review the written spec before proceeding:

    line 91
  9. Distinctive:

    Wait for the user's response.

    line 95
  10. Distinctive:

    Verify requirements are complete and unambiguous before designing.

    line 116
  11. Distinctive:

    Remove non-essential scope (YAGNI).

    line 125
  12. Distinctive:

    If user feedback conflicts with prior assumptions, revise design before proceeding.

    line 126

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

Turn rough requests into an approved design before implementation.

Hard Gate

Do not write code, edit files, or invoke implementation skills until design approval is explicit.

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

  1. Inspect project context (relevant files, docs, recent commits).
  2. Assess scope: if the project touches 4+ independent subsystems or would require 20+ implementation tasks, decompose into sub-projects. Design each sub-project as a separate spec. Present the decomposition to the user for approval before designing individual specs.
  3. Ask all clarifying questions together in a single turn. Use multiple-choice format where possible to reduce round trips.
  4. Propose 2-3 approaches with trade-offs and a recommendation.
  5. Present design in short sections; confirm each section.
  6. For existing codebases: study existing patterns before proposing new ones. Match the project's conventions unless there's a compelling reason to diverge. Design for isolation — prefer changes that minimize blast radius and don't require coordinating across many files.
  7. If the repo lacks CLAUDE.md / AGENTS.md and long-term collaboration is expected, consider using claude-md-creator to create a minimal, high-signal context file.
  8. Before approving the design — failure-mode check: State the top 2-3 ways the chosen approach could fail or not cover all cases. This is adversarial reasoning, not a list of known assumptions — actively try to break the design. For each failure mode found, assess severity:
    • Critical (design fails for a significant user scenario): revise the design before proceeding.
    • Minor (edge case, acceptable limitation): document as a non-goal in the design. Do not skip this step. An approach that survives adversarial questioning is an approach worth approving.
  9. Save approved design to docs/specs/YYYY-MM-DD-<topic>-design.md.
  10. Spec self-review — quick inline check for placeholders, contradictions, ambiguity, scope (see Spec Self-Review below). Fix issues inline; no subagent dispatch needed.
  11. User reviews written spec — ask user to review the spec file before proceeding (see User Review Gate below).
  12. Invoke writing-plans.

Process Flow

digraph brainstorming {
    "Explore project context" [shape=box];
    "Assess scope" [shape=diamond];
    "Decompose into sub-projects" [shape=box];
    "Ask clarifying questions" [shape=box];
    "Propose 2-3 approaches" [shape=box];
    "Present design sections" [shape=box];
    "User approves design?" [shape=diamond];
    "Failure-mode check" [shape=box];
    "Save design doc" [shape=box];
    "Spec self-review\n(fix inline)" [shape=box];
    "User reviews spec?" [shape=diamond];
    "Invoke writing-plans" [shape=doublecircle];

    "Explore project context" -> "Assess scope";
    "Assess scope" -> "Decompose into sub-projects" [label="4+ subsystems"];
    "Assess scope" -> "Ask clarifying questions" [label="manageable"];
    "Decompose into sub-projects" -> "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?" -> "Failure-mode check" [label="yes"];
    "Failure-mode check" -> "Save design doc";
    "Save design doc" -> "Spec self-review\n(fix inline)";
    "Spec self-review\n(fix inline)" -> "User reviews spec?";
    "User reviews spec?" -> "Save design doc" [label="changes requested"];
    "User reviews spec?" -> "Invoke writing-plans" [label="approved"];
}

The terminal state is invoking writing-plans. Do NOT invoke frontend-design, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.

Spec Self-Review

After writing the spec document, look at it with fresh eyes:

  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.

Fix any issues inline. No need to re-review — just fix and move on.

User Review Gate

After the spec self-review passes, 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, make them and re-run the self-review. Only proceed once the user approves.

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?
  • Smaller, well-bounded units are easier to reason about — you reason better about code you can hold in context at once, and your edits are more reliable when files are focused.

Design Contents

Include:

  • Scope and non-goals
  • Architecture and data flow
  • Interfaces/contracts
  • Error handling
  • Testing strategy
  • Rollout or migration notes (if needed)

Engineering Rigor

Apply senior engineering judgment during design:

  • Verify requirements are complete and unambiguous before designing.
  • Identify edge cases, error paths, and cross-platform concerns early.
  • Evaluate trade-offs explicitly (performance vs. readability, flexibility vs. simplicity).
  • Prioritize modularity, SOLID principles, and production-ready standards.
  • Flag architectural risks that will be expensive to fix later.

Interaction Rules

  • Batch all questions into a single turn; use multiple choice to reduce ambiguity.
  • Remove non-essential scope (YAGNI).
  • If user feedback conflicts with prior assumptions, revise design before proceeding.

Exit Criteria

  • User approved the design.
  • Failure-mode check completed — critical failure modes resolved, minor ones documented as non-goals.
  • Design document exists at the required path (docs/specs/).
  • Spec self-review completed — placeholders, contradictions, ambiguity, and scope issues resolved.
  • User reviewed the written spec and approved.
  • writing-plans is invoked as the next skill.

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.