finishing-a-development-branch

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

4|1|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/rm2thaddeus/Aitor_Skills --skill finishing-a-development-branch-rm2thaddeus
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/rm2thaddeus/Aitor_Skills/tree/main/finishing-a-development-branch
Command: npx skills add https://github.com/rm2thaddeus/Aitor_Skills --skill finishing-a-development-branch-rm2thaddeus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the final steps of a development task, ensuring code quality and providing clear, actionable options for integrating completed work into the main codebase.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests to ensure code stability before integration.
  • Branch Management: Determines the correct base branch for merging or creating pull requests.
  • Integration Options: Presents clear choices for merging locally, creating a pull request, keeping the branch, or discarding the work.
  • Worktree Cleanup: Manages the removal of temporary worktrees after integration.
  • Use Case: After finishing a new feature, you can use this skill to automatically run tests, decide whether to merge directly into main or create a pull request, and clean up your local environment.

Quick Start

Use the finishing-a-development-branch skill to complete 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 development branch and merge it into the main codebase?▼

To finalize a development branch, you can run tests to verify code stability, determine the correct base branch, and choose to merge locally or create a pull request for clean integration into the main codebase.

What is the best way to manage code integration after finishing a feature?▼

The best way to manage code integration is to verify project tests, determine the base branch, and select from structured options like merging locally, creating a pull request, or discarding unfinished work to ensure code quality.

How do I safely discard unfinished work on a git branch?▼

You can safely discard unfinished work on a git branch by selecting the discard option presented during the branch completion process, ensuring safe removal of incomplete code from your local environment.

Can I automatically run tests before creating a pull request?▼

Yes, you can automatically run project tests to verify code stability before creating a pull request. This ensures your completed development branch maintains code quality prior to integration.

Does this workflow handle temporary worktree cleanup after merging?▼

Yes, this workflow handles worktree cleanup by managing the removal of temporary worktrees after you complete the integration process, ensuring your local development environment remains clean.