finishing-a-development-branch

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

7|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/ftzi/livespec --skill finishing-a-development-branch-ftzi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ftzi/livespec/tree/main/.agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/ftzi/livespec --skill finishing-a-development-branch-ftzi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing clear, actionable options for integrating completed code, ensuring tests pass, and managing the development branch and worktree effectively.

Core Features & Use Cases

  • Test Verification: Automatically checks if the project's test suite passes before proceeding.
  • Branch Integration Options: Offers clear choices for merging locally, creating a Pull Request, keeping the branch as-is, or discarding the work.
  • Worktree Management: Handles the cleanup or preservation of worktrees based on the chosen integration path.
  • Use Case: After finishing a new feature, you can use this skill to ensure all tests are green, then choose to merge it directly into main, create a PR for review, or safely discard the changes if the feature is no longer needed.

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 safely finish a git development branch and integrate my code?

Finishing a development branch involves verifying your test suite passes, determining the target base branch, and selecting an integration method like a local merge or Pull Request to safely integrate completed code.

What is the best way to manage worktree cleanup after completing a feature branch?

Worktree cleanup is managed by executing preservation or discard actions based on your chosen code integration path, ensuring safe and efficient branch management after finalizing development work.

Can I create a Pull Request and run tests before merging my git branch?

Yes, branch integration includes automatically verifying that the project's test suite passes before proceeding, offering options to either create a Pull Request for review or execute a local merge into the base branch.

What options do I have for branch integration when finalizing development work?

Branch integration options include performing a local merge into the base branch, creating a Pull Request, preserving the branch as-is, or discarding the work entirely if the feature is no longer needed.

When should I discard changes instead of merging a git development branch?

You should discard changes when a feature is no longer needed, utilizing the discard action to safely remove the work and execute worktree cleanup rather than proceeding with local merges or Pull Request creation.