m-finishing-a-development-branch

Automate development branch completion with merge, PR, or cleanup options.

2|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/mituso89/Spec-Driven-Development-toolkits --skill m-finishing-a-development-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m-finishing-a-development-branch
Source: https://github.com/mituso89/Spec-Driven-Development-toolkits/tree/main/m-finishing-a-development-branch
Command: npx skills add https://github.com/mituso89/Spec-Driven-Development-toolkits --skill m-finishing-a-development-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the completion of development branches by guiding the user through merge, pull request, or cleanup options based on test pass status and workspace environment.

Core Features & Use Cases

  • Merge Options: Automates local merging of branches into a base branch.
  • Pull Request Creation: Pushes branches to remote repositories and creates pull requests.
  • Cleanup: Discards branches or cleans up worktrees after merging or PR creation.
  • Use Case: When you have completed a feature branch, this Skill helps you decide whether to merge, create a PR, or discard the branch based on your project's workflow.

Quick Start

Run the 'm-finishing-a-development-branch' skill to automatically handle the completion of your development branch.

Frequently Asked Questions about m-finishing-a-development-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git branch cleanup and pull request creation after finishing a feature?

You can automate git branch cleanup and pull request creation by using a skill that verifies test status, detects your workspace environment, and guides you through merge, PR, or cleanup options. It executes your chosen branch management action automatically.

What's the best way to merge a completed development branch locally?

The best way to merge a completed development branch locally is to use an automated workflow that checks test pass status first, then handles the branch merge into your base branch to ensure code stability before integration.

Can I discard a git branch and clean up worktrees automatically?

Yes, you can discard git branches and clean up worktrees automatically by selecting the cleanup option within an automated branch completion workflow, which safely removes the branch and workspace after evaluating your environment.

Does this branch management workflow require any specific git environment?

This branch management workflow requires git for branch operations and state management. The skill automatically detects your workspace environment to present the appropriate merge, pull request, or cleanup options for your specific setup.

Why should I verify test status before creating a pull request?

Verifying test status before creating a pull request ensures that only passing code is pushed to the remote repository. The automated workflow checks test results first to prevent integrating broken development branches into the main codebase.

When do I need to use an automated tool for finishing a development branch?

You need an automated tool for finishing a development branch when your software development workflow requires structured branch management, such as deciding between local merges, remote pull requests, or discarding branches based on test status and workspace environment.