review-pr
यह क्या करती है
यह स्किल code-review-graph टूल से pull request या branch के सभी commits की समीक्षा में AI एजेंट को मार्गदर्शन देती है। यह pull requests संभालने वाले डेवलपर और समीक्षकों के लिए है।
कब इस्तेमाल करें
- ✓जब आप merge से पहले pull request की संरचित समीक्षा चाहें।
- ✓जब आपको जाँचना हो कि सार्वजनिक API बदलावों ने उनके सभी कॉलर अपडेट किए हैं या नहीं।
- ✓जब आपको branch के हर commit को कवर करने वाला जोखिम सारांश चाहिए।
Skill का लिंक
https://github.com/tirth8205/code-review-graph/blob/staging/skills/review-pr/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप feature-login branch की main से तुलना करके समीक्षा कर सकते हैं और मुझे जोखिम बता सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट branch की main से तुलना करता है, जोखिम भरे फ़ंक्शन, उनके कॉलर और टेस्ट जाँचता है, और फिर सबसे अधिक प्रभाव वाली फ़ाइलें पढ़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Review PR
Review all commits of a pull request or branch against its base branch.
Steps
- Identify the changes. With a branch name run
git diff --name-only main...<branch>; otherwise diff the current branch againstmain(ormaster). Use that ref asbasebelow. - Call
get_minimal_context_tool(task="review PR", base="main"). If it returnsstatus: not_ready, callbuild_or_update_graph_tool()and continue. - Call
detect_changes_tool(base="main", detail_level="minimal")for risk-scored changed functions, test gaps and affected flows across the whole branch. - For high-risk functions call
query_graph_tool(pattern="callers_of", target="<function>")andquery_graph_tool(pattern="tests_for", target="<function>"). Flag public API changes whose callers were not updated. - Call
get_review_context_tool(base="main")for source snippets, orget_impact_radius_tool(base="main")for the full dependent list, only when step 3 leaves a high-risk item unclear. - Read the changed source of the highest-impact files first. Do not load whole files unless the change needs it.
Output
## PR Review: <title>
### Summary
<1-3 sentences>
### Risk
- Overall: Low / Medium / High
- Blast radius: <n> files, <m> functions
- Test coverage: <covered> of <changed> changed functions
### Files
#### <path>
- Changes: <what>
- Impact: <who depends on it>
- Issues: <bugs, style, concerns>
### Missing Tests
- <function> in <file>
### Recommendations
1. <action>
Tips
- Use
semantic_search_nodes_toolto find related code the PR may have missed.
अक्सर पूछे जाने वाले सवाल
यह कौन-सी base branch उपयोग करती है?
यह आपकी बताई branch उपयोग करती है, या मौजूदा branch की main या master से तुलना करती है।
आउटपुट कैसा दिखता है?
यह सारांश, जोखिम स्तर, फ़ाइलों और टेस्ट कवरेज की गिनती वाली संरचित समीक्षा होती है।
क्या यह API बदलावों को चिह्नित करती है?
हाँ। यह सार्वजनिक API बदलावों को चिह्नित करती है, जिनके कॉलर अपडेट नहीं हुए।
जानकारी
लेखक का मूल विवरण
Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #9144
- लाइसेंस
- MIT
- अपडेट की गई
- 29/10/2026
कमेंट
- …
इस repository की और skills
build-graph
33kयह आपके एजेंट को आपकी रिपॉज़िटरी का कोड ज्ञान ग्राफ़ बनाने या अपडेट करने देती है, ताकि बाद की कोड समीक्षा और खोज तेज़ हों।
debug-issue
33kयह आपके एजेंट को स्रोत कोड पढ़ने से पहले कॉल-चेन का पीछा करके कोड ज्ञान ग्राफ़ के ज़रिए बग का रास्ता खोजने में मदद करती है।
explore-codebase
33kयह आपके एजेंट को कोड ज्ञान ग्राफ़ में मॉड्यूल और संबंध खोजकर अपरिचित कोडबेस में रास्ता खोजने में मदद करती है।
refactor-safely
33kयह आपके एजेंट को डिपेंडेंसी विश्लेषण से कोड refactor की योजना बनाने में मदद करती है, और नाम बदलाव तभी लागू करती है जब पूर्वावलोकन जाँच लिया गया हो।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।