finishing-a-development-branch

Validate tests and finalize Git feature branches with merge, PR, keep, or discard actions.

14|5|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/cloudbro-kube-ai/k13d --skill finishing-a-development-branch-cloudbro-kube-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/cloudbro-kube-ai/k13d/tree/main/skills/superpowers/finishing-a-development-branch
Command: npx skills add https://github.com/cloudbro-kube-ai/k13d --skill finishing-a-development-branch-cloudbro-kube-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides the safe completion of a development branch by validating tests, presenting deterministic post-workflow options, and performing cleanup.

Core Features & Use Cases

  • Verify tests pass and determine readiness for merge
  • Present exactly four options: merge locally, push PR, keep as-is, or discard
  • Cleanup worktree and feature branch once a decision is executed
  • Integrates with standard Git workflows to finalize feature work

Quick Start

Use this skill to finalize a feature branch by validating tests, selecting an action, and cleaning up accordingly.

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 feature branch after tests pass?

To finalize a Git feature branch, you can verify tests, select a merge or pull-request path, and clean up the branch. This automated workflow presents four deterministic options: merge locally, push PR, keep as-is, or discard.

What is the best way to clean up a Git worktree after merging a branch?

The best way to clean up a Git worktree after merging is using an automated workflow that executes optional worktree cleanup alongside feature branch deletion once a merge or PR action is selected.

How do I verify branch readiness before initiating a Git pull request?

You can verify branch readiness before initiating a Git pull request by running test validation checks within the workflow. This ensures tests pass and the feature branch is fully prepared for integration.

Can I automatically detect the base branch when merging a feature branch?

Yes, you can automatically detect the base branch when preparing to merge a feature branch. The workflow supports base-branch detection to ensure your merge or pull request targets the correct integration branch.

What are my options if a development branch is no longer needed?

If a development branch is no longer needed, you can select the discard option from four structured post-workflow actions. This safely removes the feature branch and cleans up any associated worktree resources.

Does this branch cleanup workflow require external dependencies to run?

No, this branch cleanup workflow does not require external dependencies to run. It integrates directly with standard Git workflows to finalize feature work without needing additional tools or components.