Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
fix(understand): address review findings — importCount metric source and plan typo
Lum11043fb12033d65e
diff --git a/docs/plans/2026-03-27-token-reduction-impl.md b/docs/plans/2026-03-27-token-reduction-impl.mdindex 45c04eb2..848276bc 100644--- a/docs/plans/2026-03-27-token-reduction-impl.md+++ b/docs/plans/2026-03-27-token-reduction-impl.md@@ -440,7 +440,7 @@ For each file, read its content and extract import paths using language-appropriFor each extracted import path:1. Compute the resolved file path relative to project root:- For relative imports (`./x`, `../x`): resolve from the importing file's directory- - Try these extension variants in order if the import has no extension: `.ts`, `.tsx`, `.js`, `.jsx`, `/index.ts`, `/index.js`, `/index.tsx`, `/index.js`, `.py`, `.go`, `.rs`, `.rb`+ - Try these extension variants in order if the import has no extension: `.ts`, `.tsx`, `.js`, `.jsx`, `/index.ts`, `/index.js`, `/index.tsx`, `/index.jsx`, `.py`, `.go`, `.rs`, `.rb`2. Check if the resolved path exists in the discovered file list3. If yes: add to this file's resolved imports list4. If no: skip (external, unresolvable, or dynamic import)diff --git a/understand-anything-plugin/skills/understand/file-analyzer-prompt.md b/understand-anything-plugin/skills/understand/file-analyzer-prompt.mdindex e7c2d2f4..7873d0a9 100644--- a/understand-anything-plugin/skills/understand/file-analyzer-prompt.md+++ b/understand-anything-plugin/skills/understand/file-analyzer-prompt.md@@ -59,7 +59,7 @@ For each file in `batchFiles`, read the file content and extract:**Basic Metrics:**- Total line count- Non-empty line count (lines that are not blank or comment-only)-- Import count (number of import statements)+- Import count — use `batchImportData[file.path].length` from the input JSON (do not count from source)- Export count (number of export statements)- Function count, class count