finishing-a-development-branch

Verifies tests and guides branch integration via merge or pull request.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/mihaamiharu/twe --skill finishing-a-development-branch-mihaamiharu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/mihaamiharu/twe/tree/main/.agent/skills/finishing-a-development-branch
Command: npx skills add https://github.com/mihaamiharu/twe --skill finishing-a-development-branch-mihaamiharu

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 all tests pass before proceeding.
  • Branch Integration: Guides users through merging to a base branch or creating a Pull Request.
  • Worktree Management: Handles the cleanup or preservation of development worktrees.
  • Use Case: After finishing a new feature, use this skill to ensure tests are green, then choose to merge locally, create a PR, keep the branch, or discard the work safely.

Quick Start

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

To finalize a development branch, the Skill verifies tests pass, determines the base branch, and presents options to merge locally, create a pull request, preserve, or discard the work.

What is the best way to manage branch integration and code cleanup?▼

Managing branch integration involves verifying code quality through tests, then choosing to merge to a base branch or create a pull request, followed by preserving or cleaning up the worktree.

Can I discard local git changes safely when abandoning a development branch?▼

Yes, you can discard work safely; the Skill provides structured confirmation prompts to abandon local changes and remove the development worktree after verifying your intent.

Do I need all tests to pass before creating a pull request?▼

Yes, test verification is required before proceeding; the Skill automatically checks if tests are green to ensure code quality before allowing pull request creation or local merging.

Why should I use a guided workflow for branch management instead of manual git commands?▼

A guided workflow prevents integration errors by determining the correct base branch and providing clear options for merges, pull requests, or branch cleanup, ensuring efficient workflow management.