finishing-a-development-branch

Verify tests, merge locally, create pull requests, and manage worktrees.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jf3096/personal-configs --skill finishing-a-development-branch-jf3096
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/jf3096/personal-configs/tree/main/.codex/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/jf3096/personal-configs --skill finishing-a-development-branch-jf3096

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing clear, actionable options for integrating code, ensuring tests pass, and managing the development branch and worktree.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests to ensure code quality before integration.
  • Branch Integration Options: Guides the user through merging locally, creating a Pull Request, or keeping the branch as-is.
  • Worktree Management: Handles the cleanup or preservation of worktrees based on the chosen integration path.
  • Use Case: After completing a new feature, use this Skill to verify tests, decide whether to merge directly into main, create a PR for review, or safely discard the work.

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 finalize a development branch and ensure my code is ready to merge?

Finalizing a development branch involves verifying that all project tests pass and then choosing a structured integration path, such as merging locally or creating a pull request. This ensures code quality before integration.

What is the best way to manage git worktrees after completing a feature?

Managing git worktrees after feature completion requires either cleaning up the worktree after a successful merge or preserving it if the branch is kept as-is. Your chosen integration path dictates the worktree management action.

Does this branch management workflow support creating pull requests directly?

Yes, this branch management workflow supports creating pull requests directly. It presents structured options for code integration, allowing you to choose between local merges, pull request creation, or keeping the branch as-is.

How do I run tests before integrating code into the main branch?

To run tests before integrating code into the main branch, you can use an automated workflow that verifies project tests automatically. This ensures code quality and safe integration before finalizing development work.

When should I keep a development branch as-is instead of merging into main?

You should keep a development branch as-is instead of merging into main when you want to preserve the work without immediate code integration. This option safely discards immediate merging while keeping the worktree preserved.

Can I automate both test verification and local merges in my development workflow?

Yes, you can automate both test verification and local merges in your development workflow. The process automatically runs project tests to ensure code quality and guides you through executing a local merge if chosen.