基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/openclaw/clawdinators --skill distill-pr-intent命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Run PR intent distillation across a PR set and persist outputs + sidecar metadata to /memory/pr-intent.
Land an OpenClaw PR end-to-end using the repo landpr checklist. Use when someone requests “/landpr” or asks to merge/land a PR.
Control CLAWDINATOR fleet lifecycle via the control API. Use for /fleet deploy or /fleet status.
| name | distill-pr-intent |
| description | Side-effect-free distillation of a single OpenClaw PR into a short intent memo (stdout-only). |
| user-invocable | false |
Given one PR number in openclaw/openclaw, output a short memo answering:
What was the author trying to accomplish (motivation / problem framing / bet), as evidenced by the code change?
openclaw/openclaw).PR INTENT (openclaw#<PR>)
<free prose, up to ~5 sentences; keep under ~10 lines>
cd /var/lib/clawd/repos/openclaw
scripts/pr review-init <PR>
scripts/pr review-checkout-pr <PR>
source .local/review-context.env
git diff --name-status "$MERGE_BASE"..HEAD > .local/intent.name-status.txt
git diff --stat "$MERGE_BASE"..HEAD > .local/intent.stat.txt
# Patch budget: 200KB
patch_bytes=$(git diff "$MERGE_BASE"..HEAD | wc -c | tr -d ' ')
if [ "$patch_bytes" -le 200000 ]; then
git diff "$MERGE_BASE"..HEAD > .local/intent.patch.txt
echo PATCH_OK > .local/intent.patch-mode.txt
else
: > .local/intent.patch.txt
echo TOO_LONG > .local/intent.patch-mode.txt
fi
PATCH_OK: infer intent from .local/intent.patch.txt.TOO_LONG: infer intent from .local/intent.name-status.txt + .local/intent.stat.txt.If multiple intents exist, mention 2–3 briefly.
If nothing coherent: say Intent unclear: ....