generators-spotlight-indexing
CommunityMake app content instantly searchable via Spotlight
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Many apps need their content discoverable system-wide but lack a robust, production-ready integration with Core Spotlight and Siri suggestions; this Skill provides a complete indexing workflow so user-visible items appear in Spotlight results, handle deep-link continuation, and stay consistent across updates and deletions.
Core Features & Use Cases
- Protocol-driven indexing: A SpotlightIndexable protocol to convert models into CSSearchableItem objects.
- Safe concurrency and batching: An actor-wrapped SpotlightIndexManager that batches indexing, supports reindexing, and performs domain-based removals.
- Rich attributes and thumbnails: A SpotlightAttributeBuilder for fine-grained attribute sets and optional thumbnail support.
- Deep-link continuation & Siri: SpotlightSearchHandler and NSUserActivity wiring for handling taps and enabling Siri suggestions.
- View-level sync: Optional ViewModifier to auto-index on appear and remove on disappear for SwiftUI views.
- Use cases: Indexing articles, products, contacts, tasks, or any custom models to appear in Spotlight and be eligible for Siri predictions.
Quick Start
Generate Core Spotlight indexing infrastructure for my app's Article model with batch initial indexing, thumbnails enabled, and Siri suggestions.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: generators-spotlight-indexing Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#generators-spotlight-indexing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.