Agent skill
pr-ready
Run validation, post a summary, and flip a PR from draft to ready.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pr-ready
SKILL.md
PR 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 — Use project placeholder mappings to extract:
{{LINT_COMMAND}}{{RUN_UNIT_TESTS_COMMAND}}{{RUN_ALL_TESTS_COMMAND}}{{SMOKE_TEST_COMMAND}}(optional)
Default: lint + all tests + smoke (if defined).
-Fast: lint + unit tests only. -
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?