finishing-a-development-branch

Validate tests and execute merge, PR, keep, or discard workflows.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/synqing/Lightwave-Ledstrip --skill finishing-a-development-branch-synqing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/synqing/Lightwave-Ledstrip/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/synqing/Lightwave-Ledstrip --skill finishing-a-development-branch-synqing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides finalizing development work by verifying tests and offering concrete merge/PR/cleanup options.

Core Features & Use Cases

  • Verify tests: Ensure all tests pass before finishing
  • Determine base branch: Identify main branch to merge into
  • Present Options: Exactly four concise actions
  • Execute Choice: Merge, PR, keep or discard
  • Cleanup: Worktrees and branches as needed

Quick Start

Ready to merge? Pick from 1-4: 1) Merge locally 2) Push for PR 3) Keep worktree 4) Discard

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

Merging a development branch involves validating your test suite passes, identifying the base branch to merge into, then choosing your integration path: merge locally, push a pull request, keep the branch for later work, or discard it entirely. Standard git commands execute your chosen workflow.

What's the best way to decide between merging locally versus creating a pull request?

Local merge suits solo work or trusted branches; pull requests enable code review and team collaboration before integration. This Skill presents both options after tests pass, letting you pick based on your workflow—then executes the chosen path with appropriate git commands.

How do I clean up branches and worktrees after finishing development?

After merging or discarding a branch, cleanup removes local worktrees and redundant branch references through standard git automation steps. This Skill handles post-merge cleanup as part of finalizing your development work.

Can I keep a development branch without merging it yet?

Yes. This Skill offers a 'keep worktree' option that preserves your branch for later work without immediately merging or discarding it, useful when development is incomplete but tests pass.

Do I need to manually find my base branch before finishing development?

No. This Skill automatically determines the main branch to merge into as part of base-branch resolution, eliminating manual configuration before you select your merge or PR path.