Agent Skillsjunhoyeo/contrabass › gitnexus-guide

gitnexus-guide

GitHub

GitNexus 使用指南,提供代码理解、调试、重构等任务的技能匹配指引。包含工具(如 query, impact)、资源路径及图schema参考,指导用户通过读取 context 和对应 skill 文件高效完成开发任务。

.claude/skills/gitnexus/gitnexus-guide/SKILL.md junhoyeo/contrabass

Trigger Scenarios

询问 GitNexus 可用工具或功能 查询知识图谱 schema 或 MCP 资源 了解如何查询或使用 GitNexus

Install

npx skills add junhoyeo/contrabass --skill gitnexus-guide -g -y
More Options

Non-standard path

npx skills add https://github.com/junhoyeo/contrabass/tree/main/.claude/skills/gitnexus/gitnexus-guide -g -y

Use without installing

npx skills use junhoyeo/contrabass@gitnexus-guide

指定 Agent (Claude Code)

npx skills add junhoyeo/contrabass --skill gitnexus-guide -a claude-code -g -y

安装 repo 全部 skill

npx skills add junhoyeo/contrabass --all -g -y

预览 repo 内 skill

npx skills add junhoyeo/contrabass --list

SKILL.md

Frontmatter
{
    "name": "gitnexus-guide",
    "description": "Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference. Examples: \"What GitNexus tools are available?\", \"How do I use GitNexus?\""
}

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 npx gitnexus analyze in the terminal first.

Skills

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

Tools Reference

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 Raw graph queries (read gitnexus://repo/{name}/schema first)
list_repos Discover indexed repos

Resources Reference

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 Graph 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

Version History

  • 847caf9 Current 2026-07-05 20:08

Same Skill Collection

.claude/skills/gitnexus/gitnexus-cli/SKILL.md
.claude/skills/gitnexus/gitnexus-debugging/SKILL.md
.claude/skills/gitnexus/gitnexus-exploring/SKILL.md
.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md
.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md
.claude/skills/openspec-apply-change/SKILL.md
.claude/skills/openspec-archive-change/SKILL.md
.claude/skills/openspec-explore/SKILL.md
.claude/skills/openspec-propose/SKILL.md
.codex/skills/openspec-apply-change/SKILL.md
.codex/skills/openspec-archive-change/SKILL.md
.codex/skills/openspec-explore/SKILL.md
.codex/skills/openspec-propose/SKILL.md

Metadata

Files
0
Version
847caf9
Hash
40b047be
Indexed
2026-07-05 20:08

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 19:10
浙ICP备14020137号-1 $Гость$