scan-js-codebase
CommunityBuilds a compact codebase graph for AI agents.
Software Engineering#codebase#static-analysis#nodejs#knowledge-graph#ai-agents#dependency-graph#exported-symbols
Authorngmthaq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Scans a Node.js project (JavaScript or TypeScript) to build a compact knowledge graph of file dependencies and exported symbols, storing it in the project's agent folder (.claude, .github, or .cursor) for use by GitHub Copilot, Claude Code, or any AI agent.
Core Features & Use Cases
- Builds a compact knowledge graph of dependencies and exports for JS/TS projects, stored in an agent folder for later querying.
- Supports context provisioning for AI copilots (GitHub Copilot, Claude Code) and for onboarding and impact analysis.
- Useful for understanding imports, symbol definitions, and what breaks when modifying a module, or for onboarding new codebases.
Quick Start
Run the build-graph.js script from the project root to generate the knowledge-graph.json in your agent folder.
Dependency Matrix
Required Modules
madge
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scan-js-codebase Download link: https://github.com/ngmthaq/my-copilot/archive/main.zip#scan-js-codebase Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.