brainstorming
What it does
This skill has the AI ask focused questions and agree on a design before it writes any code for a new feature or a fix. It is for anyone who wants changes built to an accepted plan rather than guessed at.
When to use it
- βWhen you ask for a new feature and want the design settled before any code is written.
- βWhen you want a behavior change planned and written down before it is built.
- βWhen you report a bug and want the cause and the fix agreed before changes are made.
Skill link
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/brainstorming/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBefore you build the new login reminder, ask me what I want and show me a plan to approve.β
5 new skills a week. 1 minute to read.
How it works
The AI asks questions in rounds, writes a short task spec once you accept the design, then builds it and updates the project's specs to match.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Brainstorming
Interview before you build
- Every feature, behavior change, or bug fix goes through this workflow. Depth scales with the change and never drops to zero: a small change gets one short round and a few lines of task-spec.
- The aim is a design the user understands and has accepted, recorded in a spec-graph
task-spec, built, and then reflected in the durable specs β not a speculative implementation. - Do not implement until the design is accepted. An explicit design or acceptance criteria in the request count as approval of what they cover; build on them and never re-ask them.
Doc map
fixing-a-bug.mdβ the bug branch (step 4).amending-specs.mdβ bringing the durable specs in line with what was built (step 9); the tail of both paths and where this workflow ends.
The workflow
- Orient. Use the spec-graph skill to find the specs that govern the area; read code second to confirm implementation details. Do not read unrelated specs. Note any non-obvious decision the change touches whose why is not recorded β it becomes a question in step 6.
- Scope check. If the request bundles independent product decisions or subsystems, separate them rather than blending unrelated decisions into one task-spec.
- Open a task-spec.
spec_createatask-specat.thinkrail/context/TASK-<slug>.md(id, title, status: draft, parent: the nearest relevant module). This gitignored file is the one temporary design artifact; update it as answers land. - Bug? When the request reports something that behaves wrongly, follow
fixing-a-bug.mdnow; it returns here at step 5 (the "bug" is really a feature) or step 8. - Product phase. Interview what the change is for before how to build it: why it is needed, for whom, what the user will see and do β including empty, error, and edge states β and how we will know it is done. Ask in rounds per the asking-user-questions concept skill until no such decision is left assumed; look facts up instead of asking them. Record the answers in the task-spec's Product section, then confirm that understanding with one inference-confirmation question before any technical choice β skip only when the request itself supplied all of it.
- Technical phase. Interview the technical decisions that the product answers leave open: constraints, compatibility, how the change will be verified, and the why of any decision noted in step 1. If you can name an alternative you rejected, especially where the code lives (server or browser, contract or display), show it with the trade-off instead of deciding silently. Record the Design section: the chosen approach and why, trade-offs that matter, explicit deferrals.
- Self-review, then review once. Remove placeholders, contradictions, accidental scope expansion, and ambiguous requirements; then present one cohesive design scaled to the change. Ask for approval only when the request has not already approved it; revise the task-spec if the user adjusts it.
- Build. Implement against the accepted design. Before handoff, self-review the task diff: no silent lint/type suppressions, duplicated nontrivial derivations, rationale left as code comments, or remnants of a replaced pattern.
- Amend specs. Follow
amending-specs.md.
Skipped questions or a host with no question UI are not blockers: record the best assumption in the task-spec as unconfirmed and continue.
What a good task-spec looks like
- Scoped to one piece of work, sized to it β a few lines for a small change.
- Request, Product (or Bug for the bug branch), Design, unconfirmed assumptions, and explicit deferrals.
- Temporary: its durable content moves into the owning specs at step 9 instead of being copied.
Red flags β stop
- You are editing source code before the design is accepted.
- "It's small" or "the request already says what to do" β the workflow scales down, it does not switch off.
- You offered technical options before the product phase was settled.
- The task-spec has a Design section the user hasn't seen.
- You are about to hand off without step 9 β the specs drift from the code one skipped change at a time.
Ending
amending-specs.md ends this workflow. PR lifecycle work, if requested, then enters
shipping-a-pr separately.
FAQ
Does it skip questions if I already gave details?
No. Detailed requests make the interview shorter, but the questions still happen.
Is it used for small typo fixes?
No. Changes that do not change behavior, such as typos or docs, do not need it.
Where is the agreed design saved?
In a task spec file inside the project's ThinkRail context folder.
Details
Original description by the author
Use before implementing a feature, a change in behavior, or a bug fix β however small. Not for questions, checks, or edits that change no behavior (typos, documentation or configuration only, mechanical refactors).
repo: JetBrains/thinkrail
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13489
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
asking-user-questions
7.1kTeaches your agent how to ask you clear questions in rounds, with good answer options, until the open points are settled.
choosing-a-workflow
7.1kHelps your agent pick the right ThinkRail workflow for a new project, a pull request, or any change to what the product does.
importing-a-codebase
7.1kTeaches your agent to read an existing codebase and draft its first set of project specs, asking you only where the code is unclear.
setting-up-a-project
7.1kHelps your agent set up a project for spec-driven work, choosing the right path for a new idea, existing code or a project already documented.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.