cursor-multi-repo
在Cursor中处理多个仓库。触发于“cursor multi repo”、“cursor multiple projects”、“cursor monorepo”和“cursor workspace”。
📖 中文导读:在Cursor中处理多个仓库。触发于“cursor multi repo”、“cursor multiple projects”、“cursor monorepo”和“cursor workspace”。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: "cursor-multi-repo" description: | Manage work with multiple repositories in Cursor. Triggers on "cursor multi repo", "cursor multiple projects", "cursor monorepo", "cursor workspace". Use when working with cursor multi repo functionality. Trigger with phrases like "cursor multi repo", "cursor repo", "cursor". allowed-tools: "Read, Write, Edit, Bash(cmd:*)" version: 1.0.0 license: MIT author: "Jeremy Longshore jeremy@intentsolutions.io"
Cursor Multi Repo
Overview
This skill guides you through working with multiple repositories in Cursor. It covers multi-root workspaces, monorepo patterns, selective indexing strategies, and cross-project context management for complex development environments.
Prerequisites
- Multiple repositories or monorepo structure
- Understanding of workspace concepts
- Cursor IDE with workspace support
- Configured .cursorrules for each project
Instructions
- Decide on multi-repo strategy (separate windows, workspace, or monorepo)
- Create workspace file or open specific packages
- Configure .cursorrules inheritance (root + overrides)
- Set up selective indexing with .cursorignore
- Use full paths for @-mentions across projects
- Test cross-project context and queries
Output
- Functional multi-repository workspace
- Properly inherited .cursorrules
- Selective indexing per project
- Cross-project AI context awareness
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.