<< All versions
Skill v1.0.0
currentLLM-judged scan90/100smithdak/objectcore/writing-pull-requests
──Details
PublishedOctober 22, 2026 at 01:40 AM
Content Hashsha256:12acbe623d58f9e6...
Git SHA4e72f5ee88e0
──Files
Files (1 file, 3.0 KB)
SKILL.md3.0 KBactive
SKILL.md · 50 lines · 3.0 KB
version: "1.0.0" name: writing-pull-requests description: Draft a pull-request title and description that summarize the commits on a branch relative to its base branch. Use when the user is opening a pull request, asks for a PR description or title, or wants a branch summarized for reviewers.
Writing Pull Requests
Turn a branch's worth of commits into a reviewer-ready PR title and description. A commit message explains one change; a PR explains the whole change and what a reviewer should look at.
Steps
- Establish the range. Find the base (usually
main) and diff the branch against it:git log --oneline $(git merge-base HEAD main)..HEADfor the commits andgit diff $(git merge-base HEAD main)...HEAD --statfor the shape. Identify the single theme of the branch. - Write the title — one line, like a Conventional Commits subject for the whole branch:
type(scope): summary, imperative mood, ≤ ~72 chars, no trailing period. On a squash-merge repo this becomes the commit that lands onmain, so make it self-contained. - Write the description with these sections (drop any that are empty):
- What & why — the problem and the chosen approach, in 1–3 sentences. Lead with motivation; reviewers need why before how.
- Changes — a short bulleted list of the meaningful changes, grouped by area. Summarize intent; do not paste the commit log verbatim.
- Testing — how it was verified (commands run, cases covered, manual steps). If untested, say so.
- Notes / risks — migrations, rollout/flag steps, breaking changes, and anything intentionally left out of scope.
- Link issues with closing keywords so the PR auto-closes them on merge:
Closes #123,Fixes #123, orRefs #123for a non-closing reference. - Point reviewers at the hotspots — name the files or decisions that need the most scrutiny, and call out anything you're unsure about.
Rules
- Summarize the branch's intent; don't narrate each commit.
- Keep the title independent of the body — it must stand alone in
git logafter a squash-merge. - Mark breaking changes explicitly and describe the migration path.
- If the branch mixes unrelated work, say so and suggest splitting it into separate PRs.
- Match the repo's PR template if one exists (
.github/pull_request_template.md); these sections are the fallback.
Example
feat(auth): add refresh-token rotation## What & whyLong-lived refresh tokens are a replay risk if leaked. Rotate the refreshtoken on every use and revoke the prior one, closing the replay window.## Changes- Issue a new refresh token on each `/token` exchange; revoke the old one- Add a `token_family` column to detect and block reuse of a revoked token- Backfill existing sessions in a migration## Testing- `bun test packages/auth` — new rotation + reuse-detection cases- Manual: logged in, refreshed twice, confirmed the first token 401s## Notes- Requires the `2026_06_auth_rotation` migration before deploy.Closes #214