CtrlK
BlogDocsLog inGet started
Tessl Logo

axiom-apple-docs

Use when ANY question involves Apple framework APIs, Swift compiler errors, or Xcode-bundled documentation. Covers Liquid Glass, Swift 6.2 concurrency, Foundation Models, SwiftData, StoreKit, 32 Swift compiler diagnostics.

74

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Apple Documentation Router

Apple bundles for-LLM markdown documentation inside Xcode. These are authoritative, up-to-date guides and diagnostics written by Apple engineers. Read them directly with Claude Code's native Read tool — no MCP server or special tool required.

When to Use

  • You need the exact API signature or behavior from Apple
  • An Axiom skill references an Apple framework and you want the official source
  • A Swift compiler diagnostic needs explanation
  • The user asks about a specific Apple framework feature

Priority: Axiom skills provide opinionated guidance (decision trees, anti-patterns, pressure scenarios). Apple docs provide authoritative API details. Use both together.

How to Read These Docs

The session-start hook resolves Xcode's location and echoes the literal base directories into session context (look for "Apple for-LLM Documentation: Xcode detected at <path>"). Use the Read tool with <that base>/<filename>.

Default Xcode location (/Applications/Xcode.app) base directories:

ContentBase directory
AdditionalDocumentation guides/Applications/Xcode.app/Contents/PlugIns/IDEIntelligenceChat.framework/Versions/A/Resources/AdditionalDocumentation/
Swift compiler diagnostics/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/doc/swift/diagnostics/

Example invocation Claude should produce:

Read /Applications/Xcode.app/Contents/PlugIns/IDEIntelligenceChat.framework/Versions/A/Resources/AdditionalDocumentation/SwiftUI-Implementing-Liquid-Glass-Design.md

Xcode-beta users: the session-start hook respects AXIOM_XCODE_PATH and reports the resolved path in session context — use that path, not the default above.

Guide Files (AdditionalDocumentation)

20 files. Read with the path pattern {guides base}/{filename}.

UI & Design

TopicFilename
Liquid Glass in SwiftUISwiftUI-Implementing-Liquid-Glass-Design.md
Liquid Glass in UIKitUIKit-Implementing-Liquid-Glass-Design.md
Liquid Glass in AppKitAppKit-Implementing-Liquid-Glass-Design.md
Liquid Glass in WidgetKitWidgetKit-Implementing-Liquid-Glass-Design.md
SwiftUI new toolbar featuresSwiftUI-New-Toolbar-Features.md
SwiftUI styled text editingSwiftUI-Styled-Text-Editing.md
SwiftUI WebKit integrationSwiftUI-WebKit-Integration.md
SwiftUI AlarmKit integrationSwiftUI-AlarmKit-Integration.md
Swift Charts 3D visualizationSwift-Charts-3D-Visualization.md
Foundation AttributedString updatesFoundation-AttributedString-Updates.md

Data & Persistence

TopicFilename
SwiftData class inheritanceSwiftData-Class-Inheritance.md

Concurrency & Performance

TopicFilename
Swift concurrency updatesSwift-Concurrency-Updates.md
InlineArray and SpanSwift-InlineArray-Span.md

Apple Intelligence

TopicFilename
Foundation Models (on-device LLM)FoundationModels-Using-on-device-LLM-in-your-app.md

System Integration

TopicFilename
App Intents updatesAppIntents-Updates.md
StoreKit updatesStoreKit-Updates.md
MapKit GeoToolbox PlaceDescriptorsMapKit-GeoToolbox-PlaceDescriptors.md
Widgets for visionOSWidgets-for-visionOS.md

Accessibility

TopicFilename
Assistive Access in iOSImplementing-Assistive-Access-in-iOS.md

Computer Vision

TopicFilename
Visual Intelligence in iOSImplementing-Visual-Intelligence-in-iOS.md

Swift Compiler Diagnostics

46 files in the diagnostics directory. Read with the path pattern {diagnostics base}/{filename}.

Concurrency Diagnostics

DiagnosticFilename
Actor-isolated call from nonisolated contextactor-isolated-call.md
Conformance isolationconformance-isolation.md
Isolated conformancesisolated-conformances.md
Nonisolated nonsending by defaultnonisolated-nonsending-by-default.md
Sendable closure capturessendable-closure-captures.md
Sendable metatypessendable-metatypes.md
Explicit Sendable annotationsexplicit-sendable-annotations.md
Sending closure risks data racesending-closure-risks-data-race.md
Sending risks data racesending-risks-data-race.md
Mutable global variablemutable-global-variable.md
Preconcurrency importpreconcurrency-import.md
Dynamic exclusivitydynamic-exclusivity.md
Exclusivity violationexclusivity-violation.md

