finishing-a-development-branch

Guide merge, PR, or cleanup decisions after tests pass.

5|1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/ed3dai/ed3d-plugins-testing --skill finishing-a-development-branch-ed3dai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ed3dai/ed3d-plugins-testing/tree/main/plugins/ed3d-plan-and-execute/skills/finishing-a-development-branch
Command: npx skills add https://github.com/ed3dai/ed3d-plugins-testing --skill finishing-a-development-branch-ed3dai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams to close out development work after tests pass by presenting structured options for merging, PRs, or cleanup.

Core Features & Use Cases

  • Structured decision flow: Verifies tests, determines base branch, presents four options (merge locally, push/PR, keep as-is, discard).
  • Context updates: Integrates with CLAUDE.md project context via librarian when available.
  • Worktree management: Cleans up worktrees for options that require it.

Quick Start

Invoke the finishing-a-development-branch skill after your implementation passes tests to choose the next steps.

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 development branch after implementation and tests pass?

To finalize a git development branch, you verify tests, determine the base branch, and choose between merging locally, pushing for a pull request, keeping the branch, or discarding it. The workflow then executes your chosen path.

What are my options for branch management when a coding task is complete?

Branch management options after completing a task include merging locally, pushing to create a pull request, keeping the branch as-is, or discarding it entirely. Optional worktree cleanup is also available for completed branches.

Can I update project context files when merging a git branch?

Yes, you can update project context files when merging a git branch. The workflow integrates with CLAUDE.md project context via a librarian when available, applying changes to maintain context after the merge decision.

Does finishing a development branch require tests to pass first?

Yes, finishing a development branch requires tests to pass first. The workflow explicitly verifies tests before presenting merge, pull request, or cleanup options to ensure only verified code is finalized.

What is the best way to clean up git worktrees after merging a branch?

The best way to clean up git worktrees after merging is to select an option requiring cleanup during the finalization workflow. The process handles worktree cleanup automatically after executing your merge or discard decision.