cursor-codebase-indexing
Installation
SKILL.md
Cursor Codebase Indexing
Overview
Configure codebase indexing so relevant source and documentation are available while sensitive, generated, oversized, and unrelated files remain excluded from AI context.
Prerequisites
- Repository ownership, expected source/documentation paths, and reviewed
.cursorignore/indexing exclusions. - A non-sensitive verification fixture and a change-review path for configuration updates.
Instructions
- Define the intended workspace scope and add exclusions before the first indexing pass.
- Verify required files can be found and excluded paths cannot be attached or discovered.
- Reindex only after a reviewed configuration/workspace change and capture a redacted result.
- Monitor index size/performance and narrow scope rather than weakening data controls.