finishing-a-development-branch

Present merge, PR, keep, or discard options for a completed feature branch.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/leonardoteodoroo/amino-advanced --skill finishing-a-development-branch-leonardoteodoroo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/leonardoteodoroo/amino-advanced/tree/main/.agent/skills/finishing-a-development-branch
Command: npx skills add https://github.com/leonardoteodoroo/amino-advanced --skill finishing-a-development-branch-leonardoteodoroo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams through the finalization of a feature branch by offering explicit, structured options for merging, creating a pull request, or cleaning up the worktree.

Core Features & Use Cases

  • Finalizes work when implementation is complete and tests pass. Presents a deterministic set of actions to wrap up a development branch.
  • Flexible workflows: Merge locally, push to a PR, keep the branch for later, or discard if unnecessary.
  • Use Case: When a feature branch has passed all tests, decide how to integrate or retire it with minimal risk and clear accountability.

Quick Start

Use the finishing-a-development-branch skill after tests pass to determine the base branch and present the four finalize 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 finalize a git development branch after tests pass?

Merging a feature branch locally integrates completed work directly into the base branch within your local repository. This workflow validates that tests pass, identifies the base branch, and executes the merge while offering optional worktree cleanup.

What are the options for finishing a git feature branch?

The options for finishing a git feature branch include merging locally, pushing to create a pull request, keeping the branch for later work, or discarding it entirely. The workflow validates tests and identifies the base branch before scaffolding your chosen path.

How do I create a pull request from a completed development branch?

To create a pull request from a completed development branch, you select the push option during the finalization workflow. This scaffolds the PR action against the identified base branch after validating that all tests have passed successfully.

When should I discard a git branch instead of merging?

You should discard a git branch instead of merging when the development work is unnecessary or obsolete. The finalization workflow includes a discard option that safely retires the branch and performs optional cleanup to keep the worktree uncluttered.

Does the branch finalization workflow require passing tests?

Yes, the branch finalization workflow requires passing tests. It validates test results before presenting the structured merge, PR, keeping, or discard options to ensure only completed and verified implementation is integrated into the base branch.