finishing-a-development-branch

Verify tests and present integration options for completing a development branch.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/vrazdalovschi/dotfiles --skill finishing-a-development-branch-vrazdalovschi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/vrazdalovschi/dotfiles/tree/main/agents/skills/shared/finishing-a-development-branch
Command: npx skills add https://github.com/vrazdalovschi/dotfiles --skill finishing-a-development-branch-vrazdalovschi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development tasks by providing clear, actionable options for integrating completed work, ensuring a clean and efficient workflow.

Core Features & Use Cases

  • Test Verification: Automatically checks if tests pass before proceeding.
  • Branch Integration Options: Offers choices for merging locally, creating a Pull Request, keeping the branch, or discarding the work.
  • Worktree Management: Handles the cleanup or preservation of worktrees based on the chosen action.
  • Use Case: After finishing a new feature, you can use this skill to ensure all tests are green, then choose to merge it into your main branch, create a PR, or safely discard the changes if needed.

Quick Start

Use the finishing-a-development-branch skill to finalize your current development work.

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 verify tests before merging?

To complete development work, you can merge locally, create a pull request, keep the branch, or discard the changes entirely. The workflow handles branch management and worktree cleanup automatically based on your chosen integration path.

What is the best way to manage worktree cleanup after finishing a development branch?

Worktree cleanup is handled automatically based on your chosen branch integration action, preserving or discarding the worktree accordingly. This ensures a clean local environment after you merge or discard your development work.

Can I safely discard git branch changes if my tests fail during development?

No additional dependencies are required to complete development work, but you need a functioning test suite and an established base branch. The workflow determines your base branch automatically and mandates passing tests before offering integration options.

When should I create a pull request instead of a local merge for my development workflow?

Create a pull request for team code integration and review, or choose a local merge for direct integration into your base branch. Both options become available only after verifying that your development branch tests pass successfully.