From dmi-superpowers
Use when opening, creating, or writing a pull request, pushing a branch for review, or running gh pr create - covers the PR title, body, and evidence so the description reads for both a non-developer and a developer.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dmi-superpowers:creating-a-pull-requestThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A PR is read by two audiences at once: someone who needs to know **what changed and why it matters** without reading code, and a developer who needs to know **what the code does and why it was written that way**. Write for both, every time.
A PR is read by two audiences at once: someone who needs to know what changed and why it matters without reading code, and a developer who needs to know what the code does and why it was written that way. Write for both, every time.
Core principle: Plain-language meaning first, technical detail second — never skip the first to get to the second. This is the dmi-superpowers:say discipline applied to a PR.
Announce at start: "I'm using the creating-a-pull-request skill to write this PR."
ls .github/PULL_REQUEST_TEMPLATE.md .github/pull_request_template.md \
.github/PULL_REQUEST_TEMPLATE/ docs/PULL_REQUEST_TEMPLATE.md 2>/dev/null
Plain-language and concise. Name the outcome a non-developer cares about, never the mechanism.
Self-check before you commit the title: does it name a mechanism — a library, pattern, data structure, function, or endpoint (e.g. "pagination", "circuit breaker", "cursor", "/customers")? If so, rewrite it as the outcome that mechanism produces.
Speed up the admin dashboard by loading customers in pages — names the outcomeAdd cursor-based pagination to the /customers endpoint — names the mechanismStop losing background updates when the server is briefly busyAdd retry-with-backoff and circuit breaker to sync_workerThe body is a contract with these parts, in this order:
1. Summary (always) — for a non-developer. Explain what this PR does in plain, non-technical language, and keep learning fun by carrying the whole explanation on ONE sustained analogy. The analogy is load-bearing, not garnish — it should teach the change by itself. Recipe:
2. TLDR for developers (always) — for a developer. What code changed (files, functions, key mechanisms) and why it was written this way — the reasoning behind the approach, not just a restatement of the diff.
3. Evidence (when meaningful and helpful) — proof it works. Before/after UI screenshots, or before/after server log excerpts, that demonstrate the bug is fixed or the feature works. Omit only when there is genuinely nothing visual or observable to show; say so if you omit it.
git push -u origin <branch>
gh pr create --title "<plain-language title>" --body "<body from Step 3>"
Summary
Picture our app as a messenger who needs a signature from a neighbor across the street. When that neighbor is briefly busy, they call "not now!" back through the door. Until this change, our messenger took one "not now!", shrugged, and dropped the errand in the bin — so the signature was simply lost. Now the messenger waits a beat and knocks a few more times. And if the neighbor stays silent through every knock, the messenger stops pestering the door for half a minute, so a genuinely overwhelmed neighbor isn't buried under even more knocking — then tries again fresh once the half-minute is up.
TLDR for developers
sync_worker.py: wrapped the upstream call in retry-with-exponential-backoff (3 attempts, jittered). Jitter avoids a thundering-herd retry spike when many workers recover at once.- Added a circuit breaker: opens after 5 consecutive failures and pauses syncing for 30s, so we don't hammer an upstream that is genuinely down rather than blipping.
- Tests cover the backoff schedule and the breaker's closed→open→reset transitions.
Evidence
Before (logs):
event 4f2 dropped: upstream 503×17 during the 12:04 deploy. After (logs):event 4f2 retry 2 succeeded— 0 dropped across the same deploy window.
| Part | Audience | Required? | Must contain |
|---|---|---|---|
| Title | Non-developer | Always | Plain-language outcome, concise |
| Summary | Non-developer | Always | Plain language + ONE sustained analogy (one world, every noun mapped) |
| TLDR for developers | Developer | Always | What changed + why this way |
| Evidence | Both | When meaningful | Before/after screenshots or logs |
npx claudepluginhub hundredbillion/dmi_superpowers --plugin dmi-superpowersCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.