finishing-a-development-branch

Verify tests and present branch integration or discard options.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/dwalleck/kiro-starter-kit --skill finishing-a-development-branch-dwalleck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/dwalleck/kiro-starter-kit/tree/main/.kiro/skills/finishing-a-development-branch
Command: npx skills add https://github.com/dwalleck/kiro-starter-kit --skill finishing-a-development-branch-dwalleck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured and safe process for completing development work on a branch, ensuring tests pass and offering clear options for merging, creating a Pull Request, or discarding the work.

Core Features & Use Cases

  • Test Verification: Automatically checks if project tests pass before proceeding.
  • Branch Integration Options: Guides the user through merging locally, creating a Pull Request, keeping the branch, or discarding the work.
  • Worktree Management: Handles the cleanup of associated worktrees for specific completion options.
  • Use Case: After finishing a new feature, use this Skill to ensure all tests are green, then choose to merge it back to main, create a PR for review, or safely discard it if the work 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 merge a git branch back to main after finishing development?

To safely merge a git branch, you can use a workflow that verifies tests pass, determines the base branch, and then offers structured options for a local merge or Pull Request creation to ensure code quality.

What is the best way to handle git worktree cleanup when discarding a branch?

Handling git worktree cleanup during branch discard involves selecting a completion option that automatically manages the associated worktree removal, ensuring safe branch management and a clean local environment.

Can I create a Pull Request automatically after verifying my branch tests pass?

Yes, you can create a Pull Request after verifying tests pass by choosing the PR creation option within a structured branch completion workflow, which guides the integration process for code review.

How to verify tests before integrating a development branch?

Verifying tests before integrating a development branch requires a workflow that automatically checks if project tests are green, ensuring code quality before presenting options to merge, create a PR, or discard.

What should I do if I need to keep my development branch instead of merging?

If you need to keep your development branch, you can select the option to retain the branch within the completion workflow, which pauses integration and simply exits the process without merging or discarding.

Does finishing a development branch require knowing the exact base branch?

No, finishing a development branch does not require knowing the exact base branch beforehand, as the workflow automatically determines the correct base branch to ensure safe and accurate integration.