Apple Documentation Index
This skill provides indexes of Apple framework documentation. Use these to:
- •Browse available APIs in a framework
- •Find the path to specific documentation
- •Decide what detailed docs to download
Available Indexes
| Framework | File | Size | Topics |
|---|---|---|---|
| SwiftUI | ../swiftui/swiftui-overview.md | 907KB | Views, modifiers, navigation, state |
| XCTest | xctest-index.md | 55KB | Testing, assertions, expectations |
| XCUIAutomation | xcuiautomation-index.md | 58KB | UI testing, elements, queries |
| HealthKit | healthkit-index.md | 312KB | Health data, workouts, records |
| Combine | combine-index.md | 153KB | Publishers, subscribers, operators |
| SwiftData | swiftdata-index.md | 86KB | Models, containers, queries |
| Observation | observation-index.md | 3KB | @Observable macro |
How to Use
1. Browse an Index
bash
# See what's in HealthKit cat healthkit-index.md | head -100 # Search for specific topic grep -i "workout" healthkit-index.md grep -i "navigation" ../swiftui/swiftui-overview.md
2. Find Documentation Paths
Index files list all available documentation pages. Each entry shows the path:
markdown
- [HKWorkout](/documentation/healthkit/hkworkout) - [NavigationStack](/documentation/swiftui/navigationstack)
3. Download Detailed Docs
Once you find what you need, download the full documentation:
bash
# From an index entry like "/documentation/healthkit/hkworkout" curl -sL "https://sosumi.ai/documentation/healthkit/hkworkout" > hkworkout.md # Then grep as needed grep -i "startDate" hkworkout.md
Adding More Indexes
Download any framework index:
bash
# Foundation (large)
curl -sL "https://sosumi.ai/documentation/foundation" > foundation-index.md
# UIKit (large)
curl -sL "https://sosumi.ai/documentation/uikit" > uikit-index.md
# Core Data
curl -sL "https://sosumi.ai/documentation/coredata" > coredata-index.md
# Any framework
curl -sL "https://sosumi.ai/documentation/{framework}" > {framework}-index.md
The sosumi.ai Technique
Apple's developer.apple.com uses JavaScript rendering. Replace with sosumi.ai for markdown:
code
https://developer.apple.com/documentation/swiftui/view → https://sosumi.ai/documentation/swiftui/view
See docs/apple-docs-for-llms.md for full documentation.