finishing-a-development-branch

Verify tests and present merge, pull request, or discard options for a development branch.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Envy-7z/mobile-agent-skillpack --skill finishing-a-development-branch-envy-7z
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Envy-7z/mobile-agent-skillpack/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Envy-7z/mobile-agent-skillpack --skill finishing-a-development-branch-envy-7z

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 is tested, integrated correctly, and worktrees are managed efficiently, preventing common merge conflicts and accidental data loss.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests before offering integration options.
  • Branch Integration: Guides users through merging to a base branch, pushing for a Pull Request, or safely discarding work.
  • Worktree Management: Cleans up associated worktrees to maintain a tidy development environment.
  • Use Case: After completing a new feature, use this Skill to ensure all tests pass, then choose to merge locally, create a PR, or discard the branch if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to complete the 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 merge a git branch and clean up the worktree after development?

To safely integrate development work, this workflow automatically runs project tests before offering structured options to merge to a base branch, create a pull request, or discard the branch, ensuring clean worktree management.

What is the best way to ensure tests pass before creating a pull request?

The best way to ensure tests pass before a pull request is using an automated workflow that verifies project tests before presenting integration options, preventing common merge conflicts and accidental data loss during branch integration.

Can I safely discard a git development branch if the work is no longer needed?

Yes, you can safely discard a git development branch if the work is no longer needed by selecting the discard option provided during the branch integration workflow, which also cleans up associated worktrees to maintain a tidy environment.

Does finishing a development branch require manual worktree management?

Finishing a development branch does not require manual worktree management, as the process automatically manages and cleans up associated worktrees after you merge, push for a pull request, or discard the branch.

When do I need to run tests before merging git branches?

You need to run tests before merging git branches whenever you are completing a development task, ensuring code is tested and integrated correctly to prevent accidental data loss and common merge conflicts.