pull-requests
Was er macht
Dieser Leitfaden legt fest, wie eine Pull-Request-Beschreibung in klarer, lesbarer Prosa mit fester Struktur geschrieben wird. Er ist für Entwicklerinnen und Entwickler gedacht, die Pull Requests öffnen und wollen, dass Prüfende sie schnell verstehen.
Wann du ihn nutzt
- ✓Wenn du deinen Agenten bittest, eine Pull-Request-Beschreibung zu schreiben oder zu bearbeiten.
- ✓Wenn du einen Merge Request für Prüfende erklären willst, die den Code nicht geschrieben haben.
- ✓Wenn du erklären musst, wie jemand eine Änderung selbst prüfen kann.
Link zum Skill
https://github.com/cloudflare/computer/blob/main/.agents/skills/pull-requests/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Schreib die Pull-Request-Beschreibung für diese Änderungen und erkläre, wie ich sie lokal testen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill legt eine Struktur fest: das Problem, die Lösung, wie die Änderung geprüft wird, der Testansatz und alle Änderungen an der Dokumentation. Er bevorzugt kurze Absätze, Beispiele und Diagramme gegenüber langen Listen. Für Commit-Nachrichten gilt er nicht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Pull Request + Merge Request Style Guide
Overview
A good pull request description is a Markdown document that tells the story of the accompanying git diff. It is intended for human consumption and should use plain language, read clearly and be easy to follow.
When to Use
Use this skill any time you are tasked with creating a pull request on GitHub. The output will be a markdown document that follows the style guide and meets the accompanying verification.
Structure
A good pull request tells the story of the change and is intended to add color and context that is not or cannot be conveyed in the source code.
It should aim to be concise and use paragraphs and prose where appropriate rather than bullet points to improve readability and tell the story. Bullet points can be used for lists when semantically appropriate.
Code examples and diagrams (using mermaid) are preferred over prose to communicate your message.
It should use the following structure and include a paragraph on each topic.
- Detail the problem the change is solving. Reference issues, PRs or documents if relevant.
- Explain the solution and how it solves the problem.
- Explain how the reader can manually verify the change. e.g. give a code example or a command to run locally.
- Document the testing strategy when applicable.
- Document any changes to documentation or READMEs that cover the changes.
- Document any follow up code changes required.
Any sections that are not relevant should be omitted.
Style guide
It is important to follow these rules when writing a pull request description.
At all times keep the use of language simple. Use plain English
Good: Clear
We've updated the
readFile()method to support streaming data so that the caller can read a file without buffering content into memory.
Bad: Verbose and technical jargon
The
readFile()function has an overload that when used returns aReadableStream()object that emits chunks ofUInt8Arraytype that can be used by the caller to stream bytes instead of base64 strings which are held in memory.
Avoid technical terms or jargon
Good:
The daemon now flushes pending writes before it tears down the mount.
Bad:
The daemon now performs a synchronous fsync barrier against the underlying inode cache before invoking the FUSE unmount ioctl.
Never use acronyms, always use the full word unless it's extremely common like API, RPC or HTTP
Good:
We've updated the durable object (DO) to use RPC to reduce the time-to-first-byte (TTFB)
Bad:
We've updated the DO to use RPC to reduce TTFB.
Keep it high level
Describe what the code cannot. Architecture, design decisions, important trade-offs are the important details. Do not attempt to describe what the code is doing, the code itself can do that.
Good:
This change extends the same call site to accept a name option. When set, the SDK provisions a named Cloudflare Tunnel under a zone the user controls and binds <name>.<zone> to the local port. Quick and named tunnels share the same entry point, the same TunnelInfo shape (now a discriminated union keyed on name), and the same destroy() semantics
Bad:
This change extends
tunnels.tsto update theget()method to accept a name option{ name: "bill" }. When set, the SDK provisions a named Cloudflare Tunnel viacloudflaredrunning viaBun.spawn()under a zone the user controls and binds <name>.<zone> to the local port. Quick and named tunnels share the same entry pointsandbox.tunnels, the sameTunnelInfoshape (now a discriminated union keyed on nameNamedTunnelInfo | QuickTunnelInfo), and the same destroy() semantics.
Use American English spelling at all times
e.g. color instead of colour.
Never refer to agent conversations or chat history when writing plans, documentation or commit/pull requests
Good:
Further work will be required to update the remaining file methods to support streaming data.
Bad:
Streaming in
writeFile()will be implemented as part of the P2 plan to update the remaining methods.
Never reference local files or documents that are not contained within the commit history in the repository
Good:
Further work will be required to update the remaining file methods to support streaming data.
Bad:
The plan for the
writeFile()changes as detailed in P2 in PLAN.md
Markdown
Format the pull request using Github flavored
Häufige Fragen
Gilt das auch für Commit-Nachrichten?
Nein. Der Leitfaden ist nicht für Commit-Nachrichten gedacht.
Sollte jeder Abschnitt ein Absatz sein?
Der Leitfaden verlangt einen Absatz zu jedem Thema, und Listen nur dort, wo sie passen.
Schlägt er Diagramme vor?
Ja. Codebeispiele und Diagramme werden bevorzugt, wenn sie mehr erklären als Prosa.
Details
Originalbeschreibung des Autors
Describes how to write pull/merge requests. Use when asked to write or edit a pull request or merge request description. This skill is not relevant to commit messages.
repo: cloudflare/computer
Beliebtheit
- GitHub-Sterne
- 9.8k
- Platz im Ranking
- #12207
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
cloudflare
9.8kVerweist deinen Agenten vor Arbeitsbeginn auf den passenden Cloudflare-Plattformleitfaden für Workers, Durable Objects, wrangler und andere Dienste.
prose
9.8kBringt deinem Agenten klare Sprache für Code-Kommentare, Commit-Nachrichten, READMEs und Doku bei. Vermeidet Fachjargon, Abkürzungen und Konzernsprache.
test-driven-development
9.8kBringt deinem Agenten bei, vor jeder Codeänderung einen fehlschlagenden Test zu schreiben. Hilft zu beweisen, dass Änderungen wirklich funktionieren.
gardener-tasks
9.8kErklärt, wie Gardener-Aufgabendateien geschrieben und geprüft werden, die KI-Wartungsjobs über GitHub Actions starten. Mit Grenzen, was jeder Job ändern darf.
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.