finishing

Verify tests and manage Git merge, PR creation, or branch cleanup.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the final stages of development by providing a structured process to verify code, present integration options, and clean up the workspace, preventing common errors and ensuring a smooth handover.

Core Features & Use Cases

  • Test Verification: Automatically runs project tests to ensure code quality before integration.
  • Branch Management: Guides users through merging, creating Pull Requests, or safely discarding work.
  • Worktree Cleanup: Manages the removal of temporary worktrees to keep the development environment tidy.
  • Use Case: After completing a new feature, use this Skill to ensure all tests pass, then choose to merge the branch locally, create a PR, or discard the changes if the work is no longer needed.

Quick Start

Use the finishing skill to complete the current development branch.

Frequently Asked Questions about finishing

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

FAQPage Schema
How do I verify tests before merging a git branch?

Verify tests before merging a git branch by running the project test suite to ensure code quality. This process automatically checks your tests pass before presenting structured options for branch integration.

What is the best way to clean up git worktrees after development?

The best way to clean up git worktrees is to use a structured workflow that manages worktree removal. This ensures your development environment stays tidy by safely discarding temporary worktrees after integration.

Do I need GitHub CLI to create a pull request from my branch?

You need GitHub CLI to create a pull request from your branch if you choose the PR creation option. Git is required for local operations, while GitHub CLI specifically handles remote pull request creation.

How do I safely discard git branch changes when work is no longer needed?

Safely discard git branch changes by selecting the discard option during the workflow completion phase. This guides you through discarding work and cleaning up the workspace to prevent common integration errors.

Can I merge code locally instead of creating a pull request?

You can merge code locally instead of creating a pull request by choosing the local merge option. The workflow presents structured choices including local merge, PR creation, or branch cleanup based on your needs.