Logo: Pr Writing

Pr Writing

Communautéit
timharris707
pr-writing

Write a pull request the decider can judge from its description alone: problem first, before-and-after evidence, a can-we-undo call. Use when filing a PR, updating a PR description, responding to PR review feedback, or writing a PR or review-thread comment on someone's behalf.

Iwwersiicht

Editeurtimharris707
Repositoryskills
Skill-Nummpr-writing
Stären
45
Forks
7
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    timharris707 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Pr Writing an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/timharris707/skills/tree/main/skills/run/pr-writing
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/timharris707/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/run/pr-writing .claude/skills/pr-writing
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Pr Writing an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Pr Writing automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Pr Writing net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

PR writing

A PR is read by the decider and by reviewers long before anyone reads it in git history; and in a repo run through this pack, the decider may be a non-engineer whose merge decision rests entirely on the description. These rules bind every session writing a PR or comment on the decider's behalf, not just lanes the pack machinery launched. Most rules here exist because their violation shipped; the rest come from reviewed prior art named in Attribution. The examples are real agent-filed PRs from consuming repos, identifiers removed and content lightly paraphrased.

Before filing

  • Check whether a PR for this branch already exists; update it rather than filing a twin.
  • Review the actual diff against the PR's base branch before writing anything: the description describes what the diff does, not what the lane meant to do, and a diff that doesn't match the driving item's goal is a finding to report, not to describe around.
  • File a real PR, not a draft: review bots skip drafts, and the pack's review discipline depends on them running. A repo whose recorded policy wants drafts overrides this.

Title

The title says why the change matters, in plain language, and since squash-merge makes it the commit subject, it follows the repo's title conventions (read a few recently merged PRs first).

  • Bad (real): "Refactor task detail run summaries": pure mechanism; says what was touched, not what was wrong or why anyone should care.
  • Good (real): "Defuse seeded demo-account password time bomb": names the problem and the stakes in one line.

Description

A description runs in this order: the problem, the solution, the evidence, the can-we-undo call, then any optional detail. The provenance blurb closes it.

Problem, then solution

Open with a plain-language statement of the problem, drawn from the driving item or the user's original words. Then the solution in a sentence or two. Implementation detail comes after that, if at all, never first.

The anti-pattern is the implementation inventory: a bullet list of internal changes with no stated problem. It reads as thorough and communicates nothing.

  • Bad (real): "— extract duplicated latest-run and active-run mapping into a typed shared helper — keep the response shape and query behavior unchanged — update the hygiene roadmap…" No reader can say what the point of this PR was.
  • Good (real): "The status icons next to the provider column headers did nothing on hover, and nothing said they were clickable. Hovering now shows the same health-detail popover that clicking does; click behavior is unchanged." The problem in the user's own terms, then the fix.

Evidence: before and after

Every change carries evidence that it works, shown before and after. Evidence is something that ran (a test, a command, the running app), never "the code reads right".

  • A user-visible change carries visual evidence: a screenshot, or a short recording for interaction, of the before and the after. Reviewers and a non-engineer decider judge what they can see, and one image outweighs a paragraph of description.
  • Every other change carries the exact test or command and its output, before the change and after it: a test that failed and now passes, or output that changed the way the problem statement says it should. A change meant to alter no behavior, such as a refactor, shows the same tests passing on both sides.

Where the environment provides an upload capability (a file-host skill, a recorded binding), use it and embed the link; externally hosted video does not inline-play on GitHub, so link it plainly, optionally under a small GIF preview. Review every frame before uploading: hosted evidence is public to anyone holding the link, so no credentials, tokens, or customer data on screen: re-capture with safe data rather than annotating around a leak, and where the surface cannot be captured safely, fall back to the no-capability path. No capability, no invention: note "demo available on request" instead of improvising hosting. Pasted command output gets the same review before it goes in the description.

Can we undo this?

Every description says whether a revert fully undoes the change, and how much could break, as two short lines in plain words:

markdown
**Can we undo this?** Yes, a revert fully undoes it. | No: <what a revert leaves done>.
**What could break:** <small | medium | large>. <One sentence naming what.>
  • Can we undo this? Yes when the change lives only in the code, so reverting the PR puts everything back: a two-way door, one you can walk back through. No when merging or deploying does something a revert leaves done: it deletes or migrates data, sends messages, publishes something, spends money, or changes a third party. That is a one-way door, and the line names which of those it does.
  • What could break: one word for how much, then one sentence naming what. When the answer is medium or large, run the blast-radius skill where it is installed (call the Skill tool with blast-radius), and write that sentence from what it finds.

Optional detail

Optional detail follows the undo call and is written for reviewers: a diagram, and any implementation detail a reviewer needs.

