review-pr
하는 일
이 스킬은 풀 리퀘스트를 읽고, 코드의 보안과 실행 위험을 점검하며 명확한 추천을 줍니다. 변경이 실행하거나 병합하기에 안전한지 결정해야 하는 메인테이너를 위한 스킬입니다.
사용하는 경우
- ✓GitHub 풀 리퀘스트 링크를 붙여 넣고 실행해도 안전한지 알고 싶을 때.
- ✓기여자의 변경을 병합할지, 닫을지, 대체할지 빨리 결정해야 할 때.
- ✓풀 리퀘스트가 무엇을 바꾸고 왜 바꾸는지 짧은 요약을 원하는 경우.
스킬 링크
https://github.com/blackboardsh/electrobun/blob/main/.skills/review-pr/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 풀 리퀘스트 링크를 보세요. 실행해도 안전한가요? 병합해야 할까요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 풀 리퀘스트 설명을 읽고, 필요하면 코드 변경을 살펴본 뒤 위험을 판단합니다. 그다음 짧은 추천을 주며, 모든 GitHub 검토와 병합 작업은 사용자에게 남깁니다.
기술 내용 (원본 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:
MergeCloseSupersede 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 Windowspackage/src/native/macos/*, Cocoa, AppKit, WKWebView, Metal, CAMetalLayer, notarization,.mmchanges: review and test on macOSpackage/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
자주 묻는 질문
풀 리퀘스트를 대신 병합하거나 닫나요?
아니요. 추천만 하며, 모든 검토와 병합 작업은 사용자가 합니다.
여러 풀 리퀘스트를 한꺼번에 검토할 수 있나요?
아니요. 붙여 넣은 순서대로 한 번에 하나의 풀 리퀘스트를 다룹니다.
Supersede 옵션은 무엇인가요?
아이디어는 좋지만 풀 리퀘스트가 너무 넓거나 잘못되었다는 뜻이며, 에이전트는 더 좁은 수정안을 쓰고 닫기 댓글 초안을 쓰겠다고 제안합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …