finishing-a-development-branch

Automate feature branch completion with merge, PR, or cleanup options.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/YangYuS8/dev-2026-grading --skill finishing-a-development-branch-yangyus8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/YangYuS8/dev-2026-grading/tree/main/.opencode/skills/finishing-a-development-branch
Command: npx skills add https://github.com/YangYuS8/dev-2026-grading --skill finishing-a-development-branch-yangyus8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Completing a development branch after all tests pass often requires a clear, auditable process to decide how to integrate or clean up the work.

Core Features & Use Cases

  • Structured decision points after test verification
  • Support for local merge, push with Pull Request, or branch discard workflows
  • Real-world scenario: after finishing a feature, tests pass, you can choose the next steps with confidence

Quick Start

Run the test suite to confirm all tests pass, then select and execute one of the four completion options.

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 feature branch after all tests pass?

Finishing a development branch requires test verification first, then selecting one of four guarded options: local merge, push with pull request, discard work, or cleanup, providing a structured and auditable integration decision.

What's the best way to merge a completed git branch into the base branch?

Merging a completed branch is best handled by identifying the base branch and verifying tests first, then executing a local merge or pull request through explicit, guarded decision points to ensure a structured integration.

Can I discard a git branch safely after development if tests fail?

Discarding a git branch safely is possible using the explicit discard option, which is one of the four guarded completion actions provided for removing a development branch that is no longer needed or did not pass verification.

Does this branch finishing workflow require passing tests before merging?

This branch finishing workflow requires test verification before proceeding, ensuring that all tests pass on the development branch before presenting any merge, pull request, or cleanup options.

When do I need a structured process for completing a git branch?

A structured process for completing a git branch is needed when a development branch passes tests and is ready for integration or removal, requiring clear decision points for local merges, pull requests, or discarding work.