ln-020-codegraph
Builds and queries code knowledge graph for dependency analysis, references, implementations, and architecture overview. Use when starting work on unfamiliar codebase or before refactoring.
npx skills add majiayu000/claude-skill-registry --skill ln-020-codegraph-levnikolaevich-claude-code-skills-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **Paths:** File paths are relative to skills repo root. # Code Knowledge Graph **Type:** Standalone Utility **Category:** 0XX Dev Environment Indexes codebase into a layered graph (tree-sitter AST → SQLite) and provides dependency analysis, path tracing, references, implementations, and architecture overview via MCP tools. ## Inputs | Input | Required | Source | Description | |-------|----------|--------|-------------| | `project_path` | yes | args or CWD | Project root to index | | `command` | no | args | Specific action: `index`, `search`, `symbol`, `paths`, `refs`, `arch` | ## When to Use - Starting work on an **unfamiliar codebase** → `index` + `architecture` - Before **refactoring** a function/class → `find_symbols` + `inspect_symbol` + `trace_paths` - Understanding **call flow** → `trace_paths` - Finding a **symbol** quickly → `search` ## MCP Availability **MANDATORY READ:** Load `shared/references/mcp_tool_preferences.md` and `shared/references/mcp_integration_patterns.md` Use `hex-graph` first when the task depends on symbol identity, references, implementations, architecture, dataflow, or edit impact. Use `hex-line` first for targeted local code reads when available. If
- Inputs
- When to Use
- MCP Availability
- Workflow
- Phase 1: Index
- Phase 2: Query
- Phase 3: Present Results
- Supported Languages
- MCP Server Setup
- Definition of Done
What does the ln-020-codegraph skill do?
Builds and queries code knowledge graph for dependency analysis, references, implementations, and architecture overview. Use when starting work on unfamiliar codebase or before refactoring.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ln-020-codegraph-levnikolaevich-claude-code-skills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
