Apple Documentation Access
Use when you need direct access to Apple-authored text-system documentation from the Xcode-bundled for-LLM markdown docs that MCP can expose at runtime, especially for AttributedString updates, styled TextEditor behavior, toolbars near editors, or official Swift diagnostic writeups. Reach for this when Apple’s wording matters more than repo-authored guidance.
Use when you need direct access to Apple-authored text-system documentation from the Xcode-bundled for-LLM markdown docs that MCP can expose at runtime, especially for AttributedString updates, styled TextEditor behavior, toolbars near editors, or official Swift diagnostic writeups. Reach for this when Apple’s wording matters more than repo-authored guidance.
Family: Front Door Skills
Router skill providing direct access to Apple’s official for-LLM markdown documentation bundled inside Xcode.
Use this skill when you want Apple-authored guidance from the Xcode-bundled Apple docs that MCP can expose at runtime, rather than only repo-authored summaries.
When to Use
Section titled “When to Use”- You need the exact API signature or behavior from Apple.
- A Swift compiler diagnostic needs explanation with examples.
- Another Apple Text skill references an Apple framework and you want the official source.
- You want authoritative code examples for
AttributedString, styledTextEditor, toolbar behavior, or related text-system changes that ship in Xcode docs.
Priority: Apple Text skills provide opinionated guidance and project-specific tradeoffs. Apple docs provide authoritative API detail. Use both together.
Example Prompts
Section titled “Example Prompts”- “What does Apple’s AttributedString update doc say about the newest Foundation text changes?”
- “Show me Apple’s official guidance for styled TextEditor editing.”
- “What does the Swift diagnostic
actor-isolated-callmean?” - “What Apple-authored docs ship in Xcode for text and editor-adjacent APIs?”
What’s Covered
Section titled “What’s Covered”Apple Guide Topics
Section titled “Apple Guide Topics”AttributedStringupdates and Foundation text changes.- SwiftUI styled text editing behavior.
- Toolbar features near editing and text-centric UI.
- The checked-in sidecar index at
xcode-docs-index.mdlisting the local Apple-text subset and the bundled Swift diagnostics catalog.
Swift Compiler Diagnostics
Section titled “Swift Compiler Diagnostics”- Official explanations with examples for Swift diagnostics bundled in the Xcode toolchain.
- Especially useful when concurrency or type-system diagnostics intersect with text code and editor integrations.
How It Works
Section titled “How It Works”Apple bundles for-LLM markdown documentation inside Xcode at two locations:
AdditionalDocumentationfor framework guides and implementation patterns.- Swift diagnostics for compiler error and warning explanations with examples.
Apple Text can read these files at runtime from the local Xcode installation when APPLE_TEXT_APPLE_DOCS=true.
When runtime Apple docs are enabled in the current client, use them first. Treat the checked-in sidecars in this skill as the repo-backed fallback and the fastest local subset for Apple text questions.
Configuration
Section titled “Configuration”| Variable | Default | Purpose |
|---|---|---|
APPLE_TEXT_XCODE_PATH | /Applications/Xcode.app | Custom Xcode path, such as Xcode-beta.app |
APPLE_TEXT_APPLE_DOCS | false | Set to true to enable runtime loading of Apple-authored markdown docs from the local Xcode install |
Documentation Scope
Section titled “Documentation Scope”This page documents the apple-text-apple-docs router skill. The router maps text-system questions to Apple-authored Xcode doc files and the checked-in fallback sidecars.
Related
Section titled “Related”apple-text-texteditor-26: Use when building rich-text editing with SwiftUI TextEditor and AttributedString on iOS 26+, or deciding whether the new native APIs are enough versus a UITextView wrapper. Reach for this when the question is specifically about the iOS 26 TextEditor rich-text boundary, not generic SwiftUI wrapping.apple-text-attributed-string: Use when choosing between AttributedString and NSAttributedString, defining custom attributes, converting between them, or deciding which model should own rich text in a feature. Reach for this when the main task is the attributed-string model decision, not low-level formatting catalog lookup.apple-text-writing-tools: Use when integrating Writing Tools into a native or custom text editor, configuring writingToolsBehavior, adopting UIWritingToolsCoordinator, protecting ranges, or debugging why Writing Tools do not appear. Reach for this when the problem is specifically Writing Tools, not generic editor debugging.
Sidecar Files
Section titled “Sidecar Files”skills/apple-text-apple-docs/xcode-attributedstring-updates.mdskills/apple-text-apple-docs/xcode-docs-index.mdskills/apple-text-apple-docs/xcode-styled-text-editing.mdskills/apple-text-apple-docs/xcode-toolbar-features.md
Full SKILL.md source
---name: apple-text-apple-docsdescription: Use when you need direct access to Apple-authored text-system documentation from the Xcode-bundled for-LLM markdown docs that MCP can expose at runtime, especially for AttributedString updates, styled TextEditor behavior, toolbars near editors, or official Swift diagnostic writeups. Reach for this when Apple’s wording matters more than repo-authored guidance.license: MIT---
# Apple Documentation Access
Router skill providing direct access to Apple's official for-LLM markdown documentation bundled inside Xcode.
Use this skill when you want Apple-authored guidance from the Xcode-bundled Apple docs that MCP can expose at runtime, rather than only repo-authored summaries.
## When to Use
- You need the exact API signature or behavior from Apple.- A Swift compiler diagnostic needs explanation with examples.- Another Apple Text skill references an Apple framework and you want the official source.- You want authoritative code examples for `AttributedString`, styled `TextEditor`, toolbar behavior, or related text-system changes that ship in Xcode docs.
Priority: Apple Text skills provide opinionated guidance and project-specific tradeoffs. Apple docs provide authoritative API detail. Use both together.
## Example Prompts
- "What does Apple's AttributedString update doc say about the newest Foundation text changes?"- "Show me Apple's official guidance for styled TextEditor editing."- "What does the Swift diagnostic `actor-isolated-call` mean?"- "What Apple-authored docs ship in Xcode for text and editor-adjacent APIs?"
## What's Covered
### Apple Guide Topics
- `AttributedString` updates and Foundation text changes.- SwiftUI styled text editing behavior.- Toolbar features near editing and text-centric UI.- The checked-in sidecar index at [xcode-docs-index.md](xcode-docs-index.md) listing the local Apple-text subset and the bundled Swift diagnostics catalog.
### Swift Compiler Diagnostics
- Official explanations with examples for Swift diagnostics bundled in the Xcode toolchain.- Especially useful when concurrency or type-system diagnostics intersect with text code and editor integrations.
## How It Works
Apple bundles for-LLM markdown documentation inside Xcode at two locations:
- `AdditionalDocumentation` for framework guides and implementation patterns.- Swift diagnostics for compiler error and warning explanations with examples.
Apple Text can read these files at runtime from the local Xcode installation when `APPLE_TEXT_APPLE_DOCS=true`.
When runtime Apple docs are enabled in the current client, use them first. Treat the checked-in sidecars in this skill as the repo-backed fallback and the fastest local subset for Apple text questions.
## Configuration
| Variable | Default | Purpose ||----------|---------|---------|| `APPLE_TEXT_XCODE_PATH` | `/Applications/Xcode.app` | Custom Xcode path, such as `Xcode-beta.app` || `APPLE_TEXT_APPLE_DOCS` | `false` | Set to `true` to enable runtime loading of Apple-authored markdown docs from the local Xcode install |
## Related Skills
- Use `/skill apple-text-texteditor-26` for project-specific `TextEditor` guidance after reading Apple’s docs results.- Use `/skill apple-text-attributed-string` for AttributedString vs NSAttributedString decisions and conversion strategy.- Use `/skill apple-text-writing-tools` when the real problem is Writing Tools integration, not Apple-doc lookup.- Use `/skill apple-text-foundation-ref` for broader Foundation text utilities beyond the Xcode-bundled subset.