跳转到主要内容

Finishing A Development Branch

技能 已验证 活跃

在实现已完成、所有测试均通过,并且需要决定如何整合工作时使用 - 通过提供合并、PR 或清理的结构化选项来指导开发工作的完成

目的

通过提供结构化、自动化的工作流程来整合代码更改,从而简化和专业化开发工作的完成。

功能

  • 在继续之前验证测试
  • 检测 Git 环境状态
  • 提供结构化的合并/PR/丢弃选项
  • 自动合并分支和清理
  • 处理工作树来源和清理

使用场景

  • 将已完成的功能分支集成到主开发线
  • 决定已完成但未使用的开发分支的去向
  • 在合并/PR 之前通过运行测试来确保代码质量
  • 自动化开发工作树的清理

非目标

  • 编写新代码或实现功能
  • 运行代码审查或管理 PR 反馈
  • 将代码部署到生产环境
  • 管理本地分支和工作树操作之外的 Git 存储库

实践

  • 测试驱动开发
  • 工作流自动化
  • 代码集成

先决条件

  • 已安装并配置 Git
  • 包含通过测试的项目
  • 用于分支操作的适当 Git 权限

安装

请先添加 Marketplace

/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交2 days ago
GitHub 所有者 obra (opens in new tab)
星标189.3k
许可证MIT
状态
查看源代码

类似扩展

Project Session Manager

100

Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions

技能
Yeachan-Heo

Acp Router

100

Route plain-language requests for Pi, Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

技能
steipete

Add New Opc Skill

100

Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.

技能
ReScienceLab

Using Git Worktrees

100

在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。

技能
obra

Workflow Patterns

99

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

技能
wshobson

Public Google Drive

100

无需 OAuth 即可创建公开的 Google Docs 或 Google Sheet 文件。使用此技能创建和编辑 Google Docs 和 Sheets,无需登录 Google。文档可通过共享链接查看。首次使用时自动注册。

技能
zagmoai