Loading...
Loading...
Compare original and translation side by side
| Superpower | When | Priority |
|---|---|---|
| finishing-a-development-branch | After archive is complete | MUST |
| 超能力(Superpower) | 时机 | 优先级 |
|---|---|---|
| finishing-a-development-branch | 归档完成后 | 必须(MUST) |
| Thought | Reality |
|---|---|
| "The change is already archived, finishing-a-development-branch is optional cleanup" | Archive without branch guidance leaves orphan branches and uncommitted work. The skill ensures nothing is forgotten. |
| "I'll just tell the user to create a PR manually" | finishing-a-development-branch offers structured options (merge, PR, cleanup) tailored to the current state. Manual advice misses context. |
| "Skipping sync is fine, the user can run it later" | There is no separate sync skill. Archive is the only place features get synced. Skipping means features are lost from living documentation. |
| "The .orig backups can be cleaned up later" | Orphaned |
| "Glossary terms can be added later, it's just docs" | Once the features sync into |
| "We didn't write any ADRs but the design.md captures everything" | design.md gets archived with the change. Cross-change decisions need to live in |
| 想法 | 实际情况 |
|---|---|
| "变更已归档,finishing-a-development-branch只是可选的清理工作" | 未进行分支指导的归档会留下孤立分支和未提交的工作。该技能确保不会遗漏任何内容。 |
| "我会直接告诉用户手动创建PR" | finishing-a-development-branch会根据当前状态提供结构化选项(合并、PR、清理)。手动建议会缺失上下文信息。 |
| "跳过同步也没关系,用户之后可以再运行" | 没有单独的同步技能。归档是功能同步至活文档的唯一途径。跳过同步意味着功能会从活文档中丢失。 |
| ".orig备份文件之后再清理也可以" | 孤立的 |
| "术语表可以之后再添加,只是文档而已" | 一旦功能同步至 |
| "我们没有编写任何ADR,但design.md已记录所有内容" | design.md会随变更一起归档。跨变更的决策需要存放在 |
.feature.origbeat/features/beat/CONTEXT.mdbeat/features/.feature.origbeat/CONTEXT.mddigraph archive {
"Select change" [shape=box];
"Check artifact completion" [shape=diamond];
"Warn incomplete" [shape=box];
"Check task completion" [shape=diamond];
"Warn incomplete tasks" [shape=box];
"Gherkin done?" [shape=diamond];
"Ask capability mapping" [shape=box];
"Scan features for\nundefined terms" [shape=box, style=bold];
"Sync features" [shape=box];
"Skip sync" [shape=box];
"Last-mile ADR sweep" [shape=box, style=bold];
"Move to archive" [shape=box];
"Invoke finishing-a-development-branch" [shape=box, style=bold];
"Show summary" [shape=doublecircle];
"Select change" -> "Check artifact completion";
"Check artifact completion" -> "Warn incomplete" [label="pending found"];
"Check artifact completion" -> "Check task completion" [label="all done/skipped"];
"Warn incomplete" -> "Check task completion" [label="user confirms"];
"Check task completion" -> "Warn incomplete tasks" [label="incomplete"];
"Check task completion" -> "Gherkin done?" [label="all complete\nor no tasks"];
"Warn incomplete tasks" -> "Gherkin done?" [label="user confirms"];
"Gherkin done?" -> "Ask capability mapping" [label="done"];
"Gherkin done?" -> "Skip sync" [label="skipped"];
"Ask capability mapping" -> "Scan features for\nundefined terms";
"Scan features for\nundefined terms" -> "Sync features";
"Sync features" -> "Last-mile ADR sweep";
"Skip sync" -> "Last-mile ADR sweep";
"Last-mile ADR sweep" -> "Move to archive";
"Move to archive" -> "Invoke finishing-a-development-branch";
"Invoke finishing-a-development-branch" -> "Show summary";
}beat/changes/archive/beat/changes/<name>/status.yamlreferences/status-schema.mddonependingskippedpendingtasks.md- [ ]- [x]status.yamlskippeddonebeat/changes/<name>/features/*.featureproposal.mddesign.mdbeat/config.yamlreferences/config-schema.mdlanguage"Where should each feature be synced? Existing capabilities: [list from beat/features/]. Or enter a new name."
beat/CONTEXT.mdreferences/context-format.mdbeat/CONTEXT.md"Term '<term>' appears in scenarios but isn't in beat/CONTEXT.md. Add it now?"
- Yes (recommended): provide a one-sentence definition; Beat appends it
- Skip this term
- Skip all remaining (record the count for the summary)
beat/CONTEXT.mdreferences/context-format.md_Avoid_beat/CONTEXT.mdbeat/features/mkdir -p beat/features| Source (change) | Target (beat/features/) | Behavior |
|---|---|---|
| | Add or update feature files |
| | Copy to capability |
| | Copy to capability |
status.yamlgherkin.modifiedgherkin.modifiedchanges/<name>/features/beat/features/<capability>/.feature.origbeat/features/@scenariobeat/changes/.../x.featurebeat/features/<capability>/x.feature.feature.origbeat/features/beat/features/<capability>/README.mdbeat/features/README.mdstatus.yamlsyncdocs/adr/design.mdtasks.mddocs/adr/NNNN-/beat:design/beat:plan/beat:apply"No ADRs recorded for this change. Was there any hard-to-reverse + surprising + real-trade-off decision worth recording before archiving?"
- No, none qualified
- Yes, let me describe it now
references/adr-format.mddocs/adr/status.yamlarchivemkdir -p beat/changes/archiveYYYY-MM-DD-<change-name>mv beat/changes/<name> beat/changes/archive/YYYY-MM-DD-<name>## Archive Complete
**Change:** <change-name>
**Archived to:** beat/changes/archive/YYYY-MM-DD-<name>/
**Features:** Synced to beat/features/ (or "Sync skipped" or "No features to sync")
**Glossary:** N terms added to beat/CONTEXT.md (or "no changes" / "M terms skipped")
**ADRs:** N written to docs/adr/ (or "none recorded — last-mile sweep declined")
**Artifacts:** N done, M skipped
**Tasks:** X/Y complete (or "No tasks file")superpowers:finishing-a-development-branchdigraph archive {
"Select change" [shape=box];
"Check artifact completion" [shape=diamond];
"Warn incomplete" [shape=box];
"Check task completion" [shape=diamond];
"Warn incomplete tasks" [shape=box];
"Gherkin done?" [shape=diamond];
"Ask capability mapping" [shape=box];
"Scan features for\nundefined terms" [shape=box, style=bold];
"Sync features" [shape=box];
"Skip sync" [shape=box];
"Last-mile ADR sweep" [shape=box, style=bold];
"Move to archive" [shape=box];
"Invoke finishing-a-development-branch" [shape=box, style=bold];
"Show summary" [shape=doublecircle];
"Select change" -> "Check artifact completion";
"Check artifact completion" -> "Warn incomplete" [label="pending found"];
"Check artifact completion" -> "Check task completion" [label="all done/skipped"];
"Warn incomplete" -> "Check task completion" [label="user confirms"];
"Check task completion" -> "Warn incomplete tasks" [label="incomplete"];
"Check task completion" -> "Gherkin done?" [label="all complete\nor no tasks"];
"Warn incomplete tasks" -> "Gherkin done?" [label="user confirms"];
"Gherkin done?" -> "Ask capability mapping" [label="done"];
"Gherkin done?" -> "Skip sync" [label="skipped"];
"Ask capability mapping" -> "Scan features for\nundefined terms";
"Scan features for\nundefined terms" -> "Sync features";
"Sync features" -> "Last-mile ADR sweep";
"Skip sync" -> "Last-mile ADR sweep";
"Last-mile ADR sweep" -> "Move to archive";
"Move to archive" -> "Invoke finishing-a-development-branch";
"Invoke finishing-a-development-branch" -> "Show summary";
}beat/changes/archive/beat/changes/<name>/status.yamlreferences/status-schema.mddonependingskippedpendingtasks.md- [ ]- [x]status.yamlskippeddonebeat/changes/<name>/features/*.featureproposal.mddesign.mdbeat/config.yamlreferences/config-schema.mdlanguage"每个功能应同步至何处?现有能力:[来自beat/features/的列表]。或输入新名称。"
beat/CONTEXT.mdreferences/context-format.mdbeat/CONTEXT.md"术语'<term>'出现在场景中,但未在beat/CONTEXT.md中定义。是否现在添加?"
- 是(推荐):提供一句定义;Beat会将其追加到文件中
- 跳过该术语
- 跳过所有剩余术语(记录跳过数量至摘要)
references/context-format.mdbeat/CONTEXT.md_Avoid_beat/CONTEXT.mdbeat/features/mkdir -p beat/features| 源(变更) | 目标(beat/features/) | 行为 |
|---|---|---|
| | 添加或更新功能文件 |
| | 复制至对应能力目录 |
| | 复制至对应能力目录 |
status.yamlgherkin.modifiedgherkin.modifiedchanges/<name>/features/beat/features/<capability>/beat/features/.feature.orig@scenariobeat/changes/.../x.featurebeat/features/<capability>/x.featurebeat/features/.feature.origbeat/features/<capability>/README.mdbeat/features/README.mdstatus.yamlsyncdocs/adr/design.mdtasks.mddocs/adr/NNNN-/beat:design/beat:plan/beat:apply"此变更未记录任何ADR。是否存在任何难以逆转、令人意外且涉及实际权衡的决策值得在归档前记录?"
- 否,没有符合条件的决策
- 是,我现在描述它
references/adr-format.mddocs/adr/status.yamlarchivemkdir -p beat/changes/archiveYYYY-MM-DD-<change-name>mv beat/changes/<name> beat/changes/archive/YYYY-MM-DD-<name>## 归档完成
**变更:** <change-name>
**归档至:** beat/changes/archive/YYYY-MM-DD-<name>/
**功能:** 已同步至beat/features/(或"同步已跳过"或"无功能可同步")
**术语表:** 已向beat/CONTEXT.md添加N个术语(或"无变更" / "已跳过M个术语")
**ADR:** 已写入docs/adr/ N个(或"未记录任何ADR——最后一步扫描已拒绝")
**工件:** N个已完成,M个已跳过
**任务:** X/Y已完成(或"无任务文件")superpowers:finishing-a-development-branch