gitnexus-review

Reviews pull requests, branches, and local diffs using GitNexus knowledge-graph evidence.

46.8k|5.1k|Updated Aug 2, 2025
One-click install
npx skills add https://github.com/abhigyanpatwari/GitNexus --skill gitnexus-review
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gitnexus-review
Source: https://github.com/abhigyanpatwari/GitNexus/tree/main/gitnexus-cursor-integration/skills/gitnexus-review
Command: npx skills add https://github.com/abhigyanpatwari/GitNexus --skill gitnexus-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code reviews often miss hidden breakage: changed contracts whose callers still assume old behavior, removed sanitizers, stale baselines, and untested edge cases. This Skill grounds reviews in a code knowledge graph so findings are backed by dependency, call-chain, and taint evidence rather than diff reading alone.

Core Features & Use Cases

  • Multi-target review: Accepts GitHub PR URLs or numbers, branch/ref/commit ranges (two-dot and three-dot), and local staged, unstaged, or untracked changes, resolving each to exact base and head SHAs.
  • Graph-backed analysis: Runs detect_changes, impact, context, explain, and pdg_query to map blast radius, trace source-to-sink taint flows, and verify guards on trust boundaries.
  • Expert lens swarm: Dispatches optional read-only CI persona lanes (correctness, security, blast radius, coverage, adversarial, critic) for parallel domain-specific review passes.
  • Use Case: Ask for a review of PR #42; the Skill pins the merge-base, refreshes the index, inspects dependents outside the diff, runs a taint pass on changed trust boundaries, and emits a severity-ordered findings report with an APPROVE or REQUEST CHANGES verdict.

Quick Start

Ask the agent to review a pull request, branch, or your local changes, for example: review PR #42 in this repository with GitNexus.

Frequently Asked Questions about gitnexus-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a GitHub pull request with GitNexus?▼

Provide a PR URL, owner/repo#number, or bare number, and the Skill pins the base and head SHAs via gh, computes the merge-base, and reviews the diff with graph-backed impact and taint analysis. It never switches your working branch.

Can I review local uncommitted changes before pushing?▼

Yes. Pass staged, unstaged, or local as the target and the Skill inspects git status, the staged and unstaged diffs, and untracked files, running detect_changes with the matching scope against the refreshed index.

What is the difference between two-dot and three-dot range reviews?▼

A three-dot range (A...B) uses the merge-base as the comparison base, matching GitHub PR diff semantics. A two-dot range (A..B) honors A as the exact base, which the Skill passes to detect_changes as base_ref.

Does the review require a GitNexus index of the repository?▼

Yes. The Skill checks index freshness in the target worktree and runs analyze --index-only if stale, adding --pdg when the diff touches trust or data-flow boundaries. Without a valid index it states the limitation instead of claiming graph-backed coverage.

Will the review modify my code or post comments to GitHub?▼

No. The Skill is strictly read-only: it never edits source, commits, pushes, posts, or resolves threads. It emits a findings report with severity-ranked issues and a verdict such as APPROVE, REQUEST CHANGES, or NEEDS DISCUSSION.