finishing-a-development-branch

Execute a structured merge or PR workflow after tests pass.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Itzalive/resistance-ai --skill finishing-a-development-branch-itzalive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Itzalive/resistance-ai/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Itzalive/resistance-ai --skill finishing-a-development-branch-itzalive

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams finalize development work by providing a structured, deterministic path to close a feature branch through a choice of merge, PR, cleanup, or discard after tests pass.

Core Features & Use Cases

  • Verify tests pass before proposing actions.
  • Offer four explicit end-to-end options: merge locally, push and create a PR, keep the branch for later, or discard the work.
  • Handle base-branch detection and optional worktree cleanup to maintain a clean repository state.

Quick Start

Use this skill to decide how to finish your feature work after tests pass and apply the chosen workflow.

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

To finalize a feature branch after tests pass, you select a structured workflow that detects the base branch and prompts you to merge locally, push a pull request, keep the branch, or discard the work.

What is the best way to manage branch cleanup and merge decisions in a collaborative project?

The best way to manage branch cleanup and merge decisions is applying a deterministic workflow that verifies tests, detects the base branch, and offers explicit options to merge, create a PR, keep, or discard.

Can I push a pull request directly from my local development branch?

Yes, you can push a pull request from your local development branch by selecting the PR creation option in the structured workflow, which handles the push operation and initiates the pull request process.

Do I need to verify tests before executing a git merge workflow?

Yes, you need to verify tests pass before executing a git merge workflow, as the structured completion process checks test verification before proposing any merge, PR, or discard actions.

When should I discard my development work instead of merging?

You should discard development work instead of merging when the feature is no longer needed or tests fail irrecoverably, using the discard option to clean the branch and maintain a tidy repository state.