mcpField
G
gitnexus-guide

gitnexus-guide

github.com/mindfold-aiDevelopment15.1k87 installsUpdated 6w ago
Repository

About gitnexus-guide

gitnexus-guide is a quick reference to GitNexus tools, resources, and knowledge graph schema for developers working with code graphs. It maps tasks to related skills and includes tool descriptions, resource paths, and graph query examples.

Key features

  1. 01Choose GitNexus skills by task
  2. 02Query code flows and symbol references
  3. 03Analyze change impact
  4. 04Coordinate multi-file renames
  5. 05Consult graph resources and Cypher schema

Use cases

  1. 01Understand repository architecture or execution flows
  2. 02Assess the impact of changing a symbol
  3. 03Investigate bugs or plan code refactoring

MCP support

GitNexus exposes MCP tools for code queries, symbol context, impact analysis, renames, and Cypher graph queries, along with resources for repository context, processes, and schema.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mindfold-ai/trellis --skill gitnexus-guide

After installing, type/gitnexus-guidein Claude Code to confirm it loaded.

Details

From the project README

GitNexus Guide

Quick reference for all GitNexus MCP tools, resources, and the knowledge graph schema.

Always Start Here

For any task involving code understanding, debugging, impact analysis, or refactoring:

  1. Read gitnexus://repo/{name}/context — codebase overview + check index freshness
  2. Match your task to a skill below and read that skill file
  3. Follow the skill's workflow and checklist

If step 1 warns the index is stale, run node .gitnexus/run.cjs analyze in the terminal first.

Skills

TaskSkill to read
Understand architecture / "How does X work?"gitnexus-exploring
Blast radius / "What breaks if I change X?"gitnexus-impact-analysis
Trace bugs / "Why is X failing?"gitnexus-debugging
Rename / extract / split / refactorgitnexus-refactoring
Tools, resources, schema referencegitnexus-guide (this file)
Index, status, clean, wiki CLI commandsgitnexus-cli

Tools Reference

ToolWhat it gives you
queryProcess-grouped code intelligence — execution flows related to a concept
context360-degree symbol view — categorized refs, processes it participates in
impactSymbol blast radius — what breaks at depth 1/2/3 with confidence
detect_changesGit-diff impact — what do your current changes affect
renameMulti-file coordinated rename with confidence-tagged edits
cypherRaw graph queries (read gitnexus://repo/{name}/schema first)
list_reposDiscover indexed repos

Resources Reference

Lightweight reads (~100-500 tokens) for navigation:

ResourceContent
gitnexus://repo/{name}/contextStats, staleness check
gitnexus://repo/{name}/clustersAll functional areas with cohesion scores
gitnexus://repo/{name}/cluster/{clusterName}Area members
gitnexus://repo/{name}/processesAll execution flows
gitnexus://repo/{name}/process/{processName}Step-by-step trace
gitnexus://repo/{name}/schemaGraph schema for Cypher

Graph Schema

Nodes: File, Function, Class, Interface, Method, Community, Process Edges (via CodeRelation.type): CALLS, IMPORTS, EXTENDS, IMPLEMENTS, DEFINES, MEMBER_OF, STEP_IN_PROCESS

MATCH (caller)-[:CodeRelation {type: 'CALLS'}]->(f:Function {name: "myFunc"})
RETURN caller.name, caller.filePath

Comments

Markdown supported