finishing-a-development-branch

Finalize a development branch with merge, PR, keep, or discard options.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/aRustyDev/git-atomic --skill finishing-a-development-branch-arustydev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/aRustyDev/git-atomic/tree/main/.claude/skills/method-branch-completion-dev
Command: npx skills add https://github.com/aRustyDev/git-atomic --skill finishing-a-development-branch-arustydev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams to finalize a development branch after implementation and tests pass by offering a structured path for merging, creating a pull request, or cleaning up.

Core Features & Use Cases

  • Verified test results before proceeding with integration decisions.
  • Four explicit options: merge locally, push and create PR, keep the branch, or discard the work.
  • Automatic cleanup steps for related worktrees where applicable.

Quick Start

After a feature branch passes all tests, run this skill to choose one of the four options to finalize the integration and clean up the working context.

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?

To finalize a git development branch after tests pass, you choose from four explicit options: merge locally, push and create a pull request, keep the branch, or discard the work. The workflow detects the base branch and cleans up related worktrees automatically.

What are the options for finishing a feature branch in a git workflow?

The options for finishing a feature branch are merging locally, pushing to create a pull request, keeping the branch active, or discarding the work entirely. This ensures a clear path to integrate changes once implementation and tests are verified.

How do I clean up a git worktree when merging a completed branch?

When merging a completed branch, worktree cleanup is handled automatically during the finalization process. After you select your preferred integration method, the workflow removes the related worktree to keep your working context clean.

Does finalizing a development branch require test validation first?

Yes, finalizing a development branch requires verified test results before proceeding with integration decisions. The workflow enforces this validation to ensure the feature branch is complete and stable before offering the merge or pull request options.

Can I discard changes instead of merging a finished feature branch?

Yes, you can discard changes instead of merging a finished feature branch. Discarding the work is one of the four explicit choices offered during the branch finalization process, providing a structured way to abandon unwanted implementation.