cursor-codebase-indexing
SKILL.md
Cursor Codebase Indexing
Provides setup and optimization of Cursor's codebase indexing for semantic code search and improved AI context awareness.
Overview
What is Codebase Indexing?
Codebase indexing creates a searchable representation of your code:
- Enables @codebase queries
- Powers semantic code search
- Improves AI context awareness
- Helps AI understand project structure
Prerequisites
- Cursor IDE installed and authenticated
- Project workspace with source files
- Sufficient disk space for index storage
- Stable network connection for initial setup
Instructions
- Open your project in Cursor
- Navigate to Settings > Cursor > Codebase Indexing
- Enable "Index this workspace"
- Create
.cursorignorefile at project root - Add exclusion patterns for large/irrelevant directories
- Wait for indexing to complete (check status bar)
- Test with
@codebasequeries in chat
Output
- Indexed codebase enabling
@codebasequeries - Semantic code search functionality
- Improved AI context awareness
- Searchable symbol table and definitions
Error Handling
See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.
Examples
See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.
Resources
Weekly Installs
22
Repository
jeremylongshore…s-skillsGitHub Stars
1.6K
First Seen
Feb 12, 2026
Security Audits
Installed on
github-copilot21
codex21
opencode20
gemini-cli20
amp20
kimi-cli20