finishing-a-development-branch

Automates feature branch finalization by verifying tests and guiding merge/PR workflows.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill finishing-a-development-branch-hongmaple0820
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/development/finishing-a-development-branch
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill finishing-a-development-branch-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams decide how to safely integrate finished work by offering a clear set of structured options for merging, PR creation, or cleanup.

Core Features & Use Cases

  • Verify that tests pass, identify the base branch, present four explicit options, and perform the chosen action (merge, PR, keep, or discard).
  • Works for feature branches in typical git workflows and can be tuned to project-specific base branches.
  • Use case: after completing a feature, run this skill to guide the merge strategy and ensure a clean integration.

Quick Start

After finishing a feature, run this skill to select and perform the preferred integration path.

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 git feature branch and choose a merge strategy?

To finalize a git feature branch, the skill verifies tests, detects the base branch, and presents four explicit options: merge locally, push and create a pull request, keep the branch, or discard it. This ensures safe completion with structured prompts and automated cleanup.

What is the best way to automate git branch cleanup after finishing development?

Automating git branch cleanup involves choosing a discard or merge option from a structured prompt after tests pass. The workflow detects the base branch and performs the chosen action, applying automated cleanup to remove the finished feature branch safely.

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

To verify tests before creating a pull request, run a finalization workflow that checks test status and identifies the base branch. Once tests pass, it offers an explicit option to push the feature branch and create a PR directly.

Can I use this workflow to merge a feature branch locally instead of pushing a PR?

Yes, you can merge a feature branch locally instead of pushing a PR. The workflow detects your base branch and provides an explicit local merge option alongside the push, keep, and discard choices after verifying tests.

Does this git branch management workflow work with custom base branches?

Yes, this git branch management workflow works with custom base branches. It detects the base branch automatically and can be tuned to project-specific base branches for typical git workflows before offering merge or pull request options.

What should I do if I want to keep my git feature branch instead of merging it?

If you want to keep your git feature branch instead of merging it, select the keep branch option. The workflow presents this as one of four explicit choices after verifying tests, ensuring the branch remains intact without forced cleanup.