omk-finishing

Verify tests and execute merge, PR, keep, or discard actions on Git branches.

103|15|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/KaimingWan/oh-my-kiro --skill omk-finishing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omk-finishing
Source: https://github.com/KaimingWan/oh-my-kiro/tree/main/skills/omk-finishing
Command: npx skills add https://github.com/KaimingWan/oh-my-kiro --skill omk-finishing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Branch finishing automates the finalization of feature work by validating readiness, presenting deterministic closure options, and cleaning up work trees to maintain a clean repo state.

Core Features & Use Cases

  • Verify tests pass before concluding work to ensure reliability.
  • Present exactly four options: Merge locally, Push and create a PR, Keep the branch, or Discard the work.
  • Execute the chosen path and perform cleanup of the worktree to prevent drift.
  • Use Case: after implementing a feature, finish the branch by safely integrating or archiving as appropriate.

Quick Start

Tell the agent your feature branch name and base branch, and it will verify tests, present four finish options, execute the chosen action, and clean up the worktree.

Frequently Asked Questions about omk-finishing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git worktree cleanup and branch finishing after a feature is done?

Automating git worktree cleanup and branch finishing requires validating tests, selecting from deterministic closure actions like local merge or PR creation, and executing worktree cleanup to prevent drift.

What is the best way to finalize a git feature branch with merge or pull request options?

Finalizing a git feature branch is best handled by verifying test readiness, presenting deterministic options such as local merge, push and create PR, keep branch, or discard, then executing the chosen operation with automatic worktree cleanup.

Can I create a pull request and clean up the worktree automatically from a feature branch?

Yes, you can create a pull request and clean up the worktree automatically by selecting the push and create PR option, which executes the remote push and performs worktree cleanup to maintain a clean repository state.

Do I need to specify the base branch to merge a local feature branch correctly?

Yes, you need to specify the base branch, such as main or master, to determine the correct merge base and successfully execute the local merge or pull request creation workflow.

Why should I verify tests pass before merging a feature branch?

Verifying tests pass before merging a feature branch ensures reliability and readiness, preventing broken code from being integrated into the base branch during the finalization workflow.

What happens if I discard a feature branch during the git finishing workflow?

Discarding a feature branch during the git finishing workflow removes the work and performs automatic worktree cleanup, preventing drift and maintaining a clean repository state.