merge-gate

Automate merge governance from gate checks to cleanup on Git main branches.

2.6k|696|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/zts212653/clowder-ai --skill merge-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-gate
Source: https://github.com/zts212653/clowder-ai/tree/main/cat-cafe-skills/merge-gate
Command: npx skills add https://github.com/zts212653/clowder-ai --skill merge-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Merges into main often suffer from inconsistent reviews and unvetted changes. This Skill ensures a complete, auditable merge flow from gate checks to final cleanup.

Core Features & Use Cases

  • Gate checks before PR: enforce reviewer clearance and all required checks pass.
  • PR orchestration and cloud review: automate PR creation, trigger cloud review, and ensure compliance.
  • Merge execution and phase sync: perform squash merge, update Phase docs, and clean worktrees.
  • Use Case: When a feature branch is ready after reviewer approval, use this Skill to safely merge into main with proper documentation.

Quick Start

Push your feature branch, open a PR using the provided template, and let the gate validate against main before merging.

Frequently Asked Questions about merge-gate

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

FAQPage Schema
How do I automate gated merges into a Git main branch after reviewer clearance?

Safely merging feature branches requires automating gate checks, PR creation, cloud reviews, and squash merges. This Skill enforces reviewer clearance and deterministic pre-merge validation to ensure unvetted changes never reach the main branch.

What is the best way to ensure consistent reviews before a pull request merge?

Ensuring consistent reviews requires a merge governance flow that validates required checks before PR creation. This Skill acts as a gate, enforcing reviewer clearance and automating compliance checks to prevent unvetted changes from being merged into main.

How do I perform a squash merge and sync Phase docs during Git cleanup?

Performing a squash merge and syncing Phase docs is part of post-merge housekeeping. This Skill executes the squash merge policy, updates Phase documentation, and cleans workspaces to maintain repository hygiene after the feature branch integrates into main.

Does merge-gate work with standard Git workflows requiring cloud review triggers?

Yes, it automates PR orchestration and triggers cloud reviews within standard Git workflows. It ensures compliance by validating gate checks against main before executing the merge policy and final worktree cleanup.

Why do unvetted changes keep bypassing my Git merge governance process?

Unvetted changes bypass governance when pre-merge checks are inconsistent or manual. This Skill prevents that by applying deterministic gate checks, enforcing reviewer clearance, and automating the PR orchestration before any merge execution occurs.