Loading...
Loading...
Compare original and translation side by side
/trellis:start/trellis:startTASK_DIR=$(python3 ./.trellis/scripts/task.py create "brainstorm: <short goal>" --slug <auto>)prd.mdundefinedTASK_DIR=$(python3 ./.trellis/scripts/task.py create "brainstorm: <short goal>" --slug <auto>)prd.mdundefined
---
---What I already knowTechnical Notes| Complexity | Criteria | Action |
|---|---|---|
| Trivial | Single-line fix, typo, obvious change | Skip brainstorm, implement directly |
| Simple | Clear goal, 1–2 files, scope well-defined | Ask 1 confirm question, then implement |
| Moderate | Multiple files, some ambiguity | Light brainstorm (2–3 high-value questions) |
| Complex | Vague goal, architectural choices, multiple approaches | Full brainstorm |
Note: Task already exists from Step 0. Classification only affects depth of brainstorming.
| 复杂度 | 判断标准 | 行动方案 |
|---|---|---|
| Trivial | 单行修复、拼写错误、明显的变更 | 跳过头脑风暴,直接实现 |
| 简单 | 目标明确,涉及1-2个文件,范围清晰 | 提1个确认问题,然后实现 |
| 中等 | 涉及多个文件,存在部分模糊点 | 轻度头脑风暴(2-3个高价值问题) |
| 复杂 | 目标模糊,涉及架构选择,存在多种实现路径 | 完整头脑风暴 |
注意:任务已在步骤0中创建。分类仅影响头脑风暴的深度。
undefinedundefined
Then ask **one** preference question:
* "Which approach do you prefer: A / B / C (or other)?"
---
然后提出**一个**偏好类问题:
* “你偏好哪种方案:A / B / C(或其他)?”
---I understand you want to implement: <current goal>.
Before diving into design, let me quickly diverge to consider three categories (to avoid rework later):
1. Future evolution: <1–2 bullets>
2. Related scenarios: <1–2 bullets>
3. Failure/edge cases: <1–2 bullets>
For this MVP, which would you like to include (or none)?
1. Current requirement only (minimal viable)
2. Add <X> (reserve for future extension)
3. Add <Y> (improve robustness/consistency)
4. Other: describe your preferenceRequirementsOut of Scope我理解你想要实现:<当前目标>。
在深入设计之前,我先快速从三个维度拓展思路(避免后续返工):
1. 未来演进:<1-2个要点>
2. 相关场景:<1-2个要点>
3. 故障/边缘情况:<1-2个要点>
对于本次MVP,你希望包含哪些内容(或都不包含)?
1. 仅实现当前需求(最小可行版本)
2. 添加<X>(为未来扩展预留空间)
3. 添加<Y>(提升健壮性/一致性)
4. 其他:描述你的偏好Open QuestionsRequirementsAcceptance CriteriaOut of ScopeFor <topic>, which approach do you prefer?
1. **Option A** — <what it means + trade-off>
2. **Option B** — <what it means + trade-off>
3. **Option C** — <what it means + trade-off>
4. **Other** — describe your preference关于<主题>,你偏好哪种方案?
1. **选项A** — <说明内容 + 权衡点>
2. **选项B** — <说明内容 + 权衡点>
3. **选项C** — <说明内容 + 权衡点>
4. **其他** — 描述你的偏好Based on current information, here are 2–3 feasible approaches:
**Approach A: <name>** (Recommended)
* How:
* Pros:
* Cons:
**Approach B: <name>**
* How:
* Pros:
* Cons:
Which direction do you prefer?undefined基于当前信息,以下是2-3个可行方案:
**方案A:<名称>**(推荐)
* 实现方式:
* 优点:
* 缺点:
**方案B:<名称>**
* 实现方式:
* 优点:
* 缺点:
你偏好哪个方向?undefined
---
---Here's my understanding of the complete requirements:
**Goal**: <one sentence>
**Requirements**:
* ...
* ...
**Acceptance Criteria**:
* [ ] ...
* [ ] ...
**Definition of Done**:
* ...
**Out of Scope**:
* ...
**Technical Approach**:
<brief summary + key decisions>
**Implementation Plan (small PRs)**:
* PR1: <scaffolding + tests + minimal plumbing>
* PR2: <core behavior>
* PR3: <edge cases + docs + cleanup>
Does this look correct? If yes, I'll proceed with implementation.以下是我对完整需求的理解:
**目标**:<一句话总结>
**需求**:
* ...
* ...
**验收标准**:
* [ ] ...
* [ ] ...
**完成定义**:
* ...
**非核心范围**:
* ...
**技术方案**:
<简要总结 + 关键决策>
**实施计划(拆分小PR)**:
* PR1:<脚手架 + 测试 + 基础 plumbing>
* PR2:<核心功能>
* PR3:<边缘情况 + 文档 + 清理>
这样是否正确?如果确认,我将开始实施。prd.mdundefinedprd.mdundefined
---
---User describes task
↓
Step 0: Ensure task exists (create if missing)
↓
Step 1: Auto-context (inspect repo/docs, research if needed)
↓
Step 2: Classify complexity
↓
Step 4 (if triggered): Research-first → propose options
↓
Step 5: Expansion sweep (diverge)
↓
Step 6: Q&A loop (converge; update PRD each turn)
↓
Step 8: Final confirmation + small-PR plan
↓
Implement用户描述任务
↓
步骤0:确保任务存在(不存在则创建)
↓
步骤1:自动获取上下文(检查仓库/文档,必要时调研)
↓
步骤2:分类复杂度
↓
步骤4(如果触发):先调研 → 提出方案
↓
步骤5:拓展扫描(发散)
↓
步骤6:问答循环(收敛;每次循环后更新PRD)
↓
步骤8:最终确认 + 小PR计划
↓
实施| Command | When to Use |
|---|---|
| Entry point that triggers brainstorm |
| After implementation is complete |
| If new patterns emerge during work |
| 命令 | 适用场景 |
|---|---|
| 触发头脑风暴的入口 |
| 实施完成后使用 |
| 如果工作过程中出现新模式时使用 |