finishing-a-development-branch

Verify tests and execute merge, PR, or cleanup workflows for git branches.

16|3|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/Yomiamy/flutter_inspector_kit --skill finishing-a-development-branch-yomiamy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Yomiamy/flutter_inspector_kit/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Yomiamy/flutter_inspector_kit --skill finishing-a-development-branch-yomiamy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of completing development work by guiding the user through a structured process of verifying tests, presenting merge, PR, or cleanup options, and executing the chosen workflow.

Core Features & Use Cases

  • Test Verification: Ensures all tests pass before presenting merge options.
  • Merge Options: Offers local merge, PR creation, keeping the branch as-is, or discarding it.
  • Automated Cleanup: Handles worktree cleanup based on the chosen option.
  • Use Case: After completing a feature branch, the Skill guides you through the process of deciding how to integrate your changes, ensuring a smooth transition to the main branch or PR creation.

Quick Start

Use the finishing-a-development-branch skill to complete this work.

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 finish a git development branch and ensure tests pass before merging?

To finish a development branch, verify all tests pass first, then choose to merge locally, create a PR, keep the branch, or discard it. The workflow guides you through test verification and executes the chosen merge or cleanup option.

What is the best way to manage branch completion options after feature development?

Managing branch completion involves presenting structured merge, PR, or cleanup options after test verification. You can execute a local merge, create a GitHub PR, keep the branch as-is, or discard it with automated worktree cleanup.

Does this branch completion workflow require GitHub for creating pull requests?

GitHub is optional for creating pull requests, but git is required. The workflow supports local merge and branch cleanup natively, using GitHub specifically when you select the PR creation option.

Can I discard changes and clean up a git worktree automatically after a failed test?

You can discard a branch and handle worktree cleanup automatically. However, the workflow ensures all tests pass before presenting options, preventing you from discarding work after a failed test.

How do I create a pull request after verifying my feature branch tests?

Creating a pull request after test verification involves selecting the PR creation option from the presented workflow. The process uses git and optionally integrates with GitHub to execute the PR generation.

What are the limitations of automated branch cleanup in a development workflow?

Automated branch cleanup is limited to the chosen workflow option, executing only after local merge, PR creation, or explicit discard. It does not trigger automatically if you select to keep the branch as-is.