finishing-a-development-branch

Verify tests and execute branch integration options with worktree cleanup.

34|5|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/weiping/pi-superpowers --skill finishing-a-development-branch-weiping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/weiping/pi-superpowers/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/weiping/pi-superpowers --skill finishing-a-development-branch-weiping

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of completing development work, ensuring code is verified, integrated correctly, and worktrees are managed efficiently.

Core Features & Use Cases

  • Test Verification: Automatically runs tests before any integration steps.
  • Integration Options: Provides clear choices for merging locally, creating a Pull Request, or keeping the branch.
  • Worktree Management: Handles the cleanup or preservation of worktrees based on the chosen integration path.
  • Use Case: After finishing a feature, you can use this skill to automatically run tests, push your branch, and create a PR, or merge it directly into the main branch if tests pass.

Quick Start

Use the finishing-a-development-branch skill to finalize the current development branch.

Frequently Asked Questions about finishing-a-development-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I finalize a development branch and merge changes locally?

To finalize a development branch and merge locally, the skill verifies tests, offers a local merge option, and manages worktree cleanup automatically. It executes the chosen workflow to integrate code changes into the main branch.

How do I run tests before creating a pull request for my feature branch?

Running tests before creating a pull request is handled automatically by the skill. It performs test verification first, then presents the pull request creation option and pushes your branch if tests pass.

What is the best way to manage git worktrees after finishing development?

Managing git worktrees after development is handled based on your integration choice. The skill executes worktree cleanup if you merge or create a pull request, or preserves the worktree if you keep the branch as-is.

Can I keep a development branch as-is without merging or creating a pull request?

Yes, you can keep a development branch as-is. The skill presents this preservation option during the workflow, ensuring your branch and its associated worktree remain intact without forcing an immediate code integration.

What development workflow options are available for integrating code changes?

Development workflow options for integrating code changes include merging locally, creating a pull request, keeping the branch as-is, or discarding it. The skill verifies tests before presenting and executing these clear integration choices.