codegraph

Solid

Generate a codebase knowledge graph with `graphify` at `graphify-out/` so other skills can query cross-file relationships before touching code. Do NOT use for runtime profiling.

AI & Automation 0 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
0
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Codebase Graph (graphify wrapper) Wraps the external `graphify` CLI (https://github.com/safishamsi/graphify, MIT license, distributed as the PyPI package `graphifyy`) to build a knowledge graph of a codebase — files, functions, classes, and their `calls`/`imports`/`uses`/`inherits` relationships — at graphify's own fixed output location, `graphify-out/`, where other skills query it directly. > **Status: piloting.** Validated on a real ~40 KSLOC FastAPI codebase > (a structural lead — `webhook_dispatcher.py → RetryPolicy`, the bridge > between two otherwise-separate subsystems — that a textual `grep` could > not find, since the bridging file never mentions the target term) > before this migration. Now rolling out to a small set of engineering > volunteers piloting it on substantially larger codebases (500 KSLOC+), > where `graph.json` itself can run to tens of MB and the scoped-query > pattern below stops being optional and starts being the only thing that > scales. Report findings (works well / doesn't / surprises) as an issue in > this repo so this can graduate out of pilot status or be reworked. ## How to generate / refresh the graph ### Step 0 — scope the index (first run only) Before running `graphify update` on the whole repo, take a quick look at what's actually there: ```bash # Top-level dirs by file count — surfaces generated/vendored/other-language subtrees for d in */; do n=$(find "$d" -type f | wc -l); echo "$n $d"; done | sort -rn | head -10 ``` Then ask:...

Details

Author
linkpranay-ai
Repository
linkpranay-ai/context-engineering-protocol
Created
2 weeks ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category