agentleFS
llopresto87llopresto87/Cypress/skills/brainstorm-internal/SKILL.md

brainstorm-internal

Skill119 starsChanged 30 days agoMITView on GitHub

The divergence technique CYPRESS applies to itself, with no user in the loop — generating genuinely distinct options against evidence already in hand, stating what would have to be true for each, and naming the one fact that would kill each. Use when a choice is the session's to make and the user has nothing to add to it - filling grill.md §7, assembling an ADR's rejected alternatives, choosing between two implementations that satisfy the same contract, or deciding how to sequence work. The user-facing mode is brainstorm-socratic; the protocol owns which mode you are in.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Every rule below exists because of that one failure.

    line 49
  2. Distinctive:

    For each option, name the single fact that would kill it: If an option has no kill condition it is not a real option.

    line 69
  3. Distinctive:

    Every precondition is marked known-true, known-false, or unchecked.

    line 98
  4. Very specific:

    If the decision turns out to need the user's confirmation, it was the user's, and you are in the wrong mode: brainstorm.mode-selection is …

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

brainstorm-internal

Some choices are not the user's. Which of two implementations satisfies a contract better, how to sequence four increments, what an ADR should record as rejected: the user has nothing to add, and asking costs a turn and gets "you decide". This is the divergence technique for those.

This mode runs with nobody to ask: it sets no pace or cap, waits for no confirmation, and exits on a written options set. The nine-question machinery in docs/graph/skills/brainstorm-socratic.md belongs to the other mode, the one with a user in it; brainstorm.mode-selection in docs/graph/protocols/brainstorm.md says which mode you are in.

The failure this exists to prevent

A session brainstorming against itself generates one real option and two strawmen. It has already, quietly, decided; what it produces is the decision plus two alternatives shaped to lose. The output looks exactly like genuine divergence (three options, a comparison, a pick), and an ADR built on it records rejected alternatives nobody ever considered.

Every rule below exists because of that one failure.

The method

  1. Write the decision as a question with at least two answers you could defend. If you cannot defend the second answer, you have not found an option yet; you have found an objection to one. Go back.
  2. Generate against evidence already in hand: the ledgers, the wiki pages, the specs, the source. This mode ONLY reads evidence in hand; web research is agent.research-scout's, and questions to the user are skill.brainstorm-socratic's. If a genuine option needs evidence you do not have, that is the finding: name it and say which of the two it would settle.
  3. For each option, state what would have to be true for it to be right. Not its advantages: its preconditions. This is the step that kills strawmen, because an option whose preconditions you cannot write down is one you invented to lose.
  4. For each option, name the single fact that would kill it. If an option has no kill condition it is not a real option; if two options share a kill condition they are one option described twice.
  5. Say which preconditions are already known true, known false, or unchecked. Unchecked is the useful category and the one that gets collapsed: an option rejected on an unchecked precondition is rejected on a guess, and must be recorded as such.
  6. Pick, and record why the others lost, each against its kill condition. The losers go into grill.md §7 or the ADR's rejected alternatives verbatim; that is what makes this mode's output worth producing rather than reasoning silently.

Honesty checks before you exit

  • Could a competent reader of the losing options tell they were seriously considered? If the answer depends on your say-so, they were not.
  • Did any option change shape while you worked? Real divergence moves; a set that arrives finished was a decision wearing three hats.
  • Is any option rejected on a precondition you never checked? Say so in the record, or check it.
  • Did you produce exactly three options because three is the habit? Two defensible options beat three where one is filler.

Exit conditions

  • Each option carries its preconditions and its one kill condition.
  • Every precondition is marked known-true, known-false, or unchecked.
  • The pick names which kill condition retired each loser.
  • The options set is written where the next step reads it: grill.md §7, an ADR's rejected alternatives, or the plan record.

If the decision turns out to need the user's confirmation, it was the user's, and you are in the wrong mode: brainstorm.mode-selection is the test, and switching is cheap while the options set is fresh.

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.