knowledge-graph

Resolve symbol references across codebases using AST-based semantic analysis.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/pikakit/agent-skills --skill knowledge-graph-pikakit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-graph
Source: https://github.com/pikakit/agent-skills/tree/main/.agent/skills/knowledge-graph
Command: npx skills add https://github.com/pikakit/agent-skills --skill knowledge-graph-pikakit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Semantic code analysis with AST parsing enables reliable go-to-definition, find-usages, and impact analysis across large codebases, reducing false positives from text-based search and enabling architecture visualization.

Core Features & Use Cases

  • Go-to-definition with scope-aware resolution
  • Find-usages across the project, including re-exports for TS/JS
  • Cross-file impact analysis and architecture graph visualization
  • Read-only reporting of dependencies and health signals

Quick Start

Ask the AI to locate the symbol definition and its usages across the codebase using AST-based analysis.

Frequently Asked Questions about knowledge-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is semantic code analysis and how does it find symbol usages across files?

Semantic code analysis identifies and resolves symbol references across a codebase using AST parsing, enabling scope-aware go-to-definition, accurate find-usages, and cross-file impact analysis while eliminating text-based search false positives.

How do I perform cross-file impact analysis for TypeScript and JavaScript projects?

Cross-file impact analysis is performed by applying AST-based semantic analysis to trace symbol references, including tracking re-exports for TS/JS, which reveals the full architecture graph and read-only dependency health signals.

Does AST-based semantic analysis work with Python and Ruby codebases?

Yes, AST-based semantic analysis supports Python and Ruby codebases alongside TypeScript and JavaScript. It performs symbol lookup, find-usages, and architecture graph visualization within a read-only framework across these four languages.

Why does text-based search return false positives during find-usages and symbol lookup?

Text-based search returns false positives because it matches string literals without understanding code scope or structure. AST-based semantic analysis resolves this by parsing the syntax tree to perform scope-aware symbol resolution and accurate cross-file reference tracking.

Can I visualize software architecture and dependencies using semantic code analysis?

Yes, you can visualize software architecture and dependencies. The analysis generates a read-only architecture graph that reports dependencies and health signals by resolving cross-file symbol references and re-exports across the project.

How do I locate a symbol definition and trace its usages across a large codebase?

To locate a symbol definition and trace its usages, apply AST-based semantic analysis to perform scope-aware go-to-definition and find-usages. This accurately tracks cross-file references and re-exports without modifying the read-only codebase.