首页/ AI 技能 / @skilllib/skill-2014279376722931713
Skill站外收录 @skilllib/skill-2014279376722931713

cursor-multi-repo

支持在 Cursor IDE 中统一管理多个代码仓库,通过多根工作区或单体仓库模式组织项目,实现跨仓库的规则继承、选择性索引配置及上下文感知,适用于复杂协作开发场景。

0.0 (0) 664 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# 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 1. Decide on multi-repo strategy (separate windows, workspace, or monorepo) 2. Create workspace file or open specific packages 3. Configure .cursorrules inheritance (root + overrides) 4. Set up selective indexing with .cursorignore 5. Use full paths for @-mentions across projects 6. 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. ## Resources - [VS Code Workspaces](https://code.visualstudio.com/docs/editor/workspaces) - [Turborepo Documentation](https://turbo.build/repo/docs) - [Cursor Multi-Project Guide](https://cursor.com/docs/workspaces)

评论 0

还没有评论,来抢沙发。