SKILL

finishing-a-development-branch

当实施已完成、所有测试通过,且你需要决定如何整合工作时使用。

机器翻译
查看英文原文

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Finishing a Development Branch
  • Overview
  • Step 1: Verify Tests
  • Step 2: Detect Environment
  • Step 3: Determine Base Branch
  • Step 4: Present Options
  • Step 5: Execute Choice
  • Option 1: Merge Locally

Core principle: Verify tests → Detect environment → Present options → Execute choice → Clean up. Announce at start: "I'm using the finishing-a-development-branch skill to complete this work." Run the project's full test suite (npm test / cargo test / pytest / go test ./...). If tests fail, report the failures and stop — the menu comes after a green suite: If tests pass: continue to Step 2. This determines which menu to show and how cleanup works: | State | Menu | Cleanup | |-------|------|---------| | GITDIR == GITCOMMON (normal repo) | Standard 3 options | No worktree to clean up | | GITDIR != GITCOMMON, named branch | Standard 3 options | Provenance-based (see Step 6) | | GITDIR != GITCOMMON, detached HEAD | Reduced 2 options (no merge) | Externally managed — leave in place | The base branch is whatever this work forked from — usually named in the plan, the conversation, or the branch's upstream. If it is not already known, ask: "This branch split from - is that correct?" Confirm before merging: merging into the wrong base is expensive to undo. Normal repo and named-branch worktree — present exactly these 3 options: Detached HEAD — present exactly these 2 options: Present the men

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
obra/superpowers
源文件
skills/finishing-a-development-branch/SKILL.md
固定版本
22f0b463e7a5e579904dd6211a520321035526f7
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:obra/superpowers · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T17:01:01.749Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。