finishing-branch

Guide users through commit, merge, pull request, or discard options for feature branches.

Updated May 2, 2026
One-click install
npx skills add https://github.com/iliaal/compound-engineering-plugin --skill finishing-branch-iliaal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-branch
Source: https://github.com/iliaal/compound-engineering-plugin/tree/main/plugins/compound-engineering/skills/finishing-branch
Command: npx skills add https://github.com/iliaal/compound-engineering-plugin --skill finishing-branch-iliaal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of completing feature branches by providing safe and guided options for committing, merging, creating pull requests, or discarding changes.

Core Features & Use Cases

  • Commit Management: Ensures all work is staged and committed before proceeding.
  • Branch Workflow Options: Offers clear choices: merge locally, push for a PR, keep the branch as-is, or discard all changes.
  • Safety Checks: Includes guards against working on the default branch and requires explicit confirmation for destructive actions.
  • Use Case: After completing a new feature, use this skill to cleanly merge your work into the main branch, create a pull request for review, or safely abandon the changes if the approach was incorrect.

Quick Start

Use the finishing-branch skill to manage the completion of your current feature branch.

Frequently Asked Questions about finishing-branch

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

FAQPage Schema
How do I safely close a completed git feature branch?

You can merge a feature branch into your main codebase locally by using this skill's guided workflow. It ensures all work is committed first, then provides clear options to either merge directly or push for a pull request.

Can I create a pull request after finishing my branch work?

Yes, you can create a pull request after finishing your branch work by selecting the push option. This skill integrates with Git workflows and tools like GitHub CLI to streamline pull request creation from your completed branch.

What is the best way to discard changes on a feature branch?

The best way to discard changes on a feature branch is using this skill's guided discard option. It includes safety mechanisms that require explicit confirmation for destructive actions, protecting your codebase from accidental data loss.

Does this branch workflow tool protect the default branch?

Yes, this branch workflow tool protects the default branch by including safety guards against working on it directly. These prerequisite checks prevent accidental commits or destructive actions on your main codebase.

Why do I need to commit before merging a feature branch?

You need to commit before merging a feature branch to ensure no work is lost during the closure process. This skill automates commit management by verifying that all modifications are staged and committed before proceeding with any merge or pull request.