finishing-a-development-branch

Verify tests, then merge, push, create pull requests, or discard branches.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/mscipio/bilt-transactions-export --skill finishing-a-development-branch-mscipio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/mscipio/bilt-transactions-export/tree/main/.opencode/skills/finishing-a-development-branch
Command: npx skills add https://github.com/mscipio/bilt-transactions-export --skill finishing-a-development-branch-mscipio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development work by providing clear, actionable steps for merging code, creating pull requests, or safely discarding unfinished work, ensuring a clean and efficient workflow.

Core Features & Use Cases

  • Automated Branch Completion: Guides users through merging, PR creation, or discarding branches.
  • Test Verification: Ensures all tests pass before proceeding with integration.
  • Worktree Management: Handles the cleanup or preservation of development worktrees.
  • Use Case: After completing a new feature, use this Skill to automatically run tests, merge the branch into main, and clean up the worktree, or to create a pull request for review.

Quick Start

Use the finishing-a-development-branch skill to merge the current branch into main and clean up.

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 merge a git development branch into main after tests pass?

Merging a development branch requires verifying tests pass first, after which this skill presents options to merge into main, create a pull request, or discard. It then executes the chosen git workflow and cleans up the worktree.

What is the best way to clean up a git worktree after finishing a feature branch?

Cleaning up a git worktree is handled automatically by this skill during branch completion, which manages the preservation or removal of the worktree after you choose to merge, create a pull request, or discard the branch.

Can I create a pull request only if my code passes test verification?

Yes, creating a pull request requires passing test verification first. This skill enforces mandatory test verification before presenting integration options, ensuring pull requests are only generated after all tests pass successfully.

How do I safely discard unfinished work on a development branch?

Safely discarding unfinished work is supported by this skill as one of the branch completion options, allowing you to discard the branch securely while it manages the associated git worktree cleanup automatically.

Does branch management workflow require manual git operations for code integration?

No manual git operations are required for code integration. This skill automates git operations including merging, pushing, and pull request creation, executing the complete workflow automatically once tests pass and an integration option is selected.