finishing-a-development-branch

Verify tests, determine base branch, and offer merge, pull request, or discard options.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/mezivillager/hacer --skill finishing-a-development-branch-mezivillager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/mezivillager/hacer/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/mezivillager/hacer --skill finishing-a-development-branch-mezivillager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides users through the process of finalizing development work on a Git branch, ensuring code quality and providing clear options for integration or discarding.

Core Features & Use Cases

  • Test Verification: Automatically detects and runs project-specific tests to ensure code stability.
  • Branch Integration: Offers structured choices for merging to a base branch, creating a Pull Request, or discarding changes.
  • Worktree Management: Safely handles the cleanup or preservation of Git worktrees based on the chosen action.
  • Use Case: After completing a new feature, use this Skill to automatically run all tests, determine the correct base branch, and then either merge the changes locally or prepare a Pull Request for review.

Quick Start

Use the finishing-a-development-branch skill to finalize 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 branch and ensure tests pass before merging?

Finalizing a git branch requires verifying project-specific tests, determining the correct base branch, and choosing to merge, create a pull request, or discard changes. This process ensures code stability before integration.

What is the best way to manage git worktree cleanup after merging a branch?

Git worktree cleanup is managed automatically based on your chosen integration strategy, safely preserving or removing the worktree after you merge changes or discard the development branch.

How do I prepare a development branch for a pull request?

Preparing a development branch for a pull request involves running test verification, confirming the target base branch, and selecting the structured option to create a pull request for code review.

Can I discard changes on a feature branch without breaking the main codebase?

Discarding changes on a feature branch safely removes development work without affecting the main codebase, handling the associated git worktree cleanup to prevent leftover files.

Does this branch workflow support automatic detection of project-specific tests?

The branch workflow supports automatic detection and execution of project-specific tests, verifying code stability and ensuring development branches are safe for integration.

How do I determine the correct base branch for merging a feature branch?

Determining the correct base branch for merging a feature branch is handled automatically during the finalization process, presenting structured options for local merging or pull request creation.