relay-merge
Relay Merge
Explicitly merge a ready-to-merge PR and close the loop. Requires relay-review PR comment.
Process
0. Gate check — verify relay-review completed
${CLAUDE_SKILL_DIR}/scripts/gate-check.js $PR_NUM
- Exit 0 (LGTM) → PR is ready to merge; proceed only if the user wants to land it now
- Exit 1 (no comment) → STOP. Run relay-review first
- Exit 1 (stale LGTM) → STOP. Run relay-review again for the latest commit
- Exit 1 (CHANGES_REQUESTED) → STOP. Re-dispatch or fix the branch first
- Exit 1 (ESCALATED) → STOP. Show unresolved issues to user
Intentional skip (hotfix, manual PR, trivial change):
More from sungjunlee/dev-relay
relay-dispatch
Dispatch implementation tasks via worktree isolation. Use when delegating work to an executor, running background dispatches, or parallelizing independent tasks.
17relay
Execute the full relay cycle — plan, dispatch, review, merge. Use when implementing a GitHub issue or task through autonomous executor dispatch. Integrates with dev-backlog sprint files.
16relay-plan
Synthesize task intent, explicit AC when present, repo signals, and task risk into a scored rubric for autonomous iteration. Always used before relay-dispatch — rubric depth scales with task size.
16relay-review
Independent PR review against Done Criteria in a fresh context, free from planning bias. Use after dispatch completes and a PR exists.
16relay-intake
Shape a raw request into one-or-more relay-ready leaf contracts with frozen Done Criteria snapshots. Use before relay-plan when the task is ambiguous, oversized, or missing a stable review anchor.
10