finishing-a-development-branch

Run tests and merge, create pull requests, or delete branches.

9|Updated Jul 3, 2026
One-click install
npx skills add https://github.com/TonyQ-AI/agents-workflow --skill finishing-a-development-branch-tonyq-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/TonyQ-AI/agents-workflow/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/TonyQ-AI/agents-workflow --skill finishing-a-development-branch-tonyq-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the ambiguity and manual errors associated with closing out development tasks, ensuring that code is verified, merged, or cleaned up consistently.

Core Features & Use Cases

  • Automated Verification: Enforces test suite execution before any merge or PR action is taken.
  • Structured Lifecycle Management: Provides a standardized menu for merging, creating PRs, or discarding work.
  • Use Case: After completing a feature, use this skill to automatically run tests, merge the branch into main, and remove the temporary worktree, preventing stale branches and broken builds.

Quick Start

Invoke the finishing-a-development-branch skill to verify your current work and guide you through the final merge or cleanup process.

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 cleanup and enforce testing before a pull request?

To automate git branch cleanup and enforce testing before a pull request, you need a workflow tool that executes test suites and standardizes PR creation or merging actions. This ensures verified code integration and prevents stale branches.

What is the best way to manage development branch lifecycle and worktree cleanup?

The best way to manage development branch lifecycle and worktree cleanup involves using standardized workflow automation to verify tests, merge code, and remove temporary worktrees, ensuring consistent repository hygiene and safe integration.

How does automated test verification work during branch merging?

Automated test verification during branch merging works by enforcing test suite execution before any merge or pull request action is permitted. This mechanism prevents broken builds by ensuring code is strictly validated prior to integration.

Can I discard a development branch safely after running tests?

Yes, you can discard a development branch safely after running tests by selecting the branch deletion option. The workflow enforces test suite execution first, guaranteeing that any discarded work is verified before safe removal.

Does standardized branch management work without manual repository hygiene checks?

Standardized branch management works without manual repository hygiene checks by applying structured lifecycle automation to enforce test verification, providing standardized options for merging, pull request creation, or branch deletion.

When should I not use automated merging for my feature branch?

You should not use automated merging for your feature branch when the test suite fails execution or if the development task requires non-standard integration steps outside the standardized merge, PR, or branch deletion menu.