finishing-a-development-branch

Verify test results and manage Git branch integration or cleanup.

6|Updated Jan 14, 2020
One-click install
npx skills add https://github.com/SteamedFish/dotfiles --skill finishing-a-development-branch-steamedfish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/SteamedFish/dotfiles/tree/main/.config/opencode/skills/superpowers/finishing-a-development-branch
Command: npx skills add https://github.com/SteamedFish/dotfiles --skill finishing-a-development-branch-steamedfish

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development work on a branch, ensuring code quality and providing clear, actionable options for integration or cleanup.

Core Features & Use Cases

  • Test Verification: Automatically runs tests to ensure code stability before proceeding.
  • Branch Integration Options: Guides users through merging locally, creating a Pull Request, or safely discarding work.
  • Worktree Management: Handles the cleanup of associated worktrees to maintain a tidy development environment.
  • Use Case: After finishing a new feature, use this skill to verify all tests pass, then choose to merge the branch into main, create a PR for review, or discard the changes if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to finalize the current development branch.

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 branch and verify tests before merging?

To finalize a Git branch, run test verification to ensure code stability, then choose to merge locally, create a pull request, or discard the changes along with associated worktrees.

What is the best way to manage worktree cleanup after finishing development?

Worktree cleanup is managed automatically when you discard work or finish integration on a development branch, ensuring a tidy environment by removing associated worktrees safely.

Can I create a pull request directly after verifying my code completion?

Yes, after verifying tests pass for code completion, you can select the pull request creation option to submit your development branch for review instead of merging locally.

How do I safely discard a development branch and remove its worktree?

You can safely discard work on a development branch by selecting the discard option, which will remove the changes and handle the associated worktree removal to maintain your environment.

Does this workflow support local merges after passing test verification?

Yes, local merges are supported as a branch integration option, allowing you to merge your verified development branch directly into your main branch after tests pass.

Why should I run test verification before integrating a development branch?

Test verification is mandatory before integration to ensure code stability and quality, preventing unverified changes from being merged locally, submitted via pull request, or discarded improperly.