finishing-a-development-branch

Verify tests and execute branch integration or cleanup workflows.

2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ucirello/sgai --skill finishing-a-development-branch-ucirello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ucirello/sgai/tree/main/cmd/sgai/skel/.sgai/skills/finishing-a-development-branch
Command: npx skills add https://github.com/ucirello/sgai --skill finishing-a-development-branch-ucirello

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing clear, actionable steps for merging, creating pull requests, or discarding changes, ensuring a clean and efficient workflow.

Core Features & Use Cases

  • Test Verification: Automatically checks if project tests pass before proceeding.
  • Branch Integration: Guides users through merging back to a base branch or creating a pull request.
  • Safe Discard: Provides a confirmation step before discarding work to prevent accidental data loss.
  • Worktree Management: Integrates with worktree management for clean up.

Quick Start

Use the finishing-a-development-branch skill to complete your current 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 complete a git development branch and merge it?

To safely complete a git development branch, you can verify tests pass, then choose to merge back to a base branch or create a pull request. This ensures a clean workflow and safe code integration.

What is the best workflow for finalizing a feature branch?

The best workflow for finalizing a feature branch involves verifying project tests pass before proceeding. You then get structured options for branch integration or cleanup to execute the chosen workflow efficiently.

Can I discard changes on a git branch without losing data accidentally?

Yes, you can discard changes safely because the workflow provides a confirmation step before discarding work. This prevents accidental data loss when cleaning up your git development environment.

How do I verify tests before creating a pull request?

You verify tests before creating a pull request by using a systematic approach to branch finalization. The process automatically checks if your project tests pass before presenting integration options.

Does this branch completion process support git worktree management?

Yes, the branch completion process integrates with worktree management for cleanup. This allows you to manage your branch lifecycle and clean up worktrees efficiently after finalizing your development work.