finishing-a-development-branch

Verify tests and manage Git branch integration or cleanup.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/northseadl/skillwisp --skill finishing-a-development-branch-northseadl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/northseadl/skillwisp/tree/main/skills/%40obra/finishing-a-development-branch
Command: npx skills add https://github.com/northseadl/skillwisp --skill finishing-a-development-branch-northseadl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing a clear, structured workflow for merging, creating pull requests, or discarding changes, ensuring consistency and reducing errors.

Core Features & Use Cases

  • Test Verification: Automatically checks if the project's test suite passes before proceeding.
  • Branch Integration Options: Offers clear choices for merging locally, creating a pull request, keeping the branch as-is, or discarding the work.
  • Worktree Management: Safely cleans up Git worktrees after completion or discard, or preserves them when requested.
  • Use Case: After completing a new feature, you can use this Skill to ensure all tests pass, then choose to merge it into main locally, push it for a PR review, or safely discard it if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to verify tests and then merge the current branch back to main locally.

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 verify tests pass before merging a development branch?

You can finalize a development branch by choosing to merge it locally into the base branch, push it to create a pull request, keep it as-is, or discard the work entirely, with explicit confirmation required for discarding any changes.

Can I safely clean up Git worktrees after merging a branch?

Yes, you can safely clean up Git worktrees after merging a branch, as this Skill manages worktree removal upon successful completion or discard, while also offering the option to preserve the worktree if future work is needed.

How do I determine the correct base branch for a Git merge?

To determine the correct base branch for a Git merge, this Skill automatically identifies the target integration branch from your current development workflow, ensuring your feature changes merge into the appropriate main or parent branch.

Do I need to run tests manually before creating a pull request?

No, you do not need to run tests manually before creating a pull request, because this workflow verifies your test suite automatically and presents structured integration options only after confirming that all tests pass successfully.