apple-docs-index — скилл для Claude Code: что делает и как установить
Индекс документации Apple для iOS и macOS. Помогает агенту находить нужные API в SwiftUI, UIKit или SwiftData без лишних поисковых запросов в сеть.
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-codeЧто делает apple-docs-index
Скилл даёт готовые оглавления для SwiftUI, UIKit, Core Animation, Combine, SwiftData, HealthKit и тестов. Ассистент находит нужные методы и типы локальным поиском через grep, не тратя время на веб-поиск.
В списках указаны пути к документации вроде /documentation/healthkit/hkworkout. Если подробного файла нет среди локальных файлов, агент загружает Markdown с зеркала https://sosumi.ai либо берёт дерево DocC с developer.apple.com.
Поиск по готовому оглавлению экономит контекстное окно модели. При этом для работы с редкими фреймворками агенту всё равно понадобится подключение к сети.
Какие задачи решает
- найти путь к документации конкретного метода или класса Apple
- проверить состав API во фреймворках SwiftUI, UIKit или SwiftData
- сократить расход контекста при поиске спецификаций iOS и macOS
- получить ссылку на Markdown-зеркало документации для редких библиотек
Примеры запросов агенту
- Найди в индексе HealthKit типы данных для тренировок
- Проверь по
swiftui-overview.md, какие модификаторы есть для навигации - Найди путь к документации по
CATransactionв Core Animation
Как установить apple-docs-index
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-code2Вручную: положить файлы
~/.claude/skills/apple-docs-index/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/apple-docs-index/
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a codex2Вручную: положить файлы
.agents/skills/apple-docs-index/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a cursor2Вручную: положить файлы
.cursor/skills/apple-docs-index/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills apple-docs-index2Вручную: положить файлы
.github/skills/apple-docs-index/SKILL.md1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a gemini-cli2Командой платформы
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/apple-docs-indexВручную: положить файлы
.devin/skills/apple-docs-index/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о apple-docs-index
Как установить apple-docs-index в Claude Code?
Выполните команду npx skills add Prisma-Labs-Dev/apple-skills --skill apple-docs-index -a claude-code.
Что делает apple-docs-index?
Он предоставляет структурированные файлы с перечнем API для основных системных библиотек Apple, ускоряя поиск нужных разделов документации.
Что делать, если нужного фреймворка нет в локальном списке?
Скилл перенаправляет агента к онлайн-индексу на https://sosumi.ai/documentation/{framework} или к DocC JSON на developer.apple.com.
Исходный текст
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