merge
Installation
SKILL.md
/merge
Use this skill for an existing pull request in the Remotion monorepo.
Loop
Start from the top after every pushed fix, conflict resolution, CI rerun, or other state change:
- Identify the PR:
gh pr view --json number,url,state,isDraft,baseRefName,headRefName,mergeable,mergeStateStatus,reviewDecision,statusCheckRollup
-
If the PR is draft, closed, blocked by requested changes, missing required approval, or otherwise not eligible to merge for a non-CI reason, stop and report the blocker.
-
If GitHub reports merge conflicts, resolve them using the
pr-readyworkflow. Commit and push the resolution when needed, then start this loop from the top. -
Wait for checks: