finishing-a-development-branch

Verify tests and merge feature branches with git worktree cleanup.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Luizfbm/Dev-roast --skill finishing-a-development-branch-luizfbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Luizfbm/Dev-roast/tree/main/.agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Luizfbm/Dev-roast --skill finishing-a-development-branch-luizfbm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the ambiguity and risk associated with closing out development tasks by enforcing a standardized, test-verified workflow for merging or discarding code.

Core Features & Use Cases

  • Automated Verification: Ensures all tests pass before any integration steps are offered, preventing broken code from reaching the main branch.
  • Structured Workflow: Provides a clear, four-option menu for developers to merge, create PRs, preserve work, or discard changes.
  • Use Case: After completing a feature, use this skill to safely verify your work, merge it into the main branch, and clean up your local worktree in one guided session.

Quick Start

Use the finishing-a-development-branch skill to verify my current tests and guide me through the process of merging this feature 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 automate git branch merging after passing tests?

Automating git branch merging requires a standardized workflow that verifies local test suites before offering structured integration pathways. This ensures repository integrity by preventing broken code from reaching the main branch during pull request creation or direct merge operations.

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

The best way to clean up a git worktree after merging is to use a guided workflow that handles workspace hygiene alongside branch integration. This process provides clear options to merge, preserve, or discard changes while ensuring local test suites pass first.

Can I create a pull request only if my local test suite passes?

Yes, you can enforce local test verification before any integration steps are offered. This automated verification prevents broken code from reaching the main branch by requiring all tests to pass before presenting the option to create pull requests or merge.

Does this branching workflow support discarding changes without affecting repository integrity?

This branching workflow supports discarding changes safely by providing a structured, four-option menu for developers. It ensures repository integrity and workspace hygiene by guiding cleanup operations across git-based version control systems after test verification.

Why should I standardize my development branch completion process?

Standardizing development branch completion eliminates the ambiguity and risk associated with closing out tasks. By enforcing a test-verified workflow for merging or discarding code, it ensures consistent integration pathways and prevents broken code from reaching the main branch.