finishing-a-development-branch

Verify tests and present options for merging, pull requests, or branch cleanup.

Updated Oct 21, 2022
One-click install
npx skills add https://github.com/Chengxufeng1994/dotfiles --skill finishing-a-development-branch-chengxufeng1994
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Chengxufeng1994/dotfiles/tree/main/gemini/antigravity/global_skills/finishing-a-development-branch
Command: npx skills add https://github.com/Chengxufeng1994/dotfiles --skill finishing-a-development-branch-chengxufeng1994

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding a development branch, ensuring code quality and providing clear, actionable options for integration or cleanup.

Core Features & Use Cases

  • Test Verification: Automatically checks if tests pass before proceeding.
  • Branch Integration Options: Offers clear choices for merging, creating pull requests, or deferring the branch.
  • Worktree Management: Handles the cleanup of development worktrees to maintain a tidy environment.
  • Use Case: After completing a new feature, use this skill to ensure all tests are green, then choose to merge locally, create a PR, or safely set the branch aside for later.

Quick Start

Use the finishing-a-development-branch skill to finalize 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 finalize a git branch and ensure tests pass before merging?

To finalize a git branch, verify all tests pass first, then determine the correct base branch. Choose to merge, create a pull request, or defer the branch, ensuring code quality before integration.

What is the best workflow for completing a development branch with code review?

The best workflow for completing a development branch involves mandatory test verification followed by creating a pull request for code review. This ensures quality before integrating changes into the base branch.

What should I do if I want to defer finishing a git branch instead of merging?

To defer finishing a git branch, choose the option to set it aside instead of merging or creating a pull request. This safely preserves your work without immediate integration.

Do I need to specify a base branch when integrating a development branch?

Yes, determining the correct base branch is required when integrating a development branch. The workflow identifies the target base branch before presenting options to merge or create a pull request.