spotlight-indexing
Generates Core Spotlight indexing infrastructure for making app content searchable via system Spotlight with rich attributes and deep link integration. Use when user wants to index content for Spotlight search, Siri suggestions, or system-wide searchability.
npx skills add rshankras/claude-code-apple-skills --skill spotlight-indexing --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spotlight Indexing Generator Generate production Core Spotlight indexing infrastructure — makes app content searchable via Spotlight (and Siri suggestions). Indexes items with rich attributes, handles search continuation into your app, and manages index lifecycle. ## When This Skill Activates Use this skill when the user: - Asks to "add spotlight search" or "spotlight indexing" - Mentions "core spotlight" or "CSSearchableItem" - Wants to make "searchable content" or "index content" for system search - Asks about "system search" integration or "Siri suggestions" - Wants content to appear in Spotlight results - Mentions "NSUserActivity" for search or handoff ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check deployment target (iOS 16+ / macOS 13+) - [ ] Check Swift version (requires Swift 5.9+) - [ ] Check for @Observable support (iOS 17+ / macOS 14+) - [ ] Identify source file locations ### 2. Existing CoreSpotlight Detection Search for existing Spotlight code: ``` Glob: **/*Spotlight*.swift, **/*Searchable*.swift, **/*CSSearchable*.swift Grep: "CoreSpotlight" or "CSSearchableIndex" or "CSSearchableItem" ``` If existing Spotlight code found: - Ask if user wants
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Existing CoreSpotlight Detection
- 3. Deep Linking Detection
- 4. Entitlements Check
- Configuration Questions
- Generation Process
- Step 1: Read Templates
- Step 2: Create Core Files
- Step 3: Create Integration Files
- Step 4: Create Optional Files
- Step 5: Determine File Location
- Output Format
What does the spotlight-indexing skill do?
Generates Core Spotlight indexing infrastructure for making app content searchable via system Spotlight with rich attributes and deep link integration. Use when user wants to index content for Spotlight search, Siri suggestions, or system-wide searchability.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill spotlight-indexing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
