pull-requests
यह क्या करती है
यह गाइड बताती है कि साफ़ संरचना के साथ सादे, पढ़ने योग्य गद्य में pull request विवरण कैसे लिखें। यह उन डेवलपर्स के लिए है जो pull request खोलते हैं और चाहते हैं कि समीक्षक उन्हें जल्दी समझें।
कब इस्तेमाल करें
- ✓जब आप अपने एजेंट से pull request विवरण लिखवाना या संपादित करवाना चाहें।
- ✓जब आप ऐसे समीक्षकों के लिए merge request समझाना चाहें जिन्होंने कोड नहीं लिखा।
- ✓जब आपको समझाना हो कि कोई व्यक्ति बदलाव को खुद कैसे जाँच सकता है।
Skill का लिंक
https://github.com/cloudflare/computer/blob/main/.agents/skills/pull-requests/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इन बदलावों के लिए pull request विवरण लिखिए, जिसमें बताइए कि मैं इसे लोकल पर कैसे टेस्ट करूँ।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
cloudflare
9.8kयह आपके एजेंट को काम शुरू करने से पहले Workers, Durable Objects, wrangler और दूसरी सेवाओं के लिए सही Cloudflare प्लेटफ़ॉर्म गाइड की ओर इशारा करती है।
prose
9.8kयह आपके एजेंट को कोड कमेंट, कमिट संदेश, README और दस्तावेज़ों के लिए सादी अंग्रेज़ी में लिखना सिखाती है। जार्गन, संक्षेपों और कॉर्पोरेट भाषा से बचती है।
test-driven-development
9.8kयह आपके एजेंट को कोड बदलने से पहले एक विफल होने वाला टेस्ट लिखना सिखाती है, और बग को पहले टेस्ट से दोहराना। यह साबित करने में मदद करती है कि बदलाव सच में काम करते हैं।
gardener-tasks
9.8kबताती है कि Gardener टास्क फ़ाइलें कैसे लिखें और जाँचें, जो GitHub Actions से AI रखरखाव काम चलाती हैं, और हर काम क्या बदल सकता है, इस पर सीमाएँ रखती हैं।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।