Skip to content
Agentmart
Submit a tool

creating-a-pull-request

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…

Skill by HundredBillion

IndexedMIT★ 3
Write a review

Chalk Labs

Need help deploying creating-a-pull-request?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hundredbillion-creating-a-pull-request

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/creating-a-pull-request

What's inside

Skill name
creating-a-pull-request
Description
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.
License
MIT
Instructions
87 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Creating a Pull Request

## Overview

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."

## The Process

### Step 1: Detect a repo PR template

```bash
ls .github/PULL_REQUEST_TEMPLATE.md .github/pull_request_template.md \
   .github/PULL_REQUEST_TEMPLATE/ docs/PULL_REQUEST_TEMPLATE.md 2>/dev/null
```

- **Template found:** fill out the template's sections. Still write the prose in the house style (Step 3) — if the template has no slot for a plain-language summary or a developer TLDR, **add them at the top** of the body before the template's sections.
- **No template:** use the default body in Step 3.

### Step 2: Write the title

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 outcome
- ❌ `Add cursor-based pagination to the /customers endpoint` — names the mechanism
- ✅ `Stop losing background updates when the server is briefly busy`
- ❌ `Add retry-with-backoff and circuit breaker to sync_worker`

### Step 3: Write the body

The 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.

### Step 4: Create the PR

```bash
git push -u origin <branch>
gh pr create --title "<plain-language title>" --body "<body from Step 3>"
```

## Example (no-template body)

> ## 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.

## Quick Reference

| 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 |

## Common Mistakes

- **Jargon title** ("Add circuit breaker to sync_worker") — name the outcome a non-developer cares about instead.
- **Opening with the technical summary** — the first thing readers see must be the plain-language Summary.
- **Solution without a problem** — a Summary that only says what changed leaves a non-engineer with no idea why it mattered. State the problem first, then the solution.
- **Reaching for an analogy** — a plain statement of the problem and the solution is the goal, not a metaphor. Skip analogies.
- **Merging lay and dev explanations into one block** — keep Summary and TLDR as separate sections.
- **Skipping evidence when it exists** — if there's a reproducible before/after, show it.
- **Template overrides the house style** — a repo template tells you which sections to fill, not how to write them. Plain-language Summary + developer TLDR still apply.

From HundredBillion/dmi_superpowers, MIT.

More from HundredBillion/dmi_superpowers

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Jul 11, 2026 (3 months ago)
Last release
Oct 18, 2026 (12 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from HundredBillion

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get creating-a-pull-request running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying creating-a-pull-request?

CallGet help
Cite this page

creating-a-pull-request skill. Agent Mart. https://agentmart.dev/skills/hundredbillion-creating-a-pull-request (last updated 2026-10-24)