pull-requests
하는 일
이 가이드는 명확한 구조를 갖춘 평이한 글로 풀 리퀘스트 설명을 쓰는 방법을 설명합니다. 풀 리퀘스트를 열고 검토자가 빨리 이해하기를 원하는 개발자를 위한 가이드입니다.
사용하는 경우
- ✓에이전트에게 풀 리퀘스트 설명을 쓰거나 고쳐 달라고 요청할 때.
- ✓코드를 쓰지 않은 검토자를 위해 병합 요청을 설명하고 싶을 때.
- ✓다른 사람이 변경을 직접 확인하는 방법을 설명해야 하는 경우.
스킬 링크
https://github.com/cloudflare/computer/blob/main/.agents/skills/pull-requests/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 변경 사항에 대한 풀 리퀘스트 설명을 작성해 주세요. 제가 로컬에서 테스트하는 방법도 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 구조를 정합니다. 문제, 해결 방법, 변경 확인 방법, 테스트 접근법, 문서 변경 사항입니다. 긴 목록보다 짧은 단락, 예시, 다이어그램을 선호합니다. 커밋 메시지에는 적용되지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
커밋 메시지도 다루나요?
아닙니다. 가이드는 커밋 메시지용이 아니라고 말합니다.
모든 항목이 단락이어야 하나요?
가이드는 주제마다 단락을 쓰고, 목록은 잘 맞는 곳에서만 쓰라고 합니다.
다이어그램을 제안하나요?
예. 산문보다 더 많은 것을 설명할 때는 코드 예시와 다이어그램을 선호합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 9.8k
- 순위
- #12207
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cloudflare
9.8k에이전트가 작업을 시작하기 전에 Workers, Durable Objects, wrangler 등에 맞는 Cloudflare 플랫폼 가이드를 찾도록 돕습니다.
prose
9.8k에이전트가 코드 주석, 커밋 메시지, README, 문서를 평이한 영어로 쓰도록 가르칩니다. 전문 용어와 기업식 표현을 피합니다.
test-driven-development
9.8k에이전트가 코드를 바꾸기 전에 실패하는 테스트를 먼저 쓰고, 버그도 테스트로 먼저 재현하도록 가르칩니다. 변경이 실제로 작동하는지 확인합니다.
gardener-tasks
9.8kGitHub Actions에서 AI 유지보수 작업을 실행하는 Gardener 작업 파일을 쓰고 점검하는 방법을 설명합니다.