magic5644/Graph-It-Live
Acerca de
Graph-It-Live VS Code Extension
IA y aprendizaje automáticoCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +1
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalGraph-It-Live

See your codebase as a graph — in VS Code, your CLI, and your AI assistant.
Graph-It-Live analyzes imports, symbols, calls, cycles, unused exports, and change impact. Use it as a VS Code extension, a standalone CLI, or an MCP/native tool provider for GitHub Copilot and other AI clients. Analysis runs locally and returns evidence from your codebase.
The 75-second tour (click to play, sound on)
It walks through the file graph with Louvain import clusters, the Dependency Structure Matrix, boundary rules declared in graphit.architecture.json, and an AI agent fixing a rule violation through the Graph-It-Live MCP server.
More videos:
- A real architecture fix in 120 seconds (poster): how this repository fixed issue #434, from
graph-it check-architecturefailing on 12 violations to a green check. - From a messy repository to a clean architecture in 2 minutes (poster):
graph-it init, dead code, cycles and the Review Gate ontests/demo/legacy-shop.
Table of Contents
- Quick start
- Features
- AI integrations
- Supported languages
- Configuration
- CI review gate
- Documentation
- Development
- License
- Star History
Quick start
VS Code extension
Requires VS Code 1.101 or later. Install from the VS Code Marketplace or Open VSX, open a project, then run Graph-It-Live: Show Dependency Graph from the Command Palette. Click a file to open it, double-click it for the Symbol View, or use Show Call Graph for cross-file calls.
Standalone CLI
npm install -g @magic5644/graph-it-live # or: npx @magic5644/graph-it-live scan
graph-it init # guard today's architecture, list quick wins
graph-it # interactive REPL
graph-it --help lists every command. See the CLI reference for options, output formats, and the REPL.
MCP server and AI assistants
graph-it serve
In VS Code, enable graph-it-live.enableMcpServer, or use the native Copilot tools that ship with the extension. Per-client setup is in AI integrations.
Features
File graph, Symbol View and Live Call Graph answer who imports a file, which functions call each other in a file, and which symbols call each other across files. Details for each view: Views and supported languages.
File dependency graph. File-to-file imports, circular dependencies, reverse dependencies; type-only cycles are drawn apart from runtime cycles. More
Symbol View. Functions, classes, variables, callers, and recursive calls inside one file. More
Live Call Graph. Cross-file callers and callees, depth 1 to 5, grouped by folder, with recursion highlighted. More
Architecture view. Units in layers with their roles, edges and cycles, a dependency structure matrix, and flow and sequence diagrams of one symbol. Tour · Guide
Architecture rules. Declare what may import what in graphit.architecture.json; graph-it check-architecture gates CI, and graph-it init writes the rules from today's imports. More
Decorators. graph-it decorators --decorator Injectable lists the TS/JS decorators on classes and methods, with the declaring module behind aliases and barrels, and their arguments; --require UseGuards fails CI when an eligible declaration lacks one. More
Unused dependencies and impact analysis. Hide or dim unused imports, detect unused exports, trace execution, and find the callers a signature change affects. More
AI integrations
The portable Agent Plugin bundles the MCP server and five skills. Install it, or the MCP server alone, with the client you use:
| Client | Setup |
|---|---|
| Claude Code | claude plugin marketplace add magic5644/Graph-It-Live, then /plugin install graph-it-live@graph-it-live |
| GitHub Copilot CLI | copilot plugin marketplace add magic5644/Graph-It-Live, then copilot plugin install graph-it-live@graph-it-live |
| GitHub Copilot in VS Code | Native tools (#graphContext, #graphImpact, …) with the extension; or Chat: Install Plugin From Source and select plugins/graph-it-live/ |
| Cursor | Plugins panel, Install from local source, select plugins/graph-it-live/; or .cursor/mcp.json |
| Codex | codex mcp add graph-it-live --env WORKSPACE_ROOT=/path/to/project -- graph-it serve |
| Windsurf, Antigravity, other MCP clients | MCP server entry running npx -y @magic5644/graph-it-live@latest serve |
| Any agent (skill only) | npx skills add magic5644/skills/graph-it-live |
In Claude Code v2.1.331 or later, the MCP server also serves the five skills (Skills over MCP).
MCP tools and the native Copilot tools answer in compact TOON by default; graph-it stats shows the tokens used against the same answers in JSON.
Full setup, the 26 MCP tools, the native Copilot tools, and ready-to-copy configurations: AI integrations.
Supported languages
| Language | File graph | Symbol View | Live Call Graph |
|---|---|---|---|
| TypeScript / JavaScript | Yes | Yes | Yes |
| React (JSX / TSX) | Yes | Yes | Yes |
| Vue 3 (SFC) | Yes | Yes | Yes |
| Svelte | Yes | Yes | Yes |
| Python | Yes | Yes | Yes |
| Rust | Yes | Yes | Yes |
| C# / Go / Java | Yes | No | Yes |
| GraphQL | Yes | No | Yes |
Vue single-file components, React components, and the limits per language: Supported languages.
Configuration
Settings live under graph-it-live.* (performance profile, MCP server, traversal depth, unused-dependency mode, communities). Indexing skips paths in the root .gitignore; add a .graphitignore to exclude more. Branch Watch, off by default, inspects the changes of a branch automatically in a native view. See Configuration.
CI review gate
graph-it review-pr --base <ref> reviews a Git diff before CI: breaking signatures, consumers still importing a removed export, cycles, test candidates, architecture rules, and the before/after structure (units, folders, moves) and an optional before/after SVG (--deltaSvg, diagram --delta). A reusable GitHub Action posts the report and can gate a pull request with fail-on-risk. See the review-pr reference and the example workflow.

Documentation
- CLI reference — commands, REPL, output formats, and MCP tools
- Architecture guide — Architecture view,
graphit.architecture.jsonrules, andcheck-architecture - Architecture view tour — screenshots, diagram export, flow and sequence diagrams
- Decorators — decorator inventory and missing-decorator check on the CLI, MCP and VS Code
- Views and supported languages — file graph, Symbol View, Live Call Graph, Vue and React support
- AI integrations — per-client setup, MCP server, native Copilot tools, agent skill
- Configuration — settings, Branch Watch, indexing exclusions
- Development guide — setup, builds, tests, and WASM architecture
- Contributing guide — contribution workflow and conventions
- System architecture
- Class hierarchy
- TOON format
- Coding standards
- Cross-platform testing
- Performance optimizations
- Documentation index
Development
Requirements: Node.js 22 or later and npm.
git clone https://github.com/magic5644/Graph-It-Live.git
cd Graph-It-Live
npm install
npm run build
Press F5 in VS Code to launch the Extension Development Host.
| Command | Purpose |
|---|---|
npm run build |
Build the extension and copy WASM assets |
npm test |
Run unit tests |
npm run test:cli |
Run CLI tests |
npm run test:vscode |
Run VS Code E2E tests |
npm run lint |
Run ESLint |
npm run check:types |
Run strict TypeScript checks |
npm run package |
Build the VSIX package |
npm run package:verify |
Verify package contents |
See DEVELOPMENT.md for the full project structure, test strategy, WASM details, and troubleshooting.
License
MIT. See LICENSE.
Language icons are provided by SuperTinyIcons under the CC0-1.0 license.
Star History
Explorar proyectos relacionados
Cargando…
