agentleFS
sergeeeysergeeey/Claude-cod-top-2026/skills/core/brainstorming/SKILL.md

brainstorming

Skill9 starsChanged 7 months agoMITView on GitHub

Goal: block premature design when the problem space is still unclear. Score each 0–1. ambiguity = 1 − Σ(score × weight). Check from code/context (do NOT ask what can be found out): - Existing interfaces and contracts - Dependencies that cannot be changed - Performance/security requirements Ask only what is NOT visible from the code: - "Is there a deadline or budget constraint?" - "Is this MVP or production-grade?" Credential deferral: if the design will eventually need a secret/credential (API…

194 other projects use a version of this.

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, 16 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 16

    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:

    USE when user asks about architecture, design, or alternatives.

    line 12
  2. Distinctive:

    MUST USE before multi-file changes requiring design decisions.

    line 13
  3. Very specific:

    If ambiguity > 0.20: ask ONE question targeting the weakest dimension → wait → re-score.

    line 49
  4. Distinctive:

    After 3 rounds: proceed with assumptions stated explicitly.

    line 51
  5. Distinctive:

    Goal: make sure we are solving the right problem.

    line 74
  6. Distinctive:

    Ask 1 question: *"What specific problem are we solving?

    line 76
  7. Distinctive:

    Wait for the answer. Do not jump to a solution.

    line 77
  8. Distinctive:

    Check from code/context (do NOT ask what can be found out):

    line 83
  9. Distinctive:

    Ask only what is NOT visible from the code:

    line 88
  10. Distinctive:

    Credential deferral: if the design will eventually need a secret/credential (API key, OAuth token, webhook URL) that isn't available right …

    line 92
  11. Distinctive:

    If there is a clear best option — say so directly, do not pretend to be neutral

    line 117
  12. Distinctive:

    After an option is chosen:

    line 123
  13. Distinctive:

    Wait for an explicit "yes" / "approved" / "do it"

    line 125
  14. Distinctive:

    Hard gate: do NOT start coding before confirmation

    line 127
  15. Distinctive:

    Scope Guard: if brainstorming goes beyond MVP — call scope-guard

    line 146
  16. Distinctive:

    Always explore codebase BEFORE asking questions — context before interview

    line 150
  17. Distinctive:

    If ambiguity score stays >20% after 3 rounds — proceed with assumptions stated explicitly

    line 151

“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
<!-- BSV — Brief Skill View | поиск: BSV Скил : brainstorming TL;DR : Мозговой штурм идей без критики Вызов : 'брейншторм', 'придумай варианты', `brainstorm:` НЕ для : Принятие финального решения -->

name: brainstorming description: > [STATUS: review] [CONFIDENCE: high] [REVIEWED: 2026-03-13] USE when user asks about architecture, design, or alternatives. MUST USE before multi-file changes requiring design decisions. Triggers: how to best, what are the options, let's think, design, brainstorm, alternatives, trade-offs, architecture, approach. ESPECIALLY when tempted to jump straight to code without design.

Skill: Socratic Design Brainstorming

When to Load

  • New feature / module without a clear specification
  • Architectural decision with non-obvious trade-offs
  • User says "let's think", "how to best do this", "what are the options"

Principle

One question at a time. 2-3 alternatives with trade-offs. Hard gate: "design approved" before code.


Phase 0: Deep Interview (Ambiguity Gating)

<!-- Source: oh-my-claudecode (14K stars) — reduces rework by 40-60% -->

Goal: block premature design when the problem space is still unclear.

Ambiguity Score

Evaluate four dimensions before any design work:

DimensionWeightQuestion
Goal clarity0.3Is the desired outcome specific?
Scope0.3Are boundaries clear (in/out)?
Constraints0.2Are tech/time/resource limits known?
Success criteria0.2Can we verify when done?

Score each 0–1. ambiguity = 1 − Σ(score × weight).

Protocol

  • If ambiguity > 0.20: ask ONE question targeting the weakest dimension → wait → re-score.
  • Repeat until ambiguity ≤ 0.20 or 3 rounds reached.
  • After 3 rounds: proceed with assumptions stated explicitly.

Hard Rules

  1. Explore codebase FIRST — read code/context before asking anything.
  2. Never ask more than 1 open-ended question at a time. Multiple enumerable choices (pick a stack, pick a scope tier, yes/no on a tradeoff) may be clustered into a single AskUserQuestion call instead of separate turns — clustering applies to closed-choice questions, not to open framing questions.
  3. Max 3 rounds — then state assumptions and move forward.
  4. If goal clarity scores near 0 (the user has "something" in mind but can't yet state it), show 2-3 concrete example scenarios from this project's domain before the first question — a vague "what do you want" gets a vague answer; "here's what this could look like: A, B, C — which is closer, or something else?" gives the user something to react to. Skip this when goal clarity is merely low-but-nonzero — examples anchor answers unnecessarily when the user already has real direction, narrowing them toward the examples shown (source: launch-your-agent, Anthropic reference skill).

4 Phases

Phase 1: Problem Framing

Goal: make sure we are solving the right problem.

  • Ask 1 question: "What specific problem are we solving? Who is the user and what will they get?"
  • Wait for the answer. Do not jump to a solution.
  • Restate the problem in 1 sentence for confirmation.

Phase 2: Constraint Discovery

Goal: identify constraints BEFORE generating solutions.

Check from code/context (do NOT ask what can be found out):

  • Existing interfaces and contracts
  • Dependencies that cannot be changed
  • Performance/security requirements

Ask only what is NOT visible from the code:

  • "Is there a deadline or budget constraint?"
  • "Is this MVP or production-grade?"

Credential deferral: if the design will eventually need a secret/credential (API key, OAuth token, webhook URL) that isn't available right now, don't stall the whole design on it. Do every piece of design and staging work that doesn't need the credential first, then name exactly what's needed and exactly where to get it in one line ("you'll need a Slack webhook — create one at api.slack.com/apps → Incoming Webhooks"), so the user can fetch it in parallel while the rest proceeds. Never let "we're missing a credential" block work that doesn't actually depend on it.

Phase 3: Solution Exploration

Goal: 2-3 options with explicit trade-offs.

Format for each option:

### Option A: [name]
- Summary: [1-2 sentences]
- Pros: [specific]
- Cons: [specific]
- Effort: [low/medium/high]
- When to choose: [context]

Rules:

  • Minimum 2, maximum 3 options (more = decision paralysis)
  • One option is always the simplest (80/20)
  • If there is a clear best option — say so directly, do not pretend to be neutral
  • Show what is lost with each choice, not only what is gained

Phase 4: Design Decision

Goal: lock in the decision before code.

After an option is chosen:

  1. Confirm: "Summary: we choose [option] because [reason]. Correct?"
  2. Wait for an explicit "yes" / "approved" / "do it"
  3. Record the decision in decisions.md (if architectural)
  4. Hard gate: do NOT start coding before confirmation

Anti-patterns

Don't doWhyDo instead
Ask a question that can be found in the codeWastes timeRead/Grep first, ask only what is non-obvious
More than 3 optionsDecision paralysis2-3 with a clear recommendation
Ask 3 open-ended questions at onceOverload, shallow answers1 open question → answer → next (enumerable choices may still cluster via AskUserQuestion)
Brainstorming for trivial tasksOverhead > valueBug in 1 file = just fix it
Pretend to be neutralDirectness is valuedRecommend the best option explicitly

Workflow Integration

  • Plan-First Protocol: brainstorming = Design phase between Explore and Plan
  • Scope Guard: if brainstorming goes beyond MVP — call scope-guard
  • Architect agent: for complex architectural brainstorming — delegate to architect

Gotchas

  • Always explore codebase BEFORE asking questions — context before interview
  • If ambiguity score stays >20% after 3 rounds — proceed with assumptions stated explicitly

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.