← ClaudeAtlas

pr-packagelisted

Turn a working git diff into a clean, review-ready pull request: draft a strong, factual PR description and run a self-review checklist that follows common open-source conventions. Use when the user says "write a PR description", "open a pull request", "prepare/package this PR", "self-review my diff before I push", "PR checklist", or in Chinese "写 PR 描述", "提交 PR", "准备一个拉取请求", "PR 自检清单", "把 diff 整理成 PR". Community-standard scaffolding only — no house style, no proprietary review process.
MLliu6/lMl_skills · ★ 0 · AI & Automation · score 67
Install: claude install-skill MLliu6/lMl_skills
# pr-package **English** | [中文](#中文) Package a working diff into a pull request a maintainer will enjoy reviewing: a factual description that answers *what / why / how-tested / what-could-break*, plus a self-review pass over your own diff. Everything here is generic open-source convention — no house style, no special process to learn. ## When to use - You have committed (or staged) changes and want to open a PR. - You want to self-review before requesting a review from someone else. - You want a consistent PR description format across a repo or team. ## The flow ### 1. Gather the context Know exactly what changed before you describe it. Optionally run the helper: ```bash bash scripts/collect_diff.sh [BASE_REF] # read-only: commits, files, diffstat, secret heuristic ``` It prints the commit list, changed files, a diffstat, any uncommitted leftovers, and a light heuristic scan for accidentally committed secrets. If you skip it, get the same facts by hand: ```bash git log --oneline <base>..HEAD git diff --stat <base>...HEAD git diff --name-status <base>...HEAD ``` ### 2. Draft the description Copy `templates/PR_DESCRIPTION.md` into the PR body and fill every section: - **Summary** — 1–3 sentences: what it does and the outcome. - **Motivation / Context** — why it is needed; link the issue it closes. - **Changes** — the notable changes, grouped by area; call out anything non-obvious. - **How tested** — the actual commands you ran and what you observed (paste output)