मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी13k · #11379

review-pr

यह क्या करती है

यह AI एजेंट को pull request पढ़ने, उसके कोड में सुरक्षा और रनटाइम जोखिम जाँचने, और साफ़ सिफ़ारिश देने देती है। यह उन मेंटेनर के लिए है जिन्हें तय करना है कि कोई बदलाव चलाने या merge करने लायक सुरक्षित है या नहीं।

कब इस्तेमाल करें

  • ✓जब आप GitHub pull request का लिंक चिपकाते हैं और जानना चाहते हैं कि उसे चलाना सुरक्षित है या नहीं।
  • ✓जब आपको किसी योगदानकर्ता के बदलाव पर त्वरित merge, close या replace का फ़ैसला चाहिए।
  • ✓जब आप चाहते हैं कि pull request में क्या बदलता है और क्यों, इसका छोटा सारांश मिले।

Skill का लिंक

https://github.com/blackboardsh/electrobun/blob/main/.skills/review-pr/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/blackboardsh/electrobun/blob/main/.skills/review-pr/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“यह एक pull request लिंक है। क्या इसे चलाना सुरक्षित है, और क्या मुझे इसे merge करना चाहिए?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट pull request का विवरण पढ़ता है, जहाँ उपयोगी हो कोड बदलाव देखता है, और जोखिम का आकलन करता है। फिर वह छोटी सिफ़ारिश देता है, और GitHub की सभी समीक्षा और merge कार्रवाइयाँ आपके हाथ में रहती हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Review PR

Overview

Use this skill when the user pastes a PR link and wants a security-first assessment before running, testing, or merging it. The goal is to understand the PR intent, inspect the diff, decide whether it is safe to run, and then help with feedback, fixes, merge readiness, or a close recommendation.

This skill is discussion-first, but it should still support fast maintainer throughput. Loading the skill does not authorize guessing which PR to inspect from local branches, refs, or open worktrees. Wait for the user to paste a PR URL, review that one PR, give a concise rundown, and discuss it with the user before taking any local git actions beyond basic repository state checks.

If the maintainer is clearly trying to fly through PRs, keep the discussion short and move quickly to a decisive recommendation:

  • Merge
  • Close
  • Supersede with direct fix

Use Supersede with direct fix when the underlying issue is legitimate but the PR implementation is too broad, changes the wrong behavior, or is close but not quite right. In that case, offer to implement the narrower fix locally and draft the close comment for the maintainer.

Workflow

0. Wait for the PR URL

  • Do not infer the target PR from local branches such as pr-*, from recent git history, or from the current worktree.
  • Review one PR at a time, in the order the user pastes them.
  • If no PR URL has been pasted in the current discussion, ask for it and stop there.
  • After the user pastes a PR URL, read it first and respond with a rundown before fetching refs, checking out branches, or diffing local PR branches.

1. Read the PR first

  • Read the PR description and discussion before touching the branch.
  • Capture the claimed intent, test plan, linked issue, and any mention of permissions, downloads, shell execution, networking, updater behavior, or native code.
  • If the description is missing or inaccessible, say so explicitly and continue with the code review.
  • The first substantive reply after reading should be a rundown for discussion with the user:
    • what the PR claims to do
    • what parts of the codebase it likely touches
    • which runtime host or VM should be used for build/run/test work
    • obvious security or runtime-risk areas to focus on
    • any missing context or questions
  • Do not assume the user wants immediate local branch inspection. Discuss first, then inspect locally if it will materially help the review.
  • If the user is clearly in rapid triage mode, keep this rundown to a few lines and then continue with local diff inspection.

1.5 Determine the review host before execution advice

  • Use the PR title, description, discussion, and changed-file list to infer which OS should be used for runtime verification.
  • State this explicitly before recommending any build, run, or test command.
  • If the current machine does not match the target runtime, say so clearly:
    • static review can continue on the current machine
    • build/run/manual verification should move to the correct VM or host OS
  • Use these common signals:
    • package/src/native/win/*, WebView2, DirectComposition, D3D11, D3D12, DXGI, HWND, .vcxproj, Windows packaging: review and test on Windows
    • package/src/native/macos/*, Cocoa, AppKit, WKWebView, Metal, CAMetalLayer, notarization, .mm changes: review and test on macOS
    • package/src/native/linux/*, GTK, WebKitGTK, X11, Wayland, Flatpak, .desktop, distro packaging: review and test on Linux
    • shared JS/TS/build/config/template changes with no OS-specific runtime path: static review anywhere, but runtime verification may require multiple OSes
    • CI, release, signing, packaging, updater, installer changes: often require an OS matrix, not a single VM
  • If the PR description is vague, use the file change list and symbols/imports to infer the target environment anyway.
  • If a PR is clearly platform-specific, tell the user to switch to that machine before any execution recommendation.

2. Avoid executing untrusted changes too early

  • Do not run the PR branch, install dependencies, or execute tests until the diff passes a basic security screen.
  • Treat package manager commands as code execution because lifecycle hooks and install scripts may run.
  • If execution becomes necessary, state exactly what will run and why.

3. Build and test Electrobun the right way

  • Never try to build individual parts of Electrobun directly.
  • To build local Electrobun changes, run `bu
अक्सर पूछे जाने वाले सवाल

क्या यह मेरी तरफ़ से pull request merge या close करेगी?

नहीं। यह सिफ़ारिश देती है, और सभी समीक्षा और merge कार्रवाइयाँ आपके पास रहती हैं।

क्या यह एक साथ कई pull request की समीक्षा कर सकती है?

नहीं। यह एक बार में एक pull request संभालती है, उसी क्रम में जिस क्रम में आप उन्हें चिपकाते हैं।

Supersede विकल्प क्या है?

इसका मतलब है कि विचार अच्छा है, पर pull request बहुत व्यापक या गलत है। तब एजेंट एक संकीर्ण सुधार लिखने और close करने की टिप्पणी ड्राफ़्ट करने की पेशकश करता है।

जानकारी

लेखक का मूल विवरण

Review a GitHub pull request from its link, read the PR description, inspect the code locally only when useful, and judge whether the change is safe to run from a security and runtime-safety perspective. Use only after the user pastes a PR URL. Handle one PR at a time, make a clear merge/close/supersede recommendation, and keep all GitHub review and merge actions with the user.

repo: blackboardsh/electrobun

लोकप्रियता

GitHub स्टार
13k
रैंकिंग में स्थान
#11379
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

मिलती-जुलती skills