finishing-a-development-branch

Automate feature branch finishing with merge, PR, keep, or discard options.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/steltz/skill-factory --skill finishing-a-development-branch-steltz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/steltz/skill-factory/tree/main/references/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/steltz/skill-factory --skill finishing-a-development-branch-steltz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishing a development branch often requires coordinating test validation, deciding the right path for integration, and cleaning up work artifacts. This skill provides a structured, repeatable process that guides you through testing, base-branch determination, option selection, and post-work cleanup.

Core Features & Use Cases

  • Provides a step-by-step workflow to verify tests, determine the base branch, present four explicit options, and perform cleanup.
  • Handles common workflows for merging, opening PRs, or discarding feature branches, with guardrails around test results.
  • Use Case: After completing a feature, run this skill to finalize changes by choosing Merge locally, Push and Create PR, Keep as-Is, or Discard, ensuring a clean history.

Quick Start

To finish a development branch, run the finishing-a-development-branch skill on your feature branch after tests pass to receive structured merge, PR, or cleanup options.

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 finish a git feature branch after my tests pass?

To finish a git feature branch after tests pass, this skill identifies your base branch and presents four explicit options: local merge, PR creation, keep the branch, or discard the work.

What are my options for merging a completed development branch?

Options for merging a completed development branch include merging locally, pushing to create a pull request, keeping the branch as-is, or discarding the work entirely with optional cleanup.

Can I automate git branch cleanup when finalizing a feature?

Yes, you can automate git branch cleanup when finalizing a feature because the skill performs optional cleanup after you select your preferred merge, pull request, or discard action.

Does this git workflow skill require passing tests before merging?

Yes, this git workflow skill requires passing tests before merging because it applies guardrails around test results and only activates when your repository tests are passing.

What is the best way to manage pull request creation from a feature branch?

The best way to manage pull request creation from a feature branch is using a structured workflow that determines the base branch first, then offers explicit push and PR creation steps.

Why do I need to identify a base branch before merging a git feature?

You need to identify a base branch before merging a git feature because the skill requires a known base branch to properly enumerate merge actions and perform optional cleanup.