Structure graph

From move-hoon/sober · View interactive version

Structure graph is an AI agent skill from the GitHub repository move-hoon/sober. GitNexus is a conditional accelerator, not a default navigation tool. Use it early only when the task already signals large-repo, cross-module, blast-radius, or unclear-flow uncertainty. Every candidate must be verified with rg/Probe before reading deeply or editing.

How to use this skill

Skill file

Structure Graph Skill (Conditional Accelerator)

Purpose

GitNexus is not a routine navigation tool, but rather a conditional accelerator to narrow down candidates early when dealing with structural or dependency uncertainties. To minimize context bloat and prevent reasoning pollution, all candidates returned by GitNexus must be verified before reading them deeply or editing them.


When to Use (and when not to)


Tool Division (ADR-006)


How it Works

  1. Generate Candidates: Run GitNexus CLI to generate structure hints. Use Graphify only when the task requires non-code context such as docs, PDFs, diagrams, or architecture notes.
  2. Verify Before Reading Deeply: Run a quick ripgrep or Probe to verify the candidate exists and is relevant:

```bash

rg -n "candidateSymbol" path/from/graph

```

  1. Targeted Reading & Optional Edits: Open and read only the verified files. Edit only if the task requires it.
  2. Runtime Validation: Confirm dynamic behavior using compilation and test suites.

Rules

```json

{

"skipContextFiles": true,

"skipSkills": true,

"embeddings": false

}

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.