मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग48k · #3613

gitnexus-review

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

यह आपके एजेंट को कोड बदलावों की समीक्षा करके बताना सिखाती है कि वे merge के लिए सुरक्षित लगते हैं या नहीं। यह उन डेवलपर्स के लिए है जो merge से पहले pull request या स्थानीय बदलावों पर दूसरी नज़र चाहते हैं।

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

  • ✓जब आप चाहते हैं कि कोई pull request bugs और merge जोखिमों के लिए जाँचा जाए।
  • ✓जब आप commit से पहले स्थानीय, staged या बिना commit वाले बदलाव जाँचना चाहते हैं।
  • ✓जब आप जानना चाहते हैं कि किसी बदलाव के लिए कौन से टेस्ट छूट सकते हैं।

Skill का लिंक

https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-review/SKILL.md

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

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

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

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

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

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

“क्या आप pull request 42 में bugs की समीक्षा करके बता सकते हैं कि उसे merge करना सुरक्षित है या नहीं?”

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

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

एजेंट बदलाव पढ़ता है, code index से देखता है कि क्या प्रभावित है, और हर बात की पुष्टि सोर्स से करता है। वह सबूत के साथ अपना निर्णय देता है।

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

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

GitNexus review

Review the requested change surface without editing source, committing, pushing, posting, or resolving threads. A later explicit request may authorize those actions. Use GitNexus for structural evidence and source inspection for proof; neither substitutes for the other.

Resolve the target

Accept these forms:

Input Review surface
PR URL, owner/repo#42, #42, or bare number GitHub PR
base...head Merge-base range
base..head Exact two-dot range
Branch, tag, or commit Ref against the repository default branch
local, staged, unstaged, or working-tree wording Local changes
No target Current branch's open PR; otherwise local changes; otherwise current branch

An explicit target always wins. Interpret a bare number as a PR only in a GitHub repository with working gh authentication; otherwise ask for a ref or URL. If implicit mode finds both branch commits and local changes, review them as two labeled surfaces rather than silently dropping or blending either one.

Record the resolved target kind, repository root, default branch, base SHA, head SHA, merge-base when applicable, and included local states. Resolve the default branch from remote metadata (refs/remotes/<remote>/HEAD or GitHub repository metadata); use main or master only as an explicit fallback and say when doing so.

PR

Use gh pr view/gh api to pin the PR number, repository, title, URL, base ref, base SHA, head ref, and head SHA. Fetch those exact commits without switching the user's branch. Compute git merge-base <base> <head> and use that SHA as the review base: GitHub PR diffs are merge-base diffs, while detect_changes(scope: "compare") is a two-dot comparison.

Use the local git diff <merge-base> <head> as the complete diff source of truth; use GitHub metadata for PR facts and review state. For fork PRs, fetch the pull ref or the contributor remote instead of assuming the head branch exists on origin.

Branch, ref, or range

Resolve every ref to a commit before reviewing. For a branch or A...B, use the merge-base as the comparison base. For an explicit A..B, honor A as the exact base. Do not compare a feature branch directly with a moving default branch tip when merge-base semantics were intended.

Local changes

Inspect git status --short, the staged diff, the unstaged diff, and every untracked file. Use detect_changes with staged, unstaged, or all as requested. Untracked files are not guaranteed to appear in Git diff or graph mapping, so read them directly and list them in the review provenance.

Align the checkout and index

The graph and diff must describe the same head. Reuse an existing worktree only when it is at the exact target SHA. Otherwise create a temporary detached worktree for the PR/ref head, review there, and remove only that temporary worktree afterward. Never switch or reset the user's current worktree.

Check GitNexus status in the target worktree. If stale, run node .gitnexus/run.cjs analyze --index-only before trusting graph results (temporary worktrees never carry the gitignored run.cjs — fall back to the installed gitnexus CLI, then npx gitnexus), and include --pdg in that same refresh when the diff plausibly touches trust or data-flow boundaries, so the taint pass below doesn't pay a second full analyze. Taint and dependence evidence needs that PDG layer: when the workflow's taint pass finds it missing, rebuild with analyze --pdg --index-only and record the rebuild in provenance. For local changes, refresh the index so new or modified source is represented. If an exact target checkout/index cannot be established, state the limitation and do not claim a complete graph-backed review.

Review workflow

  1. Read the fu
अक्सर पूछे जाने वाले सवाल

क्या यह pull request पर टिप्पणियाँ पोस्ट करेगी?

नहीं। डिफ़ॉल्ट रूप से स्किल बिना पोस्ट, commit या threads बंद किए समीक्षा करती है।

यह किस तरह के बदलाव देख सकती है?

यह GitHub pull requests, branch या commit की रेंज, और स्थानीय staged या unstaged बदलाव स्वीकार करती है।

क्या यह सिर्फ़ index पर निर्भर है?

नहीं। यह संरचना के लिए index और यह पुष्टि करने के लिए सोर्स फ़ाइलें इस्तेमाल करती है कि क्या सच है।

जानकारी

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

Review code changes with GitNexus from a GitHub PR URL or number, a branch/ref or commit range, or local staged, unstaged, and untracked changes. Use when the user asks for a code review, merge-risk assessment, regression hunt, missing-test analysis, or a verdict on whether a PR, branch, commit range, or local diff is safe.

repo: abhigyanpatwari/GitNexus

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

gitnexus-cli

48k

आपके एजेंट को GitNexus कमांड चलाने देती है, जो कोड प्रोजेक्ट का index बनाते हैं, उसकी स्थिति जाँचते हैं, index साफ़ करते हैं या wiki बनाते हैं।

कोडिंगसामान्य कोडिंग

gitnexus-debugging

48k

आपके एजेंट को किसी codebase में बग का सुराग लगाने में मदद करती है, यह ढूँढते हुए कि एरर कहाँ से शुरू होता है और कौन सा कोड विफल हिस्से को बुलाता है।

कोडिंगसामान्य कोडिंग

gitnexus-exploring

48k

आपके एजेंट को किसी अनजान codebase को खंगालने में मदद करती है, समझाते हुए कि उसके हिस्से कैसे जुड़े हैं और login जैसी सुविधा कैसे काम करती है।

कोडिंगसामान्य कोडिंग

gitnexus-guide

48k

आपके एजेंट को GitNexus टूल्स, संसाधनों और knowledge graph का त्वरित संदर्भ देती है, और सही गाइड की ओर इशारा करती है।

कोडिंगसामान्य कोडिंग

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