brainstorming
Skill này làm gì
Skill này để AI đặt câu hỏi có trọng tâm và thống nhất thiết kế trước khi viết bất kỳ mã nào cho tính năng mới hoặc bản sửa lỗi. Phù hợp với bất kỳ ai muốn thay đổi được xây dựng theo một kế hoạch đã chấp nhận thay vì phỏng đoán.
Khi nào nên dùng
- ✓Khi bạn yêu cầu một tính năng mới và muốn thiết kế được chốt trước khi viết bất kỳ mã nào.
- ✓Khi bạn muốn một thay đổi hành vi được lên kế hoạch và ghi lại trước khi xây dựng.
- ✓Khi bạn báo một lỗi và muốn nguyên nhân cùng cách sửa được thống nhất trước khi thay đổi.
Liên kết skill
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/brainstorming/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi xây tính năng nhắc đăng nhập mới, hãy hỏi tôi điều tôi muốn và đưa tôi một kế hoạch để phê duyệt.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI hỏi theo vòng, viết một đặc tả công việc ngắn khi bạn chấp nhận thiết kế, rồi xây dựng và cập nhật các đặc tả của dự án để khớp với nó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Có bỏ qua câu hỏi nếu tôi đã đưa chi tiết không?
Không. Yêu cầu chi tiết làm cuộc phỏng vấn ngắn hơn, nhưng các câu hỏi vẫn được hỏi.
Có dùng cho sửa lỗi chính tả nhỏ không?
Không. Những thay đổi không đổi hành vi, như lỗi chính tả hoặc tài liệu, không cần skill này.
Thiết kế đã thống nhất được lưu ở đâu?
Trong một tệp đặc tả công việc bên trong thư mục ngữ cảnh ThinkRail của dự án.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.1k
- Vị trí xếp hạng
- #13489
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
asking-user-questions
7.1kDạy agent của bạn cách hỏi bạn những câu hỏi rõ ràng theo từng vòng, với các lựa chọn trả lời tốt, cho đến khi các điểm còn mở được giải quyết.
choosing-a-workflow
7.1kGiúp agent của bạn chọn đúng quy trình ThinkRail cho một dự án mới, một pull request hoặc bất kỳ thay đổi nào về những gì sản phẩm làm.
importing-a-codebase
7.1kDạy agent của bạn đọc một codebase đã có sẵn và soạn bộ đặc tả dự án đầu tiên, chỉ hỏi bạn khi mã nguồn chưa rõ.
setting-up-a-project
7.1kGiúp agent của bạn thiết lập dự án để làm việc theo đặc tả, chọn đúng con đường cho một ý tưởng mới, mã hiện có hoặc dự án đã có tài liệu.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.