finishing-a-development-branch

Verify tests, present merge/PR/discard options, and clean up worktrees.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pearjelly/turbooknow --skill finishing-a-development-branch-pearjelly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/pearjelly/turbooknow/tree/main/.agent/skills/finishing-a-development-branch
Command: npx skills add https://github.com/pearjelly/turbooknow --skill finishing-a-development-branch-pearjelly

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development tasks by providing clear, actionable options for integrating completed work, ensuring a clean and efficient workflow.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests to ensure code quality before proceeding.
  • Branch Integration Options: Offers structured choices for merging, creating pull requests, or safely discarding work.
  • Worktree Management: Handles the cleanup or preservation of development worktrees based on the chosen integration path.
  • Use Case: After finishing a new feature, you can use this Skill to automatically run tests, then choose to merge the branch locally, create a pull request, or discard the changes if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to complete 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 finish a development branch and run tests before merging?

The skill automates finalizing a development branch by running project tests to verify code quality, then offering structured integration options like merging or creating a pull request. Worktree cleanup is handled automatically based on your chosen path.

Can I create a pull request using GitHub CLI when managing my git branch?

Yes, the skill optionally uses GitHub CLI to create pull requests during branch integration. It structures the PR creation process, allowing you to push completed work for code review directly after local tests pass.

What is the best way to discard local git changes and clean up the worktree?

The best way to discard local git changes is to select the discard option during the branch completion workflow. The skill safely removes the unwanted work and handles associated worktree cleanup to maintain a clean environment.

Do I need Git installed to automate my development workflow integration?

Yes, Git is a required dependency to execute branch management commands and verify local integration. GitHub CLI is only required optionally if you choose to create a pull request instead of merging locally.

Does this branch management workflow support local merging without a remote repository?

Yes, the branch management workflow supports local merging without a remote repository. It presents local merge as a structured integration option, allowing you to combine completed features directly within your local Git environment.