pull-requests
What it does
This guide sets out how to write a pull request description in plain, readable prose with a clear structure. It is for developers who open pull requests and want reviewers to understand them quickly.
When to use it
- ✓When you ask your agent to write or edit a pull request description.
- ✓When you want a merge request explained for reviewers who did not write the code.
- ✓When you need to explain how someone can check a change themselves.
Skill link
https://github.com/cloudflare/computer/blob/main/.agents/skills/pull-requests/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Write the pull request description for these changes, including how I can test it locally.”
5 new skills a week. 1 minute to read.
How it works
The skill sets a structure: the problem, the solution, how to verify the change, the testing approach and any documentation changes. It favors short paragraphs, examples and diagrams over long lists. It does not apply to commit messages.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does it cover commit messages too?
No. The guide says it is not for commit messages.
Should every section be a paragraph?
The guide asks for a paragraph on each topic, with lists used only where they fit.
Does it suggest diagrams?
Yes. Code examples and diagrams are preferred when they explain more than prose.
Details
Original description by the author
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
Popularity
- GitHub stars
- 9.8k
- Ranking position
- #12207
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cloudflare
9.8kPoints your agent to the right Cloudflare platform guide for Workers, Durable Objects, wrangler and other services before it starts work.
prose
9.8kTeaches your agent to write plain English for code comments, commit messages, READMEs and docs. Avoids jargon, acronyms and corporate speak.
test-driven-development
9.8kTeaches your agent to write a failing test before changing code, and to reproduce a bug with a test first. Helps prove that changes actually work.
gardener-tasks
9.8kExplains how to write and check Gardener task files that run AI maintenance jobs from GitHub Actions, with limits on what each job may change.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.