apple-docs-index — Claude Code skill: what it does, how to install
Apple developer documentation index for iOS and macOS. Helps coding agents discover APIs across SwiftUI, UIKit, and SwiftData without blind web searches.
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-codeWhat apple-docs-index does
The skill supplies local index files for SwiftUI, UIKit, Core Animation, HealthKit, Combine, and SwiftData. Your assistant parses these tables using grep or direct file reads. It quickly locates exact doc paths on disk.
Entries map symbols directly to canonical paths, such as /documentation/healthkit/hkworkout. If a detailed guide is missing from your installed skills, the agent pulls Markdown from https://sosumi.ai or checks DocC endpoints on developer.apple.com.
Querying local indexes prevents context bloat from messy web scrapes. Even so, fetching omitted frameworks still requires internet access.
What it helps with
- locate Apple API doc paths for iOS and macOS symbols
- check available types and modifiers across SwiftUI or UIKit
- cut agent token consumption when reading Apple documentation
- retrieve DocC and Markdown mirrors for frameworks absent locally
Example prompts for the agent
- Check
healthkit-index.mdfor workout APIs - Search
../swiftui/swiftui-overview.mdfor navigation modifiers - Find the documentation path for
CATransaction
How to install apple-docs-index
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-code2Manually: put the files in place
~/.claude/skills/apple-docs-index/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/apple-docs-index/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a codex2Manually: put the files in place
.agents/skills/apple-docs-index/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a cursor2Manually: put the files in place
.cursor/skills/apple-docs-index/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills apple-docs-index2Manually: put the files in place
.github/skills/apple-docs-index/SKILL.md1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a gemini-cli2Platform CLI
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/apple-docs-indexManually: put the files in place
.devin/skills/apple-docs-index/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about apple-docs-index
How to install apple-docs-index in Claude Code?
Run npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-code in your terminal.
What does apple-docs-index do?
It provides local Markdown indexes covering major Apple frameworks to help AI agents look up APIs without broad web searches.
How does it handle unlisted frameworks?
It directs the agent to https://sosumi.ai/documentation/{framework} or Apple's DocC JSON endpoint at https://developer.apple.com/tutorials/data/index/{framework}.
Source text
SKILL.md · MIT
---
name: apple-docs-index
user-invocable: true
description: Index of Apple developer documentation for iOS, macOS, and related frameworks. Use when looking up what APIs exist in a framework, browsing available documentation, or deciding what docs to fetch. Covers SwiftUI, UIKit, Core Animation (QuartzCore), XCTest, HealthKit, Combine, SwiftData, and more.
---
# 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 |
| UIKit | `../uikit/uikit-overview.md` | 1.8MB | Views, controllers, controls, scenes |
| Core Animation | `../core-animation/core-animation-index.md` | 80KB | CALayer, CAAnimation, CATransaction, layer subclasses |
| 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. Fetch More Detailed Docs
1. Check whether the detailed page is already available in one of your installed Apple skills.
2. Use skill names, descriptions, or `SKILL.md` frontmatter to find likely skill directories, then grep their local `.md` files before fetching. This is faster and uses less context than fetching new docs from the internet.
3. If no installed skill has the page, use the same path with the `sosumi.ai` Markdown mirror.
For example, `/documentation/healthkit/hkworkout` maps to `https://sosumi.ai/documentation/healthkit/hkworkout`.
### 4. Browse Missing Framework Indexes
If the local indexes don't include the framework you need, use the framework's `sosumi.ai` index:
```text
https://sosumi.ai/documentation/{framework}
```
For example, `https://sosumi.ai/documentation/foundation` provides a Markdown index you can search for Foundation paths.
If the Markdown mirror is unavailable and your environment can parse JSON, Apple's public DocC index endpoint is:
```text
https://developer.apple.com/tutorials/data/index/{framework}
```
The useful path tree is under `interfaceLanguages.swift[0].children`.
© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills