finishing-a-development-branch

Validate tests and pre-commit hooks, then offer merge, PR, or cleanup options.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rapyuta-robotics/agent-ai --skill finishing-a-development-branch-rapyuta-robotics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/rapyuta-robotics/agent-ai/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/rapyuta-robotics/agent-ai --skill finishing-a-development-branch-rapyuta-robotics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams to complete development work by verifying tests and pre-commit hooks, then presenting clear, structured options for merging, opening a PR, or cleaning up the branch.

Core Features & Use Cases

  • Test verification: Ensures all tests pass before proceeding with merge or PR.
  • Pre-commit validation: Enforces code quality checks prior to integration.
  • Decision guidance: Presents four concrete options for merging, PR creation, keeping, or discarding the branch.
  • Workflow cleanup: Manages branch deletion and worktree cleanup to maintain repository hygiene.

Quick Start

Run this skill after a feature branch has passed tests. It will guide you through the next steps for integration or cleanup.

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 merge a Git branch after passing tests?

To safely merge a Git branch after passing tests, this skill validates your test results and pre-commit hooks, then presents four explicit options for merging, opening a PR, keeping, or discarding the branch.

What are the options for closing a Git feature branch?

The options for closing a Git feature branch include merging directly, creating a pull request, keeping the branch active, or discarding it entirely, all presented after automated test and pre-commit validation.

Can I create an Azure Boards pull request when finishing a Git branch?

Yes, you can create an Azure Boards pull request when finishing a Git branch by selecting the PR creation option provided within the skill's guided post-implementation workflow.

How do I clean up Git worktrees and delete branches after merging?

To clean up Git worktrees and delete branches after merging, this skill manages branch deletion and worktree cleanup automatically as part of its workflow hygiene options.

Does this workflow enforce pre-commit checks before merging a PR?

Yes, this workflow enforces pre-commit checks before merging a PR by validating code quality hooks and ensuring all tests pass prior to presenting integration options.

Do I need standard Git tooling to use this branch closing workflow?

Yes, you need standard Git tooling and repository access to execute this branch closing workflow, as it relies on native Git operations and pre-commit configurations.