finishing-a-development-branch

Verify tests, present merge and pull request options, and clean up worktrees.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/elysiaerica/ai_context_vault --skill finishing-a-development-branch-elysiaerica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/elysiaerica/ai_context_vault/tree/main/.codex/AGENT%20SKILLS/superpowers-main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/elysiaerica/ai_context_vault --skill finishing-a-development-branch-elysiaerica

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps automate the process of finishing a development branch, guiding users through tests, merge options, and cleanup to ensure a smooth transition.

Core Features & Use Cases

  • Test Verification: Ensures tests pass before proceeding to the next steps.
  • Merge Options: Provides structured options to merge, create a Pull Request, keep the branch as-is, or discard the work.
  • Cleanup Worktree: Handles worktree cleanup for merges and discards to maintain a clean codebase.
  • Use Case: Ideal for developers who need a systematic approach to finishing development work and want to ensure best practices are followed.

Quick Start

Run the finishing-a-development-branch skill to automate the completion of your development branch workflow.

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 with proper test verification and cleanup?

To finish a development branch, you should verify tests, select a merge or Pull Request option, and handle worktree cleanup to maintain a clean codebase. This ensures a smooth transition and follows development best practices.

What are the options for merging a completed development branch?

The options for merging a completed development branch include merging directly, creating a Pull Request, keeping the branch as-is, or discarding the work entirely. Worktree cleanup is handled automatically for merges and discards.

When should I use an automated workflow to complete my development branch?

You should use an automated development branch workflow when you need a systematic approach to finishing development work. It is ideal for ensuring best practices like testing and branch management are consistently followed before integration.

How do I clean up my git worktree after merging or discarding a branch?

To clean up your git worktree after merging or discarding a branch, you can use an automated workflow that handles cleanup tasks for you. This ensures your codebase remains clean after the development branch is resolved.

Can I create a Pull Request instead of directly merging a finished development branch?

Yes, you can create a Pull Request instead of directly merging. When finishing a development branch, structured options are presented to let you choose between merging, creating a Pull Request, keeping the branch, or discarding the work.

What happens to my development branch if I choose to discard the work?

If you choose to discard the work on your development branch, the workflow handles the worktree cleanup automatically. This removes the unfinished changes to maintain a clean codebase state.