pr-lifecycle
Take a verified change from local branch through pull-request readiness, with optional merge only when the user explicitly authorizes it. Use for end-to-end GitHub PR work.
SKILL.mdskills/pr-lifecycle/SKILL.md
GitHubPull Request Lifecycle
Choose the requested stopping point first: local verification, PR opened, PR ready for human merge, or merged. Never assume merge authorization.
- Inspect branch, diff, base, working-tree state, and original request. Preserve unrelated changes.
- Run targeted tests and review the full diff. Resolve concrete issues before publication.
- Confirm the intended repository, branch, visibility, title, and target. Create commits or push only when authorized.
- Open or update a PR with a problem-first summary, behavior changes, tests actually run, and known limitations.
- Monitor CI and review feedback only when requested or within the approved task. Use the PR watcher for check-state changes, but inspect review threads separately.
- Fix validated findings, rerun relevant checks, and keep the PR description accurate.
- Stop at the requested gate. Merge only with explicit authorization and after verifying required approvals, checks, mergeability, and target branch.
Never auto-merge because a check turned green. Do not force-push, dismiss reviews, or change repository settings without approval. Report the exact state observed from GitHub.