What problem does it solve? Getting an approved pull request across the finish line often stalls on flaky tests, stale checks, merge queues, and race conditions from concurrent pushes. This Skill automates the terminal closeout phase: it monitors CI on an already-reviewed PR, researches and fixes every failure, and merges only after rigorous safety gates pass. ## Core Features & Use Cases - Pre-flight safety gates: Verifies the PR is explicitly named, has reviewDecision APPROVED, and is MERGEABLE before doing anything, aborting if human review is incomplete. - Bounded fix loop: Classifies each CI failure (flake vs. real regression), applies per-type fix recipes composed from ci-fix-monitor, quarantines flaky test files correctly across four OS-specific quarantine files, and caps the loop at 5 iterations before escalating. - Safe merge with independent confirmation: Runs gh pr merge without strategy flags (supporting merge queues), then confirms the merge via the local git object DB rather than trusting the GitHub API alone. - Use Case: A reviewer approves a PR but CI shows a flaky macOS test and a BEHIND merge state. Invoke this Skill to rebase onto main, quarantine the flake in the correct OS-specific file, wait for green checks, and merge with post-merge verification. ## Quick Start Monitor and fix CI on approved pull request number 123, then merge it once all required checks are green.