Skip to main content

Crate codeskeleton

Crate codeskeleton 

Source
Expand description

codeskeleton — turn any folder of code into a queryable knowledge graph.

Single binary, zero runtime dependencies, blazing fast AST extraction via tree-sitter with parallel processing.

Modules§

analyze
Graph analysis — god nodes, surprising connections, suggested questions.
cache
SHA256 file caching — only re-extract files that have changed.
cluster
Community detection via label propagation.
detect
File discovery — walk directories, respect .gitignore and .cographignore.
export
Export — graph as JSON and interactive HTML visualization.
extract
AST extraction engine — generic tree-sitter walker driven by LanguageSpec.
graph
Build a petgraph graph from extraction results.
languages
Per-language tree-sitter configurations.
report
Generate GRAPH_REPORT.md from analysis results.
types
Core types shared across all cograph modules.