finishing-a-development-branch

Guide finishing a development branch through merge, PR, or cleanup workflows.

3|Updated May 31, 2024
One-click install
npx skills add https://github.com/hugo-berendi/yomi --skill finishing-a-development-branch-hugo-berendi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/hugo-berendi/yomi/tree/main/.opencode/skills/finishing-a-development-branch
Command: npx skills add https://github.com/hugo-berendi/yomi --skill finishing-a-development-branch-hugo-berendi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams to finish development work by providing a structured decision path for merging, creating a pull request, or cleaning up the feature branch after all tests pass.

Core Features & Use Cases

  • Structured post-feature completion workflow: verify tests, choose an integration path, and perform cleanup.
  • Deterministic options: merge locally, push and create a PR, keep the branch, or discard, with clear consequences.
  • Use case: you finished a feature branch, tests pass, and you need to finalize the work with minimal risk and predictable results.

Quick Start

Example: After all tests pass on a feature branch, run the skill and select one of the four options to finalize the work.

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 after all tests pass?

Finalizing a git feature branch involves choosing a structured integration path: merge locally, push and create a pull request, keep the branch for later, or discard it entirely with clear consequences for each option.

What is the best way to merge or create a pull request for a finished development branch?

The best way to handle a finished development branch is to evaluate a structured decision path that determines whether to merge locally via git checkout or push and create a pull request using the GitHub CLI.

Do I need the GitHub CLI to push and create a pull request from my feature branch?

You do not need the GitHub CLI to merge locally, but it is optionally required if you choose to push your feature branch and create a pull request directly from the command line workflow.

Can I keep or discard a git branch without merging changes into the main workflow?

You can keep or discard a git branch without merging by selecting those specific options during the branch cleanup process, allowing you to retain work for later or safely remove unneeded changes.

What git operations are required to clean up a development branch?

Cleaning up a development branch requires git operations such as checking merge-base, performing checkout and merge actions, and optionally managing worktrees to ensure safe branch removal.

Why should I use a structured workflow for branch management instead of manual git commands?

A structured branch management workflow provides deterministic options and clear consequences for merging or discarding, minimizing risk and ensuring predictable results when finalizing development work.