cursor-multi-repo

Featured

Work with multiple repositories in Cursor: multi-root workspaces, monorepo patterns, selective indexing, and cross-project context. Triggers on "cursor multi repo", "cursor multiple projects", "cursor monorepo", "cursor workspace", "multi-root workspace".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

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

Skill Content

# Cursor Multi-Repo Work with multiple repositories and monorepo structures in Cursor. Covers multi-root workspaces, selective indexing, cross-project context, and rule inheritance patterns. ## Multi-Root Workspaces Open multiple project roots in a single Cursor window: ### Creating a Workspace 1. Open first project: `File` > `Open Folder` > select project A 2. Add second project: `File` > `Add Folder to Workspace...` > select project B 3. Save workspace: `File` > `Save Workspace As...` > `mywork.code-workspace` ### Workspace File Structure ```json // mywork.code-workspace { "folders": [ { "path": "/home/dev/api-service" }, { "path": "/home/dev/web-frontend" }, { "path": "/home/dev/shared-lib" } ], "settings": { "editor.tabSize": 2, "files.exclude": { "**/node_modules": true, "**/dist": true } } } ``` Open workspace: `cursor mywork.code-workspace` or double-click the file. ### How Indexing Works with Multi-Root - Each folder root is indexed independently - `@Codebase` searches across all open roots - `@Files` paths include the root name: `@api-service/src/routes/users.ts` - Closing a folder removes it from the index ## Monorepo Patterns ### Opening Full Monorepo ```bash cursor /path/to/monorepo ``` **Pros:** `@Codebase` searches everything, cross-package references work naturally **Cons:** Slow indexing on large monorepos, lots of irrelevant search results ### Focused Opening (Recommended) ```bash # Open just the pac...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category