prepare-pr
Installation
SKILL.md
Prepare PR
Overview
Prepare the PR head branch for merge after /review-pr.
Inputs
- Ask for PR number or URL.
- If missing, use
.local/pr-meta.envif present in the PR worktree.
Safety
- Never push to
main. - Only push to PR head with explicit
--force-with-leaseagainst known head SHA. - Do not run
git clean -fdx. - Wrappers are cwd-agnostic; run from repo root or PR worktree.
Execution Contract
Related skills
More from openclaw/maintainers
merge-pr
Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting.
41review-pr
Script-first review-only GitHub pull request analysis. Use for deterministic PR review with structured findings handoff to /prepare-pr.
40mintlify
Build and maintain documentation sites with Mintlify. Use when
37pr-cluster
Find clusters of related PRs given a PR number. Identifies duplicates, similar fixes, and competing approaches across 5K+ open PRs using GitHub Search API. Use when reviewing a PR, triaging, or looking for duplicate/related PRs. Run this before /review-pr to find the full cluster first.
31