gitnexus-guide

Documents GitNexus MCP tools, resources, and knowledge graph schema for code intelligence queries.

3|5|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/BenSheridanEdwards/ArchitectPlaybook --skill gitnexus-guide-bensheridanedwards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-guide
Source: https://github.com/BenSheridanEdwards/ArchitectPlaybook/tree/main/.claude/skills/gitnexus/gitnexus-guide
Command: npx skills add https://github.com/BenSheridanEdwards/ArchitectPlaybook --skill gitnexus-guide-bensheridanedwards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working with a GitNexus-indexed codebase, you need to know which MCP tool to call, how to paginate repository listings, how to read taint and PDG findings, and how to write Cypher queries against the graph schema. This Skill provides the complete reference so you can query the knowledge graph correctly on the first attempt. ## Core Features & Use Cases - Tool Reference: Documents all GitNexus MCP tools including query, context, impact, trace, detect_changes, rename, cypher, explain, pdg_query, check, and list_repos with pagination semantics. - Resources and Schema: Lists lightweight gitnexus:// resources for repo context, clusters, and processes, plus the full node/edge graph schema for writing Cypher queries. - Use Case: You want to know what breaks if you change a function. Read this guide to learn that the impact tool computes blast radius at depths 1-3 with confidence scores, then route to the gitnexus-impact-analysis skill for the full workflow. ## Quick Start Ask the assistant to explain what GitNexus tools are available and how to trace the shortest call path between two functions in the indexed repository.

Frequently Asked Questions about gitnexus-guide

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

FAQPage Schema
What GitNexus tools are available for code analysis?

GitNexus provides query, context, impact, trace, detect_changes, rename, cypher, explain, pdg_query, check, and list_repos tools. Each serves a distinct purpose, from execution-flow grouping to blast-radius analysis and raw Cypher graph queries.

How do I trace the call path between two functions?

Use the trace tool with from and to symbol names to get the shortest directed path over CALLS and HAS_METHOD edges. Disambiguate common names with from_uid/to_uid or file filters, and bound the search with maxDepth up to 30.

How do I list all indexed repositories with list_repos?

Call list_repos with limit (max 200, default 50) and offset, then keep paging using pagination.nextOffset until hasMore is false. Ordering is deterministic by lower-cased name then path, so paging never skips or duplicates entries.

Does GitNexus taint analysis prove code is safe?

No. Taint findings from explain are intra-procedural only, so cross-function, closure, property, and implicit flows are not modeled. Absence of a finding is not proof of safety, and repos indexed without --pdg have no taint layer at all.

What is the difference between explain and pdg_query?

explain returns persisted source-to-sink taint findings with sink categories like sql-injection and xss. pdg_query reads control-dependence (controls mode) and reaching-definition data-flow (flows mode) edges, always anchored to a target file or symbol.

How do I write Cypher queries against the GitNexus graph?

Read the gitnexus://repo/{name}/schema resource first, then use the cypher tool. Nodes include File, Function, Class, and Method; relationships use CodeRelation types such as CALLS, IMPORTS, EXTENDS, and DEFINES.