finishing-a-development-branch

Verifies tests and executes merge, PR, or cleanup for Git branches.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/tgmarinho/agent-super-powers-matt-pocock-skills-comparasions --skill finishing-a-development-branch-tgmarinho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/tgmarinho/agent-super-powers-matt-pocock-skills-comparasions/tree/main/upstream-snapshots/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/tgmarinho/agent-super-powers-matt-pocock-skills-comparasions --skill finishing-a-development-branch-tgmarinho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a clear guide to complete a development branch process by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.

Core Features & Use Cases

  • Verify Tests: Ensures tests pass before presenting options.
  • Detect Environment: Determines the workspace state for correct menu and cleanup.
  • Present Options: Provides clear options for merge, PR, keeping as-is, or discarding.
  • Execute Choice: Handles merge, PR, and cleanup tasks based on user choice.
  • Quick Reference: Offers a concise reference for different merge and PR scenarios.
  • Use Case: For developers looking to efficiently finalize their development branches before integration.

Quick Start

Use the finishing-a-development-branch skill to verify tests and complete the development branch of your feature.

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 automate Git branch cleanup and merge after finishing a feature?

To automate Git branch cleanup and merge, this Skill guides you through verifying tests, detecting your environment, and selecting merge, PR, or cleanup options to execute the branch finalization process.

What is the best way to finalize a development branch before creating a PR?

The best way to finalize a development branch is by running tests first, then using a structured workflow to choose between merging, opening a PR, keeping the branch, or discarding it entirely.

Can I run tests before merging a Git development branch automatically?

Yes, you can run tests before merging by using this Skill, which verifies that your tests pass before presenting any merge, PR, or cleanup options for your development branch.

Does this branch management workflow require specific Git repository access?

Yes, this branch management workflow requires local Git repository access and knowledge of your current branch states to accurately detect the environment and execute cleanup or merge tasks.

What are my options if my development branch tests fail during finalization?

If tests fail during development branch finalization, the Skill will not present merge or PR options, ensuring you only proceed with cleanup or integration after verifying a successful test run.

How do I discard changes and clean up a local Git branch securely?

To discard changes and clean up a local Git branch, this Skill detects your workspace state and presents a discard option, executing the cleanup tasks required to safely remove the branch.