finishing-a-development-branch

Verify test passes and execute merge, PR, or cleanup operations on development branches.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the difficulty of managing code quality and workflow when finishing a development branch, ensuring tests are passing before merging, creating pull requests, and safely cleaning up resources.

Core Features & Use Cases

  • Test Verification: Automates checking if all tests pass before proceeding with branch completion.
  • Workflow Options: Presents clear choices to merge, create a PR, keep, or discard a branch.
  • Execution Automation: Executes git commands to merge, push, or delete branches based on user-selected options.
  • Use Case: Developers completing feature work can use the skill to safely finalize their branch, create a PR, or discard it if obsolete.

Quick Start

Use the finishing-a-development-branch skill to verify test results, choose the desired workflow, and perform cleanup as needed.

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 merge a git branch after verifying tests pass?

To merge a git branch after tests pass, this skill automates test verification and presents structured options to merge, create a pull request, keep, or discard the branch. It executes operations safely through confirmation steps.

What is the best way to clean up local feature branches after a merge?

The best way to clean up local feature branches is using automated branch management that executes git commands to delete obsolete branches. This skill safely finalizes branches by confirming your choice before executing cleanup.

Can I create a pull request directly from my current development branch?

Yes, you can create a pull request directly from your development branch. The skill presents clear workflow options after verifying tests, allowing you to select PR creation and automating the required git commands.

Does this branch finalization process work with git worktree?

The branch finalization process supports git worktree environments by facilitating safe and efficient branch management. It verifies test passes and automates cleanup or merge operations based on your selected option.

When should I discard a development branch instead of merging it?

You should discard a development branch instead of merging when feature work becomes obsolete or tests fail. The skill provides a structured option to safely discard branches, executing git commands after user confirmation.