finishing-branch

Guide merge, pull request, or discard actions for feature branches.

Updated May 29, 2026
One-click install
npx skills add https://github.com/InnoMikitaKutas/accelerator-test-task --skill finishing-branch-innomikitakutas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-branch
Source: https://github.com/InnoMikitaKutas/accelerator-test-task/tree/main/.claude/skills/finishing-branch
Command: npx skills add https://github.com/InnoMikitaKutas/accelerator-test-task --skill finishing-branch-innomikitakutas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, and includes scripts (resource) components.

What problem does it solve?

The finishing-branch skill addresses the challenge of completing development work by providing a structured process for merging, creating Pull Requests, or discarding work at the end of the development cycle.

Core Features & Use Cases

  • Merge Decision: Offers a structured set of options for merging back to the base branch or creating a Pull Request.
  • Cleanup: Manages the cleanup process for branches and worktrees after completion.
  • Use Case: After a feature branch is ready for merging, the skill helps decide whether to merge locally, push and create a PR, keep the branch, or discard it.

Quick Start

To complete your development work, activate the finishing-branch skill and follow the presented options.

Frequently Asked Questions about finishing-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I finalize a feature branch and choose between merging or creating a Pull Request?

Finalizing a feature branch involves selecting whether to merge locally, push and create a Pull Request, keep, or discard it. The skill guides this merge decision process by presenting structured options for branch management using git and gh.

What is the best way to manage feature branch cleanup after merging?

Managing feature branch cleanup requires safely deleting local branches and worktrees after completion. The skill handles this cleanup process automatically once you decide to merge, create a PR, or discard your development work.

Do I need both git and gh installed to create a Pull Request from my feature branch?

Yes, you need both git and gh installed to create a Pull Request from your feature branch. Git handles the local branch management and merging, while gh is required for creating Pull Requests on your remote repository.

Can I discard a feature branch if the development work is no longer needed?

Yes, you can discard a feature branch if the development work is no longer needed. The skill provides explicit discard options during the merge decision phase to safely remove unwanted branches and clean up the worktree.

When should I keep a feature branch instead of merging it back to the base branch?

You should keep a feature branch instead of merging when development is ongoing or requires further review. The skill offers a specific option to retain the branch without merging, discarding, or creating a Pull Request.