Loading...
Loading...
Compare original and translation side by side
gh issue view <number>CONTRIBUTING.md.github/CONTRIBUTING.mdgh issue view <number>CONTRIBUTING.md.github/CONTRIBUTING.mdgh issue view <number> --commentsgh issue view <number> --commentsundefinedundefined
The goal is to know WHERE each chunk of work would land, so sub-issues can be scoped to independent code areas.
目标是明确每个工作块的落地位置,以便将子issue的范围限定在独立的代码区域。undefinedundefined
Aim for **3–6 sub-issues** on a typical epic. If you're at 10+, the parent was probably multiple epics.
对于典型的史诗任务,目标拆分为**3–6个子issue**。如果拆分出10个以上,说明原父任务可能包含多个史诗任务。undefinedundefined
Get explicit user approval before creating issues. Offer to adjust the seams.
在创建issue前需获得用户明确批准。可根据用户意见调整拆分方式。for each sub-issue draft:
gh issue create --title "<title>" --body "<body from step 4>" --label "part-of-<parent>"gh issue comment <parent> --body "$(cat <<EOF
Spliced into sub-issues:
- [ ] #<NEW-1> — <title>
- [ ] #<NEW-2> — <title>
...
Closing this epic; individual sub-issues track work.
EOF
)"for each sub-issue draft:
gh issue create --title "<title>" --body "<body from step 4>" --label "part-of-<parent>"gh issue comment <parent> --body "$(cat <<EOF
已拆分为以下子issue:
- [ ] #<NEW-1> — <title>
- [ ] #<NEW-2> — <title>
...
关闭此史诗任务;具体工作由各个子issue跟踪。
EOF
)"undefinedundefinedundefinedundefinedundefinedundefined| Mistake | Correction |
|---|---|
| Sub-issues that depend on each other linearly (no parallelism) | Look for independent cuts (by entity, by layer, by user segment). A linear 5-issue chain is often a single sequenced issue with phases. |
| Sub-issues with no visible outcome | "Set up scaffolding" alone isn't an issue — fold it into the first user-visible slice. |
| Acceptance criteria that say "works well" | Concrete, testable: " |
| Creating issues before the user approves the splice | Always show the plan first (step 5). Issues are public records — wrong splits waste everyone's time. |
| 错误 | 修正方法 |
|---|---|
| 子issue线性依赖(无并行空间) | 寻找独立拆分方式(按实体、按层级、按用户群体)。线性的5个issue链通常应作为单个分阶段的issue。 |
| 子issue无可见成果 | “搭建脚手架”本身不应作为独立issue——将其合并到第一个用户可见的模块中。 |
| 验收标准模糊(如“运行良好”) | 改为具体、可测试的描述:“ |
| 在用户批准拆分计划前创建issue | 务必先展示计划(步骤5)。issue是公开记录——错误的拆分会浪费所有人的时间。 |