AGENT SKILL

brainstorm

Turn an unclear request into an agreed design through research and rounds of questions, saving the design after each round. Use it for "let's brainstorm", "help me design this", "I want to build X but I'm not sure how", or "what are the options for this". It does not split a design into slices; the `slice` skill does.

License 许可
MIT
所属仓库
sQVe/tau
最近更新
2026-11-13
Stars
★ 3
Forks
0

01 前言 Front Matter

name
brainstorm
description
Turn an unclear request into an agreed design through research and rounds of questions, saving the design after each round. Use it for "let's brainstorm", "help me design this", "I want to build X but I'm not sure how", or "what are the options for this". It does not split a design into slices; the `slice` skill does.

02 资源文件 1

03 SKILL.md 正文

Brainstorm

When to use

Use this skill when the user describes something to build and the approach or the requirements are unclear. Do not use it for a design the user already agreed on. Use the slice skill for that.

Hard rules

  • Write nothing to Linear.
  • Save files only in the directory the slice tool's prepare action returns for the design's slug, such as .tau/slices/add-dark-mode.
  • Ask with ask_user_question, at most four questions per call.
  • Work one round at a time. Stop for the user where a step says so.
  • Before each stop for the user, update design.md in the directory from step 1 with the decisions so far, the findings, and the open questions. A later session can then resume from it.
  • At each stop, open tuicr on design.md before the question and collect after the answer, as the approval rule in the tracker skill's Procedure step 5 says. Treat the collected comments and edits as more answers for the next round. When the user agrees to the design but left a comment, revise design.md and ask again. A review is never agreement to the design.

Procedure

  1. Pick a short slug for the design. Call slice with prepare and that slug. If design.md exists in the returned directory, read it and resume from its open questions. Do not repeat a dead end or a rejected approach it lists unless the condition to revisit it holds.

  2. Research first. Read the code the request touches and follow the decision evidence planning guidance. Send wide reading to a scout when the subagent tools can launch one, and otherwise read it yourself. When an answer is observable, probe for it: run the command, read the output, or check the actual data. Ask the user only about priorities, preferences, and constraints that need human judgment. Read the structure criteria and answer all its plan questions except the file-size question. Record the module that owns the concept, the existing helpers and patterns to reuse, with paths, and each refactor the change needs first. Leave its file-size question to start-slice. If .pi/qa.md exists, read its ## Journeys index and the file of each indexed journey the request extends, for its current steps and end state.

  3. Ask a few frontier questions in each round. A frontier question is one whose prerequisites are settled. A question that depends on an open question waits for a later round. Research still running holds back only the questions of fact it will settle. The round never waits for it, and the research folds in next round. Keep a decisions table with the decision, the choice, and the reason.

  4. Present the research findings. Stop for the user.

  5. Derive three to six criteria, each traced to a research finding or a decision. Draw them from the structure facts and record constraints from step 2 as well: the owning module, the helpers to reuse, and the prerequisite refactors. Each criterion names what this idea turns on, such as "migrates the existing rows without a backfill window". A criterion that fits any project, such as maintainability, means you skipped this step. Propose two or three approaches and grade each against the criteria. Recommend one and say why. Stop for the user.

  6. Write the design summary, using the design template: the problem, the decisions table, the chosen approach, the usage flows, the architecture, the structure, the rejected approaches with the condition to revisit each, the dead ends, the acceptance criteria, the non-goals with reasons, and the open risks. In Structure, name the owning module, the modules and helpers to reuse, and each prerequisite refactor, with a reason for each.

    • Use the QA-guide template to identify journey flows and follow its journey shape.
    • With .pi/qa.md, mark each journey flow in ## Usage as a new journey or new steps of an indexed journey.
    • Write each marked flow's steps once, in its journey shape, rather than repeating them as an ordinary usage flow.
    • Keep code call sites and single-command flows in the ordinary usage format.
    • Without .pi/qa.md, tell the user that journeys need a QA guide.
    • Without .pi/qa.md, mark no journey and write ## Usage in the ordinary usage format.
  7. For an architectural or hard-to-reverse design, ask the user with ask_user_question whether to run a premortem. When the user accepts, send design.md to a fresh scout. Ask it to assume the design shipped and failed, and to write how it failed. When the subagent tools cannot launch a scout, write the premortem yourself and tell the user it does not come from a fresh reader. Apply all plan questions from the structure criteria in the same premortem, not a separate review. Leave the file-size question to start-slice. Turn each credible failure into a question for the user or an open risk in design.md. Skip this step for a design that is easy to undo.

  8. When the user agrees to the design, run the slice skill on the draft directory. Do this also when the work fits one PR.

04 同仓库更多 Skills