pr-ready
Run validation, post a summary, and flip a PR from draft to ready.
SKILL.mdskills/pr-ready/SKILL.md
GitHubPR Ready
Validate and mark a PR ready for review. Run quality gates before flipping.
Inputs
PR number or URL. Optional: -Fast (lint + unit tests only), -DryRun (print actions only).
Workflow
Run validation — Read the consuming project's root AGENTS.md and any workflow document it names (convention:
docs/agents/workflow.md, relative to the project root). PreferVALIDATE_COMMANDorRUN_ALL_TESTS_COMMAND, running the complete gate once. Resolve required commands before execution; report missing configuration instead of guessing or skipping a gate. If separate gates are required, resolve:{{LINT_COMMAND}}{{RUN_UNIT_TESTS_COMMAND}}{{RUN_ALL_TESTS_COMMAND}}{{SMOKE_TEST_COMMAND}}(optional)
Default: the complete delivery gate.
-Fastgives focused feedback only; it cannot mark the PR ready unless the project explicitly permits it as the delivery gate. Do not rerun an identical command under multiple mappings.Check CI — Run
gh pr checks <pr> --watch. Wait for green.Post summary — Comment on the PR with what ran and whether it passed:
gh pr comment <pr> --body "..."Mark ready — Only if all gates pass and CI is green:
gh pr ready <pr>
Notes
- If any gate fails, post a failing summary. Do not mark ready.
- If CI is not green, do not mark ready. Wait or report the failure.