gitnexus-guide by abhigyanpatwari/gitnexus
npx skills add https://github.com/abhigyanpatwari/gitnexus --skill gitnexus-guide所有 GitNexus MCP 工具、资源及知识图谱模式的快速参考。
对于任何涉及代码理解、调试、影响分析或重构的任务:
gitnexus://repo/{name}/context — 代码库概览 + 检查索引新鲜度如果第 1 步警告索引已过时,请先在终端运行
npx gitnexus analyze。
| 任务 | 需阅读的技能 |
|---|---|
| 理解架构 / "X 是如何工作的?" | gitnexus-exploring |
| 影响范围 / "如果我更改 X,会破坏什么?" | gitnexus-impact-analysis |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 追踪错误 / "X 为什么会失败?" | gitnexus-debugging |
| 重命名 / 提取 / 拆分 / 重构 | gitnexus-refactoring |
| 工具、资源、模式参考 | gitnexus-guide (本文件) |
| 索引、状态、清理、wiki CLI 命令 | gitnexus-cli |
| 工具 | 提供的内容 |
|---|---|
query | 按进程分组的代码智能 — 与某个概念相关的执行流 |
context | 360 度符号视图 — 分类的引用、参与的进程 |
impact | 符号影响范围 — 在深度 1/2/3 处会破坏什么(附带置信度) |
detect_changes | Git 差异影响 — 你当前的更改会影响什么 |
rename | 多文件协调重命名(附带置信度标记的编辑) |
cypher | 原始图谱查询(请先阅读 gitnexus://repo/{name}/schema) |
list_repos | 发现已索引的仓库 |
用于导航的轻量级阅读材料 (~100-500 tokens):
| 资源 | 内容 |
|---|---|
gitnexus://repo/{name}/context | 统计信息、过时检查 |
gitnexus://repo/{name}/clusters | 所有功能区域及其内聚度分数 |
gitnexus://repo/{name}/cluster/{clusterName} | 区域成员 |
gitnexus://repo/{name}/processes | 所有执行流 |
gitnexus://repo/{name}/process/{processName} | 逐步追踪 |
gitnexus://repo/{name}/schema | Cypher 查询的图谱模式 |
节点: File, Function, Class, Interface, Method, Community, Process 边 (通过 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
每周安装数
29
仓库
GitHub 星标数
11.6K
首次出现
13 天前
安全审计
安装于
opencode28
github-copilot28
codex28
amp28
kimi-cli28
gemini-cli28
Quick reference for all GitNexus MCP tools, resources, and the knowledge graph schema.
For any task involving code understanding, debugging, impact analysis, or refactoring:
gitnexus://repo/{name}/context — codebase overview + check index freshnessIf step 1 warns the index is stale, run
npx gitnexus analyzein the terminal first.
| Task | Skill 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 / refactor | gitnexus-refactoring |
| Tools, resources, schema reference | gitnexus-guide (this file) |
| Index, status, clean, wiki CLI commands | gitnexus-cli |
| Tool | What it gives you |
|---|---|
query | Process-grouped code intelligence — execution flows related to a concept |
context | 360-degree symbol view — categorized refs, processes it participates in |
impact | Symbol blast radius — what breaks at depth 1/2/3 with confidence |
detect_changes | Git-diff impact — what do your current changes affect |
rename | Multi-file coordinated rename with confidence-tagged edits |
cypher |
Lightweight reads (~100-500 tokens) for navigation:
| Resource | Content |
|---|---|
gitnexus://repo/{name}/context | Stats, staleness check |
gitnexus://repo/{name}/clusters | All functional areas with cohesion scores |
gitnexus://repo/{name}/cluster/{clusterName} | Area members |
gitnexus://repo/{name}/processes | All execution flows |
gitnexus://repo/{name}/process/{processName} | Step-by-step trace |
gitnexus://repo/{name}/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
Weekly Installs
29
Repository
GitHub Stars
11.6K
First Seen
13 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode28
github-copilot28
codex28
amp28
kimi-cli28
gemini-cli28
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
118,000 周安装
Raw graph queries (read gitnexus://repo/{name}/schema first) |
list_repos | Discover indexed repos |
| Graph schema for Cypher |