A diagram for reviewers. When a developer reviewing the PR would see the change faster in a picture, add the smallest view that makes it clear: pseudocode for logic, a call tree for runtime flow, a file tree for a layout change or a broad refactor, a Mermaid diagram for how parts interact or where data flows, or a diff sketch for what changes in a shape that already exists. It sits here, after the plain-language problem and solution, and never stands in for them. Keep only the calls, files, and states the point needs; one view is usually enough. Leave it out when the prose already makes the change clear.

Closing lines

Close the description with a provenance blurb naming the model and harness that did the work ("Filed by <model> via <harness>"), read from a recorded source, never guessed, per the pack's announce discipline (orchestrate §4). Closes #N links the driving item; issue bookkeeping never substitutes for the problem statement.

Responding to review feedback

Where the repo has a resident review-response system (a disposition rule, a review wiki), that system is the authority and its precedent store stays the only one; these are the floor beneath it:

  • Never let review feedback expand the PR beyond the driving item's goal. Address real shortcomings; everything else is filed as a new tracked item: tracker discipline's "discovered work gets its own item" applied to review comments.
  • Act only on checks and comments newer than the latest push: everything older is already answered by the code.
  • Verify every bot finding against the source before changing code. A false positive gets a reply with a written reason, then the thread resolved, never a silent dismissal, never an unverified fix.
  • A comment an agent writes on a human's behalf says so: "<model> responding on behalf of <name>:"; nobody should mistake an agent's reply for the human's. The attribution line stands alone on its own line, a blank line follows, and the body starts as its own paragraph: the reader sees who is speaking before anything else. Paragraphs run roughly 2–3 sentences: the decider reads these on a phone, and a wall of prose hides the verdict. Lists do the enumerating, and long comma-chains split. Both rules hold for any tracker-visible comment written on a human's behalf (PR comments, review-thread replies, issue close-outs), not just PR bodies.

Done when (checkable: verify each line before reporting complete)

  • No twin PR exists for the branch, and the description matches the actual diff against the base branch; a diff that misses the driving item's goal was reported.
  • The PR is not a draft, unless the repo's recorded policy wants drafts.
  • The title says why the change matters, in plain language, and follows the repo's title conventions.
  • The description runs problem, solution, evidence, the undo call, optional detail, in that order, with no implementation inventory standing in for the problem.
  • Every change shows evidence that ran, before and after (or 'demo available on request' where no upload capability exists), and every frame and pasted output was reviewed for credentials, tokens, and customer data before it went in.
  • Both undo lines are present, and a medium or large rating was written from blast-radius findings where that skill is installed.
  • The provenance blurb is read from a recorded source and closes the description, and Closes #N links the driving item where one exists.
  • Review feedback outside the driving item's goal went to new tracked items.
  • Only checks and comments newer than the latest push were acted on.
  • Every bot finding was verified against the source.
  • Every false positive got a written reason before its thread was resolved.
  • Where a resident review-response system governs, its rules win.
  • Every comment written on a human's behalf opens with the attribution line on its own, and no paragraph runs past about three sentences.

Attribution

This skill is the repo's own: its rules come from violations that shipped and from reviewed prior art, credited here. The problem-first description rule, the implementation-inventory anti-pattern, the no-drafts default, the provenance blurb, the scope-creep guard, and the newer-than-latest-push rule follow Theo Browne's file-PR and babysit-PR skill lessons (described in his video work; the skills themselves are unpublished). The before-and-after evidence rule, the can-we-undo call with its two-way and one-way doors, the rating of how much could break, and the optional reviewer diagram follow Matt Pocock's pr skill (MIT), and so does shipping this guide as a skill meant to load itself whenever a session writes a PR. The diagram menu (pseudocode, call tree, file tree, Mermaid, diff sketch) reached pr from Dex Horthy's show-me, which pr credits. What changed here: evidence must be something that ran (a screenshot or recording for a user-visible change, the exact command and output for anything else), never a reading of the code; the undo call and the rating are plain yes-or-no and small, medium, or large lines a non-engineer decider can act on, the blast-radius pointer is new, and the diagram moved from the top of the PR to optional detail after the plain-language problem and solution. The examples, the tracker-discipline composition, and the resident-review-response deference are this pack's.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Pr Writing?

Write a pull request the decider can judge from its description alone: problem first, before-and-after evidence, a can-we-undo call. Use when filing a PR, updating a PR description, responding to PR review feedback, or writing a PR or review-thread comment on someone's behalf.

Firwat Pr Writing op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Pr Writing besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Pr Writing an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/timharris707/skills/tree/main/skills/run/pr-writing an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Pr Writing benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Pr Writing benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Pr Writing domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Pr Writing gratis?

Jo. timharris707 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