Skip to content

Cursor & VS Code Integration

Fresh

Cursor

Installation

bash
graphify cursor install

Writes rules to .cursor/rules/graphify.mdc. Cursor reads this directory automatically for all conversations in the project.

What Gets Written

The .cursor/rules/graphify.mdc file contains:

  • Instructions for Cursor to check graphify-out/GRAPH_REPORT.md before answering architecture questions
  • Query patterns for using Graphify commands through Cursor's terminal integration

Uninstalling

bash
graphify cursor uninstall

Verification

After install, open Cursor in your project directory and ask:

"What are the main components of this codebase?"

Cursor should reference the graph report and name specific node communities.

VS Code Copilot Chat

Installation

bash
graphify vscode install

Uninstalling

bash
graphify vscode uninstall

Manual Setup (Both Platforms)

For both Cursor and VS Code, you can manually reference the graph by adding workspace instructions that tell the assistant to:

  1. Read graphify-out/GRAPH_REPORT.md at the start of architecture conversations
  2. Use the terminal to run graphify query "..." when detailed node lookup is needed

Verification Checklist

  • [ ] .cursor/rules/graphify.mdc exists (Cursor)
  • [ ] /graphify . has been run and graphify-out/ exists
  • [ ] Asking an architecture question surfaces graph-referenced answers