一键导入
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 职业分类
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 格式。
| 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.