finishing-a-development-branch

Verify tests, determine the base branch, and merge or create a pull request.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Jimmy1987s/EC-Claude-Skills --skill finishing-a-development-branch-jimmy1987s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Jimmy1987s/EC-Claude-Skills/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Jimmy1987s/EC-Claude-Skills --skill finishing-a-development-branch-jimmy1987s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill guides developers through the structured process of completing a development branch, ensuring code quality and proper integration.

Core Features & Use Cases

  • Test Verification: Ensures all tests pass before proceeding.
  • Branch Integration: Provides options for merging locally, creating a Pull Request, or deferring the completion.
  • Worktree Management: Safely cleans up worktrees when a branch is finalized.
  • Use Case: After finishing a new feature, use this skill to automatically run tests, determine the correct base branch, and then either merge the code locally or create a pull request for review.

Quick Start

Use the finishing-a-development-branch skill to complete the current feature branch.

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 development branch and ensure tests pass before merging?

To finalize a development branch, the workflow first runs test verification to ensure all tests pass before proceeding. It then determines the correct base branch and offers structured options for code integration or cleanup.

What is the best way to integrate a feature branch locally or create a pull request?

The best way to integrate a feature branch is using a guided workflow that determines the base branch and provides options for either managing local merges or creating a pull request for review, ensuring proper code integration and quality.

How does worktree management work when a development branch is finalized?

Worktree management works by safely cleaning up and removing worktrees when a development branch is finalized. This ensures that your local environment is clean after the branch integration or pull request process is complete.

Can I defer the completion of a git branch if I am not ready to merge?

Yes, you can defer the completion of a git branch. The workflow offers structured options for integration, including deferring the completion, managing local merges, creating a pull request, or performing safe worktree removal.

Does the branch integration workflow determine the correct base branch automatically?

Yes, the branch integration workflow determines the correct base branch automatically. It guides you through finalizing your development branch by verifying tests, determining the base branch, and offering structured options for integration.