finishing-a-development-branch

Verify tests and present structured options for merging development branches.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/riddopic/cc-tools --skill finishing-a-development-branch-riddopic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/riddopic/cc-tools/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/riddopic/cc-tools --skill finishing-a-development-branch-riddopic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing clear, actionable options for integrating changes, preventing common Git-related errors and ensuring a clean workflow.

Core Features & Use Cases

  • Guided Branch Completion: Offers structured choices for merging, creating pull requests, or discarding work.
  • Test Verification: Ensures tests pass before proceeding with integration steps.
  • Worktree Management: Integrates with worktree management for cleanups.
  • Use Case: After completing a feature, use this skill to safely merge it back to main, create a PR, or cleanly discard the branch if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to complete the current development 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 safely complete a git development branch after finishing a feature?

Completing a git development branch involves verifying tests, determining the base branch, and choosing to merge locally, create a pull request, preserve, or discard the branch to ensure a clean workflow.

Can I create a pull request after verifying my branch tests locally?

Yes, verifying tests locally is a mandatory step before proceeding. Once tests pass, you can choose to create a pull request directly from your current development branch to integrate your changes.

What is the best way to discard a git branch if the work is no longer needed?

Discarding a git branch safely requires verifying tests first, then selecting the discard option from structured integration choices to cleanly remove the unwanted work without leaving orphaned branches.

Does this workflow support local merges back to the main branch?

Yes, local merges are supported. After mandatory test verification, the workflow presents structured options allowing you to safely merge your completed development branch directly back to the determined base branch.

Why do I need to run tests before merging a development branch?

Running tests before merging ensures code quality and prevents common git-related errors. Mandatory test verification acts as a safeguard before proceeding with any integration or cleanup actions.

How does worktree management integrate with branch completion?

Worktree management integrates with branch completion by facilitating cleanups. After you finalize your development branch through merging, pull requests, or discarding, the worktree is safely cleaned up.