finishing-a-development-branch

Orchestrates Git branch finalization, verifying checksum of worktree, choosing merge/pr, or discarding work.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/runecalico-ai/second_edition_spellbook --skill finishing-a-development-branch-runecalico-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/runecalico-ai/second_edition_spellbook/tree/main/.cursor/skills/finishing-a-development-branch
Command: npx skills add https://github.com/runecalico-ai/second_edition_spellbook --skill finishing-a-development-branch-runecalico-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the final steps of a development task, ensuring code quality and providing clear, structured options for integrating completed work.

Core Features & Use Cases

  • Test Verification: Automatically runs the project's test suite to confirm implementation stability.
  • Branch Management: Guides users through merging, creating pull requests, or safely discarding work.
  • Worktree Cleanup: Manages the removal of temporary worktrees to maintain a clean development environment.
  • Use Case: After finishing a new feature, use this Skill to verify all tests pass, then choose to merge locally, create a pull request, or discard the changes if they are no longer needed.

Quick Start

Use the finishing-a-development-branch skill to finalize the current development branch.

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 development branch and ensure tests pass before merging?

To finalize a development branch, you can use this Skill to automatically run the project's test suite, verify implementation stability, and present structured options for merging or creating a pull request.

What is the best way to manage worktree cleanup after completing a feature?

Managing worktree cleanup involves safely removing temporary worktrees after choosing your branch integration workflow, which this Skill handles automatically to maintain a clean development environment.

Can I discard changes on a development branch instead of creating a pull request?

Yes, you can discard changes on a development branch. The Skill presents structured options allowing you to safely discard work if the changes are no longer needed.

How does branch management work when finishing code integration?

Branch management during code integration involves determining the correct base branch, verifying tests, and guiding you through merging, pull request creation, or discarding work.

Do I need a specific Git environment to use this branch management workflow?

You need a Git environment supporting branch management and worktrees. The Skill verifies tests and manages worktree cleanup without requiring additional external dependencies.

What are the limitations of automating pull request creation and branch merging?

This Skill focuses on safely integrating completed work by verifying tests and determining the base branch, but limitations depend on your specific project test suite and Git worktree configuration.