pull-requests
Qué hace
Esta guía explica cómo escribir la descripción de una solicitud de cambios en prosa clara y legible, con una estructura nítida. Está pensada para desarrolladores que abren solicitudes de cambios y quieren que quien las revisa las entienda rápido.
Cuándo usarla
- ✓Cuando pides a tu agente que escriba o edite la descripción de una solicitud de cambios.
- ✓Cuando quieres explicar una fusión a revisores que no escribieron el código.
- ✓Cuando necesitas explicar cómo puede alguien comprobar un cambio por sí mismo.
Link de la skill
https://github.com/cloudflare/computer/blob/main/.agents/skills/pull-requests/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Escribe la descripción de la solicitud de cambios para estos cambios, incluyendo cómo puedo probarla en local.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La habilidad fija una estructura: el problema, la solución, cómo verificar el cambio, el enfoque de las pruebas y los cambios en la documentación. Prefiere párrafos cortos, ejemplos y diagramas frente a listas largas. No se aplica a los mensajes de commit.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Cubre también los mensajes de commit?
No. La guía indica que no es para mensajes de commit.
¿Cada sección debe ser un párrafo?
La guía pide un párrafo por tema, y usa listas solo cuando encajan.
¿Sugiere diagramas?
Sí. Se prefieren los ejemplos de código y los diagramas cuando explican más que la prosa.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 9,8 mil
- Posición en el ranking
- #12207
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
cloudflare
9,8 milDirige a tu agente a la guía de plataforma de Cloudflare adecuada para Workers, Durable Objects, wrangler y otros servicios antes de que empiece a trabajar.
prose
9,8 milEnseña a tu agente a escribir en un lenguaje sencillo los comentarios de código, los mensajes de commit, los README y la documentación. Evita la jerga, las siglas y el lenguaje corporativo.
test-driven-development
9,8 milEnseña a tu agente a escribir una prueba que falle antes de cambiar el código, y a reproducir primero un error con una prueba. Ayuda a demostrar que los cambios funcionan de verdad.
gardener-tasks
9,8 milExplica cómo escribir y comprobar los archivos de tareas de Gardener, que ejecutan trabajos de mantenimiento con IA desde GitHub Actions, con límites sobre lo que puede cambiar cada trabajo.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.