跳到正文
Skillpedia
任务与项目15k · #11025

trellis-brainstorm

它能做什么

该技能在编写任何代码之前引导一次规划对话。适合那些功能想法尚不清晰、或有多种可能方案的人。

适用场景

  • ✓当功能需求不清楚,或有多种同样合理的方案的时候。
  • ✓当你描述一个新功能或复杂任务,并希望先界定范围的时候。
  • ✓当你希望在智能体开始实现之前就需求达成一致的时候。

技能链接

https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-brainstorm/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-brainstorm/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想在应用中添加团队邀请功能。在我们开始构建之前,请帮我厘清范围。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会创建一个任务文件夹,其中包含需求草稿文件,在代码库中查找答案,并且每次只向你提出一个高价值的问题。在你批准最终计划之前,它不会开始实现。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  1. Capture the user's request and initial known facts in prd.md.
  2. 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
  3. 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
  4. 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.
  5. After each user answer, update prd.md, recompute the decision inventory, and repeat from step 2.
  6. When no user-owned decision remains, create or update design.md and implement.md for complex tasks.
  7. Run the requirement convergence gate, then the PRD convergence pass.
  8. Present the final planning summary and stop. Do not run task.py start or edit product code in the same turn.
  9. Only a subsequent user message that explicitly approves the latest planning summary authorizes task.py start and 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

常见问题

它会马上开始编码吗?

不会。它会等待你的回答,并等你批准最终计划后才开始实现。

它会问代码能回答的问题吗?

不会。它会先检查代码仓库,只询问你的意图、范围和偏好。

它会产生什么?

一个包含需求的任务文件夹,以及第一个版本的收窄范围。

详情

作者的原始描述

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

热度

GitHub 星标
15k
排名
#11025
许可证
AGPL-3.0
更新时间
2026/9/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能