finishing-a-development-branch

Verify tests and present structured options for merging or creating pull requests.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/nakaj1214/trader --skill finishing-a-development-branch-nakaj1214
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/nakaj1214/trader/tree/main/.claude/skills/git/finishing-a-development-branch
Command: npx skills add https://github.com/nakaj1214/trader --skill finishing-a-development-branch-nakaj1214

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, safe, and efficient process for completing development work, ensuring code quality and proper integration before merging or creating pull requests.

Core Features & Use Cases

  • Test Verification: Automatically runs the project's test suite to ensure code stability.
  • Branch Integration Options: Guides the user through clear choices for merging, creating pull requests, or safely discarding work.
  • Worktree Management: Integrates with worktree management to clean up or preserve the development environment.
  • Use Case: After finishing a new feature, you can use this Skill to automatically run tests, then choose to merge the code locally, create a pull request on GitHub, or discard the changes if the feature is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to complete your current development work.

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 safely finish a development branch and integrate code in git?

To finish a development branch, you need to verify tests, determine the base branch, and choose an integration method like a local merge, pull request creation, or discarding work. This ensures code quality and proper workflow execution.

What is the best way to manage branch integration options after completing a feature?

The best way to manage branch integration is to use a structured workflow that runs tests first, then presents clear options for merging, creating a pull request, preserving the branch, or discarding changes with safety confirmations.

Can I automatically run tests before creating a pull request for my feature branch?

Yes, you can automatically run the project's test suite to ensure code stability before creating a pull request. This verifies code quality and prevents integration issues before the code review process.

How do I discard local development work and clean up the branch safely?

You can discard local development work by selecting the discard option during the branch finishing workflow. The system handles this with safety confirmations to prevent accidental data loss and cleans up the worktree environment.

Does the git branch completion workflow support local merges and worktree management?

Yes, the git branch completion workflow supports local merges, pull request creation, and worktree management. It integrates with worktree management to clean up or preserve your development environment after integration.