merge-workflow

Squash-merge agent-approved GitHub PRs and verify builds after merge.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/pwretmo/deep-underworld --skill merge-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-workflow
Source: https://github.com/pwretmo/deep-underworld/tree/main/.github/skills/merge-workflow
Command: npx skills add https://github.com/pwretmo/deep-underworld --skill merge-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end PR merge workflow by squash-merging agent-approved PRs, running post-merge build verification, and cleaning up worktrees to reduce manual toil and risk of human error.

Core Features & Use Cases

  • Automated PR discovery: identifies open PRs labeled agent-approved.
  • Squash-merges with safeguards: enforces review readiness, merges with squash, and ensures meaningful commit messages.
  • Post-merge verification: runs build checks to confirm main branch integrity after merge.
  • Worktree cleanup: removes temporary worktrees and prunes local state after successful merges.

Quick Start

Squash-merge an agent-approved PR and verify the resulting main branch build.

Frequently Asked Questions about merge-workflow

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

FAQPage Schema
How do I automate squash-merging agent-approved pull requests on GitHub?

To automate squash-merging agent-approved pull requests on GitHub, this Skill discovers open PRs labeled agent-approved, enforces review readiness checks, and uses MCP tools to perform the squash merge with meaningful commit messages.

What is the best way to verify a main branch build after a pull request merge?

The best way to verify a main branch build after a pull request merge is to run post-merge build verification directly. This Skill automatically executes local build checks to confirm main branch integrity immediately following the squash merge.

Can I automate worktree cleanup after merging multiple pull requests?

Yes, you can automate worktree cleanup after merging multiple pull requests. This Skill removes temporary worktrees and prunes local state automatically after successful merges and build verification across multiple PRs.

Does this automated PR merge workflow check for outstanding review changes before merging?

Yes, this automated PR merge workflow implements checks for outstanding review changes before merging. It enforces review readiness to ensure no unaddressed changes remain before executing the squash merge.

How do I ensure meaningful commit messages when automating squash merges on GitHub?

To ensure meaningful commit messages when automating squash merges on GitHub, this Skill applies safeguards during the merge process. It formats commit messages appropriately while using MCP tools to execute the squash merge operation.