/dmi-superpowers:creating-a-pull-requestfrom 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.
Ships in dmi-superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole 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.
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. Written in non-technical language that a non-developer can understand. It should contain two parts, in order: the problem — what wasn't working, was missing, or was slow, stated so a non-engineer feels why it mattered — then the solution — what the solution is and how the PR implements the solution.
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
Problem: When the server we sync with restarts, it briefly turns requests away. Our app took that first "not now" as final and gave up, so updates were silently lost during every restart. Solution: The app now waits a moment and tries again a few times, and if the server stays down it backs off for half a minute instead of piling on. Updates survive a restart; nothing is dropped.
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: the problem, then the solution |
| TLDR for developers | Developer | Always | What changed + why this way |
| Evidence | Both | When meaningful | Before/after screenshots or logs |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hundredbillion/dmi_superpowers --plugin dmi-superpowers30 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./dispatching-parallel-agentsUse when facing 2+ independent tasks with no shared state or ordering between them and no written plan to work from — ad-hoc fan-out. When the tasks come from a TSP, use subagent-driven-development instead.