원클릭으로
prepare-pr
Script-first PR preparation with structured findings resolution, deterministic push safety, and explicit gate execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Script-first PR preparation with structured findings resolution, deterministic push safety, and explicit gate execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | prepare-pr |
| description | Script-first PR preparation with structured findings resolution, deterministic push safety, and explicit gate execution. |
| version | 1.0.0 |
| author | DunCrew |
| metadata | {"openclaw":{"emoji":"🔧","primaryEnv":"shell"}} |
Prepare the PR head branch for merge after /review-pr.
.local/pr-meta.env if present in the PR worktree.main.--force-with-lease against known head SHA.git clean -fdx.scripts/pr-prepare init <PR>
.local/review.json is mandatory.BLOCKER and IMPORTANT items.Commit scoped changes with concise subjects (no PR number/thanks; those belong on the final merge/squash commit).
Run gates via wrapper.
Push via wrapper (includes pre-push remote verification, one automatic lease-retry path, and post-push API propagation retry).
Optional one-shot path:
scripts/pr-prepare run <PR>
scripts/pr-prepare init <PR>
ls -la .local/review.md .local/review.json .local/pr-meta.env .local/prep-context.env
jq . .local/review.json >/dev/null
List required items:
jq -r '.findings[] | select(.severity=="BLOCKER" or .severity=="IMPORTANT") | "- [\(.severity)] \(.id): \(.title) => \(.fix)"' .local/review.json
Fix all required findings. Keep scope tight.
jq -r '.changelog' .local/review.json
jq -r '.docs' .local/review.json
Use concise, action-oriented subject lines without PR numbers/thanks. The final merge/squash commit is the only place we include PR numbers and contributor thanks.
Use explicit file list:
scripts/committer "fix: <summary>" <file1> <file2> ...
scripts/pr-prepare gates <PR>
scripts/pr-prepare push <PR>
This push step includes:
.local/prep.env generation.ls -la .local/prep.md .local/prep.env
PR is ready for /merge-pr.gh pr merge in this skill.Display interactive HTML content, visualizations, dashboards, or games on connected OpenClaw nodes (Mac, iOS, Android). Supports live reloading, remote navigation, JS execution, and canvas snapshots for development, testing, and presentation scenarios.
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.
Execute shell commands and scripts on the user's local machine.
多模态 AI 图片理解工具。将图片发送给支持 vision 的 LLM 模型,获取图片的语义理解和详细描述。可分析截图、设计稿、图表、报错信息等。
Unified memory search and management system for retrieving, storing, and organizing information across daily logs, persistent memory, SOPs, and execution traces. Use this skill to recall past events, manage knowledge bases, update important notes, or filter historical data by tags and time ranges.
智能 OCR 文字提取工具。从图片中识别文字,支持中英文混排、图像预处理(灰度化+二值化提升识别率)、表格结构还原为 Markdown 格式。