finishing-a-development-branch

Select and execute merge, PR, or cleanup workflows for feature branches.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Khoiwall/be_vidify --skill finishing-a-development-branch-khoiwall
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Khoiwall/be_vidify/tree/main/.opencode/skill/finishing-a-development-branch
Command: npx skills add https://github.com/Khoiwall/be_vidify --skill finishing-a-development-branch-khoiwall

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

Core Features & Use Cases

  • Verify tests pass and CI status is green before consolidating changes.
  • Determine the base branch and present deterministic completion options (Merge locally, Push & create PR, Keep branch, or Discard work).
  • Execute the chosen workflow and perform optional cleanup of worktrees and feature branches.

Quick Start

Choose a completion option and follow the corresponding workflow 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 development is complete?

To finalize a git feature branch, you select and execute a merge, pull request, or cleanup workflow. The process verifies tests pass and CI is green, discovers the base branch, and executes the chosen integration action.

What are the options for merging a development branch into the base branch?

Options for merging a development branch include merging locally, pushing to create a PR, keeping the branch, or discarding work. After selecting an option, the workflow executes the action and performs optional worktree cleanup.

Do I need to verify CI checks before merging a git pull request?

Yes, you need to verify CI checks are green and all tests pass before merging a git pull request. The workflow ensures test suites pass and CI status is confirmed before presenting structured options to consolidate changes.

What is the best way to clean up git worktrees after merging a feature branch?

The best way to clean up git worktrees after merging is to select a completion option that executes optional cleanup. The workflow removes worktrees and feature branches as needed after the chosen merge or PR action completes.

Can I use this workflow to discard work on a git development branch?

Yes, you can use this workflow to discard work on a git development branch. Discarding work is one of the structured completion options presented after verifying tests and determining the base branch.

When should I keep a git feature branch instead of merging it?

You should keep a git feature branch instead of merging when implementation needs further review. The workflow presents keeping the branch as a deterministic completion option alongside merging, creating a PR, or discarding work.