Type System Diagnostics

DiagnosticFilename
Existential anyexistential-any.md
Existential member access limitationsexistential-member-access-limitations.md
Nominal typesnominal-types.md
Multiple inheritancemultiple-inheritance.md
Protocol type non-conformanceprotocol-type-non-conformance.md
Opaque type inferenceopaque-type-inference.md
Foreign reference typeforeign-reference-type.md

Build & Migration Diagnostics

DiagnosticFilename
Deprecated declarationdeprecated-declaration.md
Error in future Swift versionerror-in-future-swift-version.md
Strict language featuresstrict-language-features.md
Strict memory safetystrict-memory-safety.md
Implementation only deprecatedimplementation-only-deprecated.md
Member import visibilitymember-import-visibility.md
Missing module on known pathsmissing-module-on-known-paths.md
Module not testablemodule-not-testable.md
Module version missingmodule-version-missing.md
Clang declaration importclang-declaration-import.md
Availability unrecognized nameavailability-unrecognized-name.md
Always-available domainalways-available-domain.md
Upcoming language featuresupcoming-language-features.md
Unknown warning groupunknown-warning-group.md
Compilation cachingcompilation-caching.md
Embedded restrictionsembedded-restrictions.md

Swift Language Diagnostics

DiagnosticFilename
Dynamic callable requirementsdynamic-callable-requirements.md
Property wrapper requirementsproperty-wrapper-requirements.md
Result builder methodsresult-builder-methods.md
String interpolation conformancestring-interpolation-conformance.md
Trailing closure matchingtrailing-closure-matching.md
Temporary pointerstemporary-pointers.md
Semantic copiessemantic-copies.md
Performance hintsperformance-hints.md

Index

DiagnosticFilename
Diagnostic groups (taxonomy)diagnostic-groups.md
All diagnostics indexdiagnostics.md

If a diagnostic you need isn't listed above, list the diagnostics directory first:

ls $AXIOM_XCODE_PATH/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/doc/swift/diagnostics/

Filenames follow the diagnostic's short name (lowercase, hyphenated).

Routing Decision Tree

User question about Apple API/framework?
├── Specific compiler error/warning → Read {diagnostics base}/<diagnostic-name>.md
├── Liquid Glass implementation     → Read {guides base}/<Framework>-Implementing-Liquid-Glass-Design.md
├── Swift concurrency patterns      → Read {guides base}/Swift-Concurrency-Updates.md
├── Foundation Models / on-device AI → Read {guides base}/FoundationModels-Using-on-device-LLM-in-your-app.md
├── SwiftData features              → Read {guides base}/SwiftData-Class-Inheritance.md
├── StoreKit / IAP                  → Read {guides base}/StoreKit-Updates.md
├── App Intents / Siri              → Read {guides base}/AppIntents-Updates.md
├── Charts / visualization          → Read {guides base}/Swift-Charts-3D-Visualization.md
├── Text editing / AttributedString → Read {guides base}/SwiftUI-Styled-Text-Editing.md or Foundation-AttributedString-Updates.md
├── WebKit in SwiftUI               → Read {guides base}/SwiftUI-WebKit-Integration.md
├── Toolbar features                → Read {guides base}/SwiftUI-New-Toolbar-Features.md
└── Other                           → ls the base directory to see what's available

Fallback When Xcode Is Unavailable

If AXIOM_XCODE_PATH is unset, or the path doesn't exist, or the IDEIntelligenceChat.framework directory is missing (older Xcode), fall back to:

  1. sosumi.ai (markdown mirror of developer.apple.com — see axiom-tools/apple-docs-research.md)
  2. WebFetch of the equivalent developer.apple.com URL
  3. Suggest installing the latest Xcode for full Apple docs coverage

Do not silently fail — tell the user when Xcode docs aren't available locally and which fallback you used.

MCP Convenience Path

Clients using axiom-mcp can also invoke axiom_read_skill with the legacy ID (e.g., apple-guide-swiftui-implementing-liquid-glass-design). The MCP server reads the same Xcode files and returns the same content. Both paths are supported — the file-Read path works everywhere; the MCP path is a convenience for catalog/search workflows.

Research Methodology

For WWDC transcript capture (Chrome auto-capture), sosumi.ai documentation access, and multi-session research workflows, see skills/apple-docs-research.md.

Resources

Skills: axiom-swiftui, axiom-concurrency, axiom-data, axiom-ai, axiom-integration

Repository
CharlesWiltgen/Axiom
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.