finishing-a-development-branch

Verify tests and present merge, pull request, or branch preservation options.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/huhuimike85/aizc --skill finishing-a-development-branch-huhuimike85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/huhuimike85/aizc/tree/main/references/frontend-v2/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/huhuimike85/aizc --skill finishing-a-development-branch-huhuimike85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of completing development work by providing clear, actionable options for integrating code changes and ensuring a clean workflow.

Core Features & Use Cases

  • Test Verification: Automatically checks if tests pass before proceeding.
  • Branch Integration Options: Offers structured choices for merging, creating pull requests, or preserving the branch.
  • 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 your code, decide whether to merge locally or create a PR, and ensure your worktree is cleaned up appropriately.

Quick Start

Use the finishing-a-development-branch skill to complete your current development 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 finalize a git development branch after finishing a feature?

Finalizing a git development branch requires verifying tests, determining the base branch, and choosing to merge locally, create a pull request via GitHub CLI, or preserve the branch. It also handles worktree cleanup to ensure a tidy environment.

What's the best way to merge local code changes and clean up my git worktree?

The best way to merge local code changes and clean up a git worktree is to use an automated workflow that performs local merges, verifies tests, and executes selective worktree cleanup after successful code integration.

Does this workflow create a pull request using the GitHub CLI?

Yes, this workflow generates a pull request using the GitHub CLI. It presents structured options for pull request creation, local merges, or branch preservation after mandatory test verification passes.

Can I discard work on a development branch without losing unverified code?

You can discard work on a development branch safely because the workflow provides explicit confirmation steps for destructive actions. It enforces mandatory test verification before allowing any code integration or branch discarding.

How do I verify tests pass before merging a git branch locally?

To verify tests pass before merging a git branch locally, the workflow automatically checks your tests during the code integration process. Mandatory test verification ensures code quality before any local merges or pull request generation proceeds.

When should I preserve a branch instead of merging code changes?

You should preserve a branch instead of merging code changes when you need to keep work isolated for future development. The workflow presents branch preservation as a structured option alongside local merges and pull request creation.