finishing-a-development-branch

Verify tests and manage Git merge, PR creation, and worktree cleanup.

1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/PREDICTif/supervisor-worker-ai-framework --skill finishing-a-development-branch-predictif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/PREDICTif/supervisor-worker-ai-framework/tree/main/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/PREDICTif/supervisor-worker-ai-framework --skill finishing-a-development-branch-predictif

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing a development branch, ensuring code quality and providing clear options for integration or cleanup.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests to ensure code stability.
  • Branch Integration Options: Offers clear choices for merging locally, creating a Pull Request, keeping the branch, or discarding work.
  • Worktree Management: Handles the cleanup of associated worktrees to maintain a tidy environment.
  • Use Case: After completing a new feature, use this skill to verify tests, push the branch, create a PR with a well-formatted description, and clean up your local environment.

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 and ensure tests pass before merging?

Finalizing a git development branch requires running project tests to verify code stability before offering structured integration options like merging locally or creating a Pull Request. This ensures code quality before integration.

What is the best way to create a Pull Request and clean up a local worktree after feature development?

Creating a Pull Request and cleaning up a local worktree involves pushing the verified branch, creating a PR with a formatted description, and then removing the associated worktree to maintain a tidy development environment.

Can I discard work on a development branch instead of merging it?

Yes, when finishing a development branch you can choose to discard work instead of merging. The process presents clear options including merging locally, creating a Pull Request, keeping the branch, or discarding changes.

What git branch integration options are available after tests pass?

After tests pass, available git branch integration options include merging locally, creating a Pull Request, keeping the branch for further work, or discarding the work entirely. These choices ensure flexible code integration.

Why does my code integration workflow require mandatory test verification?

Mandatory test verification is required during code integration to ensure code stability and quality before changes are merged or pushed. This prevents breaking changes from entering the main branch.