<< All versions
Skill v1.0.1
currentAutomated scan100/100openclaw/clawdinators/distill-pr-intent
2 files
──Details
PublishedJune 7, 2026 at 12:39 AM
Content Hashsha256:3cb519ad69eddb6a...
Git SHA524669f222d8
Bump Typepatch
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 71 lines · 1.8 KB
version: "1.0.1" name: distill-pr-intent description: Side-effect-free distillation of a single OpenClaw PR into a short intent memo (stdout-only). user-invocable: false
Distill PR Intent (single PR, stdout-only)
Goal
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?
Inputs
- Required: PR number (assume repo
openclaw/openclaw).
Rules
- No external side effects: no comments, labels, merges, pushes.
- Prefer code-derived intent. PR title/body are secondary.
- Do not guess. If intent is unclear from artifacts, say so.
- Keep output short + stable. No telemetry/timing in the memo.
Output format (stdout)
text
PR INTENT (openclaw#<PR>)<free prose, up to ~5 sentences; keep under ~10 lines>
Mechanical steps (deterministic)
1) Work in the OpenClaw repo worktree tooling:
sh
cd /var/lib/clawd/repos/openclawscripts/pr review-init <PR>scripts/pr review-checkout-pr <PR>source .local/review-context.env
2) Gather diff artifacts:
sh
git diff --name-status "$MERGE_BASE"..HEAD > .local/intent.name-status.txtgit diff --stat "$MERGE_BASE"..HEAD > .local/intent.stat.txt# Patch budget: 200KBpatch_bytes=$(git diff "$MERGE_BASE"..HEAD | wc -c | tr -d ' ')if [ "$patch_bytes" -le 200000 ]; thengit diff "$MERGE_BASE"..HEAD > .local/intent.patch.txtecho PATCH_OK > .local/intent.patch-mode.txtelse: > .local/intent.patch.txtecho TOO_LONG > .local/intent.patch-mode.txtfi
3) Distill intent:
- If
PATCH_OK: infer intent from.local/intent.patch.txt. - If
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: ....