trellis-brainstorm
Skill này làm gì
Skill hướng dẫn một cuộc trò chuyện lên kế hoạch trước khi viết bất kỳ code nào. Dành cho người có ý tưởng tính năng chưa rõ hoặc có nhiều cách tiếp cận khả dĩ.
Khi nào nên dùng
- ✓Khi một yêu cầu tính năng chưa rõ hoặc có nhiều cách tiếp cận hợp lệ.
- ✓Khi bạn mô tả một tính năng mới hoặc tác vụ phức tạp và muốn xác định phạm vi trước.
- ✓Khi bạn muốn yêu cầu được thống nhất trước khi agent bắt đầu triển khai.
Liên kết skill
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-brainstorm/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
“Tôi muốn thêm lời mời thành viên vào ứng dụng. Hãy giúp tôi làm rõ phạm vi trước khi chúng ta xây dựng bất cứ thứ gì.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tạo một thư mục tác vụ với file yêu cầu nháp, kiểm tra codebase để tìm câu trả lời, và hỏi bạn một câu có giá trị cao mỗi lần. Nó không bắt đầu triển khai cho đến khi bạn phê duyệt kế hoạch cuối.
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.
Trellis Brainstorm
Non-Negotiable Planning Contract
A request to build, implement, fix, refactor, or "go ahead" is not approval to leave planning. Task-creation consent is also not implementation approval.
For every non-trivial task, the user must respond at least once after the initial request before implementation begins. If no clarification is needed, that response must approve the final planning summary described below.
While any user-owned product, scope, UX, compatibility, risk, or acceptance decision remains unresolved, end the turn with exactly one highest-value question. Do not edit product code, dispatch implementation, or run task.py start.
Non-Negotiable Evidence Rule
If a question can be answered by exploring the codebase, explore the codebase instead.
This is mandatory. Before asking the user a question, first check whether the answer is already available in code, tests, configs, docs, existing specs, or task history.
Do not ask the user to confirm facts that the repository can answer. Ask only for product intent, preference, scope, risk tolerance, acceptance behavior, or decisions that remain ambiguous after inspection.
Repository evidence establishes current behavior and technical constraints. The user's intended behavior, feature scope boundaries, and UX preferences are never answerable by repository evidence alone, even when an existing pattern exists; existing patterns are options and recommendation evidence, not decisions.
Use this skill during Phase 1 planning to turn the user's request into clear requirements and planning artifacts.
Preconditions
Use this skill only after task-creation consent has been given and the user is ready to enter Trellis planning.
If no task exists yet, create one:
TASK_DIR=$(python3 ./.trellis/scripts/task.py create "<short task title>" --description "<one-line summary>" --slug <slug>)
Use a concise title from the user's request. Both the title and --description must be non-empty — create rejects blanks, and a record with either one empty is refused at archive. Use a slug without a date prefix. task.py create adds the MM-DD- directory prefix automatically.
task.py create creates the default prd.md. Update that file with the current understanding before asking follow-up questions.
Planning Flow
- Capture the user's request and initial known facts in
prd.md. - Inspect available evidence before asking questions:
- code, tests, fixtures, and configs
- README files, docs, existing specs, and domain notes
- related Trellis tasks, research files, and session history when present
- Separate what you found into:
- confirmed facts
- product intent still needed from the user
- scope or risk decisions still needed from the user
- likely out-of-scope items
- If a user-owned decision remains, ask the single highest-value question, include your recommendation and trade-off, then stop. Do not perform implementation work in the same turn.
- After each user answer, update
prd.md, recompute the decision inventory, and repeat from step 2. - When no user-owned decision remains, create or update
design.mdandimplement.mdfor complex tasks. - Run the requirement convergence gate, then the PRD convergence pass.
- Present the final planning summary and stop. Do not run
task.py startor edit product code in the same turn. - Only a subsequent user message that explicitly approves the latest planning summary authorizes
task.py startand implementation. If the artifacts change materially after approval, repeat the final review.
Do not invent a project-specific product/spec hierarchy. If the repository already has product, domain, or spec docs, use them. If it does not, proceed with the evidence that exists.
Question Rules
Ask only one question per message.
Each question must include:
- the decision needed
- why the answer matters
- your recommended answer
- the trade-off if the user chooses differently
Do not ask process questions such as whether to search, inspect files, or continue brainstorming. Do the evidence work directly. Ask the user only when the remaining issue is a product decision, preference, scope boundary, or risk tolerance choice.
Recommendations are not default selections. Never choose a recommended product decision on the user's behalf merely because the user asked for implementation.
Do not manufacture clarification questions when the request and repository eviden
Câu hỏi thường gặp
Nó có bắt đầu viết code ngay không?
Không. Nó đợi câu trả lời của bạn và sự phê duyệt kế hoạch cuối trước khi triển khai.
Nó có hỏi những câu mà code có thể trả lời không?
Không. Nó kiểm tra repository trước và chỉ hỏi bạn về ý định, phạm vi và sở thích.
Nó tạo ra gì?
Một thư mục tác vụ với yêu cầu và phạm vi đã thu hẹp cho phiên bản đầu tiên.
Chi tiết
Mô tả gốc của tác giả
Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex task.
repo: mindfold-ai/Trellis
Độ phổ biến
- Sao GitHub
- 15k
- Vị trí xếp hạng
- #11025
- Giấy phép
- AGPL-3.0
- Cập nhật
- 29/9/2026
Bình luận
- …
Thêm skill từ kho mã này
first-principles-thinking
15kGiúp agent kiểm tra kế hoạch hoặc thiết kế bằng cách chia nó thành sự thật cơ bản và suy luận từ đó, thay vì dựa vào thói quen hay quy ước.
python-design
15kGiúp agent viết và review script dòng lệnh Python với module rõ ràng, giao diện đơn giản và ít sự phức tạp ẩn.
trellis-before-dev
15kGiúp agent đọc các hướng dẫn viết code và ghi chú công việc của dự án trước khi bắt đầu viết code, để nó làm theo quy ước của nhóm.
trellis-break-loop
15kGiúp agent phân tích lỗi sau khi sửa, tìm loại nguyên nhân gốc và vì sao các bản sửa trước thất bại, rồi lưu bài học để tránh lặp lại.
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.