Pr Ship
by @glucksberg
Pre-ship risk report for OpenClaw PRs. Dynamically explores the codebase to assess module risk, blast radius, and version-specific gotchas. Scores each findi...
clawhub install pr-shipπ About This Skill
name: pr-ship description: Pre-ship risk report for OpenClaw PRs. Dynamically explores the codebase to assess module risk, blast radius, and version-specific gotchas. Scores each finding by severity (π’/π‘/π΄). Updated frequently with the latest OpenClaw version context β run
clawhub update pr-ship regularly to stay current.
pr-ship
Overview
Pre-ship risk report for OpenClaw pull requests.
This skill is updated frequently to track OpenClaw releases. The version-specific context (gotchas, behavioral changes, active risk areas) is refreshed with each upstream release. Run clawhub update pr-ship periodically to get the latest context.
What it does:
main in the OpenClaw repository.Reference Layers
Load these files from the references/ directory. Each serves a distinct purpose:
1. STABLE-PRINCIPLES.md -- Timeless OpenClaw coding standards: testing guide, file naming, safety invariants, common pitfalls, PR practices.
2. ARCHITECTURE-MAP.md -- OpenClaw structural context: module hierarchy, risk tier definitions with calibrated thresholds, critical path patterns, cross-module coupling, change impact matrix.
3. CURRENT-CONTEXT.md *(optional)* -- Version-specific gotchas, recent behavioral changes, and active risk areas. If this file exists, load it. It tracks the current OpenClaw release.
4. EXPLORATION-PLAYBOOK.md -- Dynamic investigation procedures. Read-only commands (grep, find, ls, git) that discover the current state of the OpenClaw codebase.
5. VISION-GUIDELINES.md -- Project vision, contribution policy, and merge guardrails derived from OpenClaw's VISION.md. Covers PR scope rules, security philosophy, plugin/core boundary, skills policy, MCP strategy, and the explicit "will not merge" list. Use this to catch policy and architectural misalignment.
STABLE-PRINCIPLES, ARCHITECTURE-MAP, EXPLORATION-PLAYBOOK, and VISION-GUIDELINES should always be present. CURRENT-CONTEXT is optional -- if missing, the skill still works but without version-specific gotcha awareness.
Workflow
1. Load reference layers
2. Collect diff against main
git branch --show-currentgit diff --name-only main...HEADgit diff main...HEAD3. Classify changed modules
src// path.4. Run dynamic exploration per changed module
5. Evaluate findings
6. Produce report
Severity and Alert Scoring
Scoring:
final_alert_score = max(per_finding_scores). If no findings, final_alert_score = 0.Report Format
## pr-ship reportBranch:
Base: main
Files changed:
Modules touched:
Findings:
Final alert score: <0-10> Module Risk Summary
| Module | Risk Tier | Consumers | Files Changed |
| --- | --- | --- | --- |
| | CRITICAL/HIGH/MEDIUM/LOW | | |
Findings
1. π’/π‘/π΄ Title
- Alert: <1-10>
- Reference:
- Evidence in diff:
- Exploration evidence:
- Why this matters: <1-2 lines>
- Suggested fix: <1-2 concrete actions>
(repeat)
Executive summary
Constraints
main.Provenance
CURRENT-CONTEXT.md metadata is refreshed daily via cron when OpenClaw upstream CHANGELOG.md changes. GitHub repo is updated separately by the maintainer.# Quick: compare file list + versions
diff <(clawhub list | grep pr-ship) <(curl -s https://api.github.com/repos/Glucksberg/pr-ship/contents/package.json | jq -r '.content' | base64 -d | jq -r .version)Full: diff your local install against GitHub
SKILL_DIR="$(find ~/.openclaw/skills -maxdepth 1 -name pr-ship -type d 2>/dev/null || echo skills/pr-ship)"
for f in SKILL.md package.json references/CURRENT-CONTEXT.md; do
diff <(cat "$SKILL_DIR/$f") <(curl -s "https://raw.githubusercontent.com/Glucksberg/pr-ship/main/$f") && echo "$f: β match" || echo "$f: β differs"
done
Security Notice
Reports generated by this skill may include diffs and grep output from your local repository. If your config files, environment, or code contain secrets (API keys, tokens, credentials), those values may appear in the report. Do not publish or share generated reports without reviewing them for sensitive data first.
Credits
Original DEVELOPER-REFERENCE.md format and approach adapted from mudrii's developer reference methodology. The dynamic exploration approach was designed based on feedback from the OpenClaw maintainer community.
π Constraints
main.