finishing-a-development-branch

Verify tests and present merge, pull request, keep, or discard options for git branches.

34|6|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Chikage0o0/opencode --skill finishing-a-development-branch-chikage0o0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Chikage0o0/opencode/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Chikage0o0/opencode --skill finishing-a-development-branch-chikage0o0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents accidental integration of incomplete or failing work by verifying tests, determining branch context, and guiding developers through merge, pull request, keep, or discard decisions with explicit safety checks.

Core Features & Use Cases

  • Test verification: Require tests to pass before presenting merge or PR options and verify tests after a local merge.
  • Branch detection and context-aware choices: Determine current and base branches and present only valid actions to avoid invalid workflows.
  • Safe archival and merge mechanics: Archive explicitly identified specs or plans before integration, require a named merge commit, and demand typed confirmation for destructive operations.
  • Use case: Finalizing a completed feature branch by merging locally with a named commit or pushing and opening a structured pull request while preserving project documentation.

Quick Start

Run the finishing-a-development-branch skill to verify tests, choose merge, push and create a PR, keep the branch, or discard with explicit confirmations and archival prompts.

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 safely merge a git branch after tests pass?

To safely merge a git branch after tests pass, you can use a guided process that verifies tests before presenting merge options, requires a named merge commit, and runs post-merge test verification.

How do I create a pull request with required test verification?

Creating a pull request with required test verification involves enforcing pre-push test checks, pushing the branch, and generating a formatted pull request while ensuring no failing work is integrated.

What is the best way to discard a git branch without losing important specs?

The best way to discard a git branch without losing important specs is to use a workflow that archives explicitly identified plans before deletion and requires typed confirmation for the destructive operation.

Can I keep a git development branch instead of merging or discarding it?

Yes, you can keep a git development branch by selecting the keep option during branch finalization, which preserves your work without merging or discarding, while still verifying tests and determining branch context.

Why should I run tests before and after merging a development branch?

You should run tests before and after merging a development branch to prevent accidental integration of incomplete or failing work and to ensure the merge mechanics did not introduce regressions.

Does git branch finalization work without a named merge commit?

No, safe git branch finalization requires a named merge commit to explicitly identify the integration point and ensure safe archival and merge mechanics during the development workflow.