finishing-a-development-branch

by Unknown v1.0.0

This skill streamlines the process of completing development work by providing a structured approach to merging, creating pull requests, or discarding branches. It emphasizes the importance of verifying tests before proceeding and offers clear options for integrating the work. The skill also handles worktree cleanup based on the chosen option, ensuring a clean and organized development environment.

The process involves verifying tests, determining the base branch, presenting four distinct options (merge locally, create a PR, keep as-is, discard), and executing the chosen action. Each option has specific steps, including git commands and confirmation prompts, to ensure the work is handled correctly and safely. The skill integrates with other skills like 'subagent-driven-development' and 'executing-plans'.

By following this skill's guidance, developers can avoid common mistakes such as skipping test verification, asking open-ended questions, or accidentally deleting work. It enforces best practices for code integration and cleanup, resulting in a more efficient and reliable development workflow.

What It Does

Presents structured options to finish a development branch, including merging locally, creating a pull request, keeping the branch as-is, or discarding the work. It verifies tests before proceeding and manages worktree cleanup based on the selected option.

When To Use

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work. Also use when triggered by 'subagent-driven-development' or 'executing-plans' skills.

Installation

Copy SKILL.md to your skills directory

View Universal documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.