Publish Draft And Monitor
Publish one branch to a monitored, ready-for-review PR. Never auto-merge.
ORCHESTRATION SKILL. INVOKES: draft-pr-for-branch, review-branch-until-clean, monitor, monitor-codex. MUTATING: scoped commits, pushes, PR edits, repairs.
Read publish flow details before executing.
USE FOR:
- End-to-end branch requests: draft PR, local review cleanup, ready transition, Codex approval, delayed empty
#CI trigger commit, spec runs, and scoped repairs until merge-ready or blocked.
DO NOT USE FOR:
- Draft-only or ready-only PR work; use
draft-pr-for-branch.
- Existing PR CI-only work; use
fix-pr-until-green or monitor-ci.
- Codex-only review/concerns; use
monitor-codex.
- Branch splitting, conflicts, auto-merge, or read-only PR summaries.
Workflow
- Inspect branch/base, dirty scope, diff, PR metadata, and auth.
- Use
draft-pr-for-branch to publish or refresh the draft PR without CI-trigger authorization and report its link.
- Use
review-branch-until-clean; commit/push only validated repairs with write-commit-name, without #CI unless the prompt explicitly requested a CI marker.
- Mark ready through
draft-pr-for-branch without CI-trigger authorization, then run monitor-codex ready-transition mode to observe automatic PR eyes and reach a clean Codex outcome for the current code-bearing head.
- Hand off to
monitor in gated-trigger mode. monitor owns Codex approval evidence, the gated empty #CI trigger commit in drive-to-merge-ready mode, and continued repair/monitoring if remote CI fails.
Troubleshooting
Stop for missing auth, unclear scope, non-actionable CI, product-intent gaps, external conflicts, missing ready-review eyes, or repeated no-progress repairs.
Examples
- "Publish this as draft and monitor."
- "Take this branch to ready for review and keep fixing CI/Codex blockers."
Output
Return PR link/state, head SHA, repairs, CI, Codex evidence, concerns, and blockers.
1---2name: publish-draft-and-monitor3description: Publish current branch as draft PR, clean local review findings, mark ready, then hand off to monitor for Codex approval, gated empty `#CI` trigger commits, spec runs, and CI monitoring. Use for end-to-end publish-draft-and-monitor requests. Do not use for draft-only PRs, CI-only, Codex-only, branch splitting, or auto-merge.4---56# Publish Draft And Monitor78Publish one branch to a monitored, ready-for-review PR. Never auto-merge.910**ORCHESTRATION SKILL. INVOKES:** `draft-pr-for-branch`, `review-branch-until-clean`, `monitor`, `monitor-codex`. **MUTATING:** scoped commits, pushes, PR edits, repairs.1112Read [publish flow details](references/publish-flow.md) before executing.1314## USE FOR:1516- End-to-end branch requests: draft PR, local review cleanup, ready transition, Codex approval, delayed empty `#CI` trigger commit, spec runs, and scoped repairs until merge-ready or blocked.1718## DO NOT USE FOR:1920- Draft-only or ready-only PR work; use `draft-pr-for-branch`.21- Existing PR CI-only work; use `fix-pr-until-green` or `monitor-ci`.22- Codex-only review/concerns; use `monitor-codex`.23- Branch splitting, conflicts, auto-merge, or read-only PR summaries.2425## Workflow26271. Inspect branch/base, dirty scope, diff, PR metadata, and auth.282. Use `draft-pr-for-branch` to publish or refresh the draft PR without CI-trigger authorization and report its link.293. Use `review-branch-until-clean`; commit/push only validated repairs with `write-commit-name`, without `#CI` unless the prompt explicitly requested a CI marker.304. Mark ready through `draft-pr-for-branch` without CI-trigger authorization, then run `monitor-codex` ready-transition mode to observe automatic PR `eyes` and reach a clean Codex outcome for the current code-bearing head.315. Hand off to `monitor` in gated-trigger mode. `monitor` owns Codex approval evidence, the gated empty `#CI` trigger commit in drive-to-merge-ready mode, and continued repair/monitoring if remote CI fails.3233## Troubleshooting3435Stop for missing auth, unclear scope, non-actionable CI, product-intent gaps, external conflicts, missing ready-review `eyes`, or repeated no-progress repairs.3637## Examples3839- "Publish this as draft and monitor."40- "Take this branch to ready for review and keep fixing CI/Codex blockers."4142## Output4344Return PR link/state, head SHA, repairs, CI, Codex evidence, concerns, and blockers.