Single source of truth and librarian for ALL Cursor documentation. Manages local documentation storage, scraping, discovery, and resolution. Use when finding, locating, searching, or resolving Cursor documentation; discovering docs by keywords, category, tags, or natural language queries; scraping from llms.txt; managing index metadata (keywords, tags, aliases); or rebuilding index from filesystem. Run scripts to scrape, find, and resolve documentation. Handles doc_id resolution, keyword search, natural language queries, category/tag filtering, alias resolution, llms.txt parsing, markdown subsection extraction for internal use, hash-based drift detection, and comprehensive index maintenance.
View on GitHubmelodic-software/claude-code-plugins
cursor-ecosystem
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/cursor-ecosystem/skills/cursor-docs/SKILL.md -a claude-code --skill cursor-docsInstallation paths:
.claude/skills/cursor-docs/# Cursor Documentation Skill ## CRITICAL: Path Doubling Prevention - MANDATORY **ABSOLUTE PROHIBITION: NEVER use `cd` with `&&` in PowerShell when running scripts from this skill.** **The Problem:** If your current working directory is already inside the skill directory, using relative paths causes PowerShell to resolve paths relative to the current directory instead of the repository root, resulting in path doubling. **REQUIRED Solutions (choose one):** 1. **ALWAYS use absolute paths** (recommended) 2. **Use separate commands** (never `cd` with `&&`) 3. **Run from repository root** with relative paths **NEVER DO THIS:** - Chain `cd` with `&&`: `cd <relative-path> && python <script>` causes path doubling - Assume current directory - Use relative paths when current dir is inside skill directory ## CRITICAL: Large File Handling - MANDATORY SCRIPT USAGE ### ABSOLUTE PROHIBITION: NEVER use read_file tool on the index.yaml file The file exceeds context limits and will cause issues. You MUST use scripts. **REQUIRED: ALWAYS use manage_index.py scripts for ANY index.yaml access:** ```bash python scripts/management/manage_index.py count python scripts/management/manage_index.py list python scripts/management/manage_index.py get <doc_id> python scripts/management/manage_index.py verify ``` All scripts automatically handle large files via `index_manager.py`. ## Available Slash Commands This skill provides slash commands for common workflows (once plugin commands are created): - **`/cursor-ecosystem:scrape-docs`** - Scrape Cursor documentation from llms.txt sources - **`/cursor-ecosystem:refresh-docs`** - Refresh the local index and metadata without scraping - **`/cursor-ecosystem:validate-docs`** - Validate the index and references for consistency ## Overview This skill provides automation tooling for Cursor documentation management. It manages: - **Canonical storage** (encapsulated in skill) - Single source of truth for official docs - **Subsection extracti