finishing-a-development-branch

Guides Git users to finish a development branch with merge, PR, or cleanup options after tests pass.

Updated Sep 25, 2024
One-click install
npx skills add https://github.com/kwam1na/athena --skill finishing-a-development-branch-kwam1na
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/kwam1na/athena/tree/main/.agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/kwam1na/athena --skill finishing-a-development-branch-kwam1na

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when you have completed implementation and tests pass but need to decide how to integrate the work, guiding completion with structured options for merge, PR, or cleanup.

Core Features & Use Cases

  • Verifies tests pass before offering integration options to prevent introducing failing changes.
  • Presents exactly four structured choices to keep decisions unambiguous.
  • Handles base-branch determination, optional worktree cleanup, and follow-up cleanup steps to finalize the feature.

Quick Start

Verify tests pass, determine the base branch, and select one of the four presented options to finish the 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 finish a development branch after tests pass in Git?

To finish a development branch after tests pass, this skill guides you through base-branch detection and presents four structured options for merge, PR, or cleanup to ensure a clean integration path.

What is the best way to clean up a Git worktree after merging a feature branch?

The best way to clean up a Git worktree after merging is selecting a structured completion option that handles worktree management and follow-up cleanup actions, finalizing the feature integration safely.

Can I use this branch management workflow without a Git-enabled environment?

No, you cannot use this branch management workflow without a Git-enabled environment, as the skill requires runnable tests and explicit guardrails to prevent destructive actions during integration.

How does base-branch detection work when completing a feature branch?

Base-branch detection works by identifying the source branch to determine the correct integration path, ensuring your merge, pull request, or cleanup actions target the appropriate base branch.

What are the structured options for integrating a completed Git branch?

The structured options for integrating a completed Git branch are four distinct choices presented after tests pass, covering merge, pull request, and cleanup actions to keep branch management decisions unambiguous.

Why does finishing a development branch require passing tests first?

Finishing a development branch requires passing tests first to verify your implementation works, preventing the introduction of failing changes into the base branch during the Git integration process.