finishing-a-development-branch

Verify tests, then merge, create a pull request, or discard a Git branch.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill finishing-a-development-branch-himanshu040604
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Himanshu040604/codex-skills-setup/tree/main/assets/codex/skills/claude-import/skills/plugins/superpowers%40claude-plugins-official/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill finishing-a-development-branch-himanshu040604

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the final steps of a development task, providing clear, actionable options for integrating completed work and ensuring a clean process.

Core Features & Use Cases

  • Test Verification: Ensures all tests pass before proceeding.
  • Branch Integration: Guides merging back to a base branch or creating a Pull Request.
  • Worktree Management: Handles cleanup or preservation of the development worktree.
  • Use Case: After finishing a new feature, use this skill to automatically check tests, then choose to merge locally, create a PR, keep the branch, or discard the work, with all necessary Git commands executed.

Quick Start

Use the finishing-a-development-branch skill to complete your 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 development branch and merge it back to the base branch?

To finish a development branch, you can use a guided workflow that verifies your tests pass, then merges the completed feature branch back to the base branch or creates a pull request.

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

The best way to manage worktree cleanup after completing a feature branch is to use a structured workflow that executes necessary Git commands to either discard the work or preserve the development worktree.

Can I create a pull request automatically after my code completion?

Yes, you can create a pull request automatically after code completion by selecting the PR creation option within the branch integration workflow, which handles the necessary Git commands for you.

Does this branch management workflow verify tests before merging?

Yes, this branch management workflow includes test verification to ensure all tests pass before presenting structured options for integrating your completed development work.

How do I discard a completed development branch locally?

To discard a completed development branch locally, you select the discard option within the branch integration workflow, which executes the required Git commands to remove the work and clean up the worktree.