finishing-a-development-branch

Verify tests and present merge, PR, keep, or discard options for a development branch.

24|5|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/yves-s/just-ship --skill finishing-a-development-branch-yves-s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/yves-s/just-ship/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/yves-s/just-ship --skill finishing-a-development-branch-yves-s

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps developers safely complete a feature branch by ensuring tests pass, presenting clear integration options, and handling the chosen workflow without accidental deletions.

Core Features & Use Cases

  • Test verification before any merge or PR action.
  • Four deterministic options: merge locally, push and create a PR, keep the branch unchanged, or discard it with confirmation.
  • Automatic worktree cleanup for merge and discard paths.
  • Safety checks such as base‑branch detection and explicit discard confirmation.

Quick Start

Ask the assistant to finish the current development branch using the finishing-a-development-branch skill.

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

To safely merge a git feature branch after tests pass, the skill verifies tests, detects the base branch, and executes a local merge with automatic worktree cleanup.

What's the best way to clean up git branches after completing a pull request?

The best way to clean up git branches after a pull request is to use the finishing-a-development-branch skill, which offers deterministic options to keep, merge, create a PR, or discard the branch with explicit confirmation and worktree cleanup.

Can I create a pull request directly from a local git branch?

Yes, you can create a pull request from a local git branch by selecting the push and create PR option after the skill verifies tests and detects the base branch.

Does this branch cleanup skill verify tests before merging?

Yes, the branch cleanup skill verifies tests before merging or creating a pull request, ensuring no unverified code is integrated into the base branch.

How do I discard a git development branch without accidental deletions?

To discard a git development branch safely, the skill requires explicit discard confirmation before deleting the branch and automatically cleans up the associated worktree.

What happens if I choose to keep my git branch unchanged?

If you choose to keep your git branch unchanged, the finishing-a-development-branch skill skips merging, discarding, and worktree cleanup, leaving your current development work intact for continued work.