sp-finishing-a-development-branch

Guide git feature branch completion with merge, PR, or cleanup options.

1|Updated May 2, 2026
One-click install
npx skills add https://github.com/dushyantkhosla/agent-skills --skill sp-finishing-a-development-branch-dushyantkhosla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp-finishing-a-development-branch
Source: https://github.com/dushyantkhosla/agent-skills/tree/main/skills/sp-finishing-a-development-branch
Command: npx skills add https://github.com/dushyantkhosla/agent-skills --skill sp-finishing-a-development-branch-dushyantkhosla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured approach to completing development work, offering clear options for merging, creating pull requests, or cleaning up branches.

Core Features & Use Cases

  • Structured Options: Offers a clear set of options for merging, creating pull requests, or keeping branches as-is.
  • Verification: Ensures tests pass before presenting options.
  • Environment Detection: Determines the workspace state to show the appropriate menu and cleanup process.
  • Merge Workflow: Handles local merges, pushing to create pull requests, and cleanup.
  • Cleanup: Provides a comprehensive cleanup process for branches and worktrees.

Quick Start

Run the 'sp-finishing-a-development-branch' skill to guide you through completing your development work.

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

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

FAQPage Schema
How do I finalize a git development branch with a merge or pull request?

To finalize a git development branch, this workflow verifies tests pass, detects your environment, and presents structured options to merge locally, push for a pull request, or keep the branch as-is.

What is the best way to clean up git feature branches and worktrees after merging?

The best way to clean up git feature branches and worktrees is to run a structured cleanup process that removes them after your development work is complete and merged.

Can I create a pull request only after tests pass on my feature branch?

Yes, you can create a pull request only after tests pass, as this workflow ensures test verification succeeds before presenting options to push your feature branch for a pull request.

Does this development workflow require a specific git repository setup?

This development workflow requires a standard git repository setup utilizing feature branches to detect the workspace state and guide the merge, PR, or cleanup process.

Why does my git cleanup workflow need environment detection?

Git cleanup workflows need environment detection to determine the current workspace state, ensuring the appropriate menu of merge, pull request, or cleanup options is presented for your context.