finishing-a-development-branch

Verify tests and execute Git branch merge, PR, or cleanup workflows.

2.4k|145|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/HughYau/AcademicForge --skill finishing-a-development-branch-hughyau
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/HughYau/AcademicForge/tree/main/skills/superpowers/finishing-a-development-branch
Command: npx skills add https://github.com/HughYau/AcademicForge --skill finishing-a-development-branch-hughyau

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, structured options for integrating completed work, ensuring a clean and efficient workflow.

Core Features & Use Cases

  • Test Verification: Automatically checks if the project's test suite passes before proceeding.
  • Branch Integration Options: Guides the user through merging locally, creating a Pull Request, keeping the branch as-is, or discarding the work.
  • Worktree Management: Handles the cleanup of Git worktrees to maintain a tidy development environment.
  • Use Case: After finishing a new feature, use this Skill to verify tests, push the branch for a PR, and ensure the worktree is cleaned up afterward.

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 finish a Git development branch and make sure tests pass before merging?

To finish a Git development branch, the workflow verifies your test suite passes first, then presents structured options to merge locally, create a pull request, keep the branch, or discard the work entirely.

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

Managing Git worktree cleanup involves handling the removal of worktrees to maintain a tidy environment after you choose to merge, submit a pull request, or discard your current development work.

How do I create a pull request after finishing development work on a local branch?

Creating a pull request after finishing development work is handled by selecting the PR option from the structured menu, which pushes the branch and initiates the code integration process after test verification.

Can I discard unfinished Git branch work safely during the integration process?

You can discard unfinished Git branch work safely by selecting the discard option, which executes the cleanup workflow with confirmation to ensure you do not accidentally lose uncommitted development progress.

Does this branch integration workflow support local Git merges without a pull request?

Yes, the branch integration workflow supports local Git merges without a pull request by guiding you through a direct merge option after verifying that your project's test suite passes successfully.

What steps are needed to verify tests before merging a Git development branch?

Verifying tests before merging a Git development branch requires the workflow to automatically execute and check the project's test suite, ensuring all tests pass before presenting any branch integration options.