开发分支收尾
原名:finishing-a-development-branch
在实现完成后整理测试、合并、PR 和清理选项。
中文 Skills 技能说明
适合功能已完成且测试通过的最后阶段。技能会根据仓库状态给出合并、发起 PR、保留或清理分支的可选路径;删除分支和工作树前必须确认未提交内容。
上游能力依据
上游原始适用说明:Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
上游 SKILL.md 主要章节(保留原文标题):
- Overview
- The Process
- Step 1: Verify Tests
- Step 2: Detect Environment
- Step 3: Determine Base Branch
- Step 4: Present Options
- Step 5: Execute Choice
- Step 6: Cleanup Workspace
- Quick Reference
- Common Mistakes
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- obra
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/obra/superpowers/tree/main/skills/finishing-a-development-branch
适用范围
平台:linux、macos、windows;标签:Git、Branch、Workflow
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。