finishing-a-development-branch

Verify tests and execute git commands to merge, push, keep, or discard a development branch.

Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ayourtch/kimichat --skill finishing-a-development-branch-ayourtch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ayourtch/kimichat/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/ayourtch/kimichat --skill finishing-a-development-branch-ayourtch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, verified process for completing development work, ensuring tests pass and offering clear options for integrating or discarding changes.

Core Features & Use Cases

  • Test Verification: Mandates running all tests to ensure a clean state before offering completion options, preventing broken merges.
  • Structured Options: Presents four clear choices: merge locally, push and create PR, keep as-is, or discard work.
  • Safe Cleanup: Handles Git branch deletion and worktree removal based on the chosen option, maintaining a tidy repository.
  • Use Case: After completing a feature and ensuring all tests pass, use this skill to present options for merging your branch to main or creating a Pull Request.

Quick Start

I'm using the finishing-a-development-branch skill to complete the feature/new-dashboard 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 merge my completed development branch to main?▼

Merging a development branch to main integrates your finished work after tests pass. This Skill verifies all tests succeed, identifies your base branch, then presents four options: merge locally, push and create a PR, keep the branch, or discard changes—executing the corresponding git commands automatically.

What's the best way to clean up git branches after finishing development?▼

Branch cleanup removes local and worktree artifacts after integration. This Skill handles safe deletion based on your chosen completion option, maintaining a tidy repository by cleaning up git branches and associated worktrees without manual intervention.

How do I create a pull request after completing my feature branch?▼

Creating a pull request pushes your branch and opens a PR for code review. This Skill offers a dedicated option to push your branch and initiate a PR, streamlining the workflow after you've verified tests pass on your development work.

Can I discard development work safely without affecting main?▼

Discarding development work removes your branch and worktree without merging changes to main. This Skill provides a discard option that safely deletes your branch and cleans up associated worktrees, leaving the main branch untouched.

Why should I verify tests before merging my branch?▼

Test verification prevents broken merges that corrupt your main branch. This Skill mandates running all tests before offering completion options, ensuring a clean state and preventing failed deployments or broken builds downstream.