gitnexus-guide

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

1|Updated Jul 27, 2023
One-click install
npx skills add https://github.com/AlexTheGuitarGuy/.dotfiles --skill gitnexus-guide-alextheguitarguy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gitnexus-guide
Source: https://github.com/AlexTheGuitarGuy/.dotfiles/tree/main/claude/.claude/skills/gitnexus-guide
Command: npx skills add https://github.com/AlexTheGuitarGuy/.dotfiles --skill gitnexus-guide-alextheguitarguy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers using GitNexus need a single reference for its MCP tools, resources, and graph schema before they can query a codebase knowledge graph effectively. This Skill provides that reference so you can pick the right tool for code understanding, impact analysis, debugging, or refactoring tasks. ## Core Features & Use Cases - Tools Reference: Covers query, context, impact, trace, detect_changes, rename, cypher, explain, pdg_query, route_map, api_impact, and more, with pagination and disambiguation details. - Resources & Schema: Lists lightweight gitnexus:// resources for repo context, clusters, and processes, plus the node/edge graph schema needed to write Cypher queries. - Use Case: When asked "what breaks if I change this 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. ## Quick Start Ask the AI to list the available GitNexus tools and explain how to query the knowledge graph for a specific 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 tools including query for execution flows, context for symbol views, impact for blast radius, trace for shortest paths between symbols, rename for multi-file renames, cypher for raw graph queries, and route_map for API endpoint mapping.

How do I find what breaks if I change a function?▼

Use the impact tool, which computes a symbol's blast radius showing what breaks at depth 1, 2, and 3 with confidence scores. For current uncommitted changes, use detect_changes to see what your git diff affects.

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 edges in one call. It returns ordered hops with file paths and line numbers, and reports the furthest reachable node when no path exists.

Does GitNexus support taint analysis for security vulnerabilities?▼

Yes, the explain tool returns taint findings recorded by running gitnexus analyze with the --pdg flag, covering sink categories like command-injection, sql-injection, and xss. Repos indexed without --pdg return a note that no taint layer exists.

How do I write Cypher queries against the GitNexus graph?▼

Read the gitnexus://repo/{name}/schema resource first, since it is the authoritative schema for the indexed repo. Then use the cypher tool with CodeRelation edge types like CALLS, IMPORTS, or EXTENDS to match nodes such as Function, Class, and File.

What are the limitations of GitNexus taint findings?▼

Taint analysis does not model closure/callback, property/field, or implicit flows, and interprocedural findings are function-level hops rather than statement-level proof. The absence of a finding is not proof of safety.