finishing-a-development-branch

Verify tests, determine base branch, and execute Git integration workflows.

2|1|Updated Jun 21, 2025
One-click install
npx skills add https://github.com/MeechYourGoals/Chravel --skill finishing-a-development-branch-meechyourgoals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/MeechYourGoals/Chravel/tree/main/.claude/plugins/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/MeechYourGoals/Chravel --skill finishing-a-development-branch-meechyourgoals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development work by providing a structured workflow for merging, creating pull requests, or discarding changes, ensuring a clean and efficient integration of code.

Core Features & Use Cases

  • Test Verification: Automatically runs the project's test suite to ensure code quality before integration.
  • Branch Integration Options: Offers clear choices for merging locally, creating a pull request, keeping the branch, or discarding work.
  • Worktree Management: Handles the cleanup of development worktrees to maintain a tidy local environment.
  • Use Case: After completing a new feature, use this Skill to verify tests, push the branch, create a pull request with a pre-defined template, and then clean up the associated worktree.

Quick Start

Use the finishing-a-development-branch skill to merge the current branch into main after verifying tests.

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 finish a git development branch and merge it locally?

To finish a git development branch, verify tests, determine the base branch, and execute a local merge. This workflow manages Git operations including merging, pushing, and branch deletion to ensure clean code integration.

Does finishing a development branch run tests before creating a pull request?

Yes, finishing a development branch runs test verification automatically before integration. This ensures code quality by checking the project's test suite prior to creating a pull request or executing local merges.

What is the best way to discard work and clean up a git worktree?

The best way to discard work and clean up a git worktree is to select the work discarding option during branch completion. This process includes specific handling for worktree cleanup and confirmation prompts for destructive actions.

Can I create a pull request with a pre-defined template when completing a branch?

Yes, you can create a pull request with a pre-defined template when completing a branch. The workflow offers clear integration choices including pushing the branch and generating a pull request while managing associated worktree cleanup.

What are the limitations when merging a development branch into the main branch?

Limitations when merging a development branch include handling confirmation prompts for destructive actions like branch deletion. The workflow requires determining the correct base branch beforehand and managing worktree cleanup to avoid local environment conflicts.