Apple Foundation Models Skill
This skill acts as a router. When handling tasks or queries related to Apple's FoundationModels framework, identify the relevant topic below and load the corresponding reference file before performing any code generation or analysis.
Topic Router
| Topic / API Surface | Target Reference |
|---|---|
| All References Index | references/_index.md |
| Model Access & Availability | system-language-model.md |
| Session & Transcript Lifecycle | session-lifecycle.md |
Structured Output (@Generable) | guided-generation.md |
| Tool Calling & Capabilities | tool-calling.md |
| Sampling & Options | generation-options.md |
| Streaming UI & Responses | streaming.md |
| Error Handling & Overflow | error-handling.md |
| Swift Concurrency & Actor Isolation | concurrency.md |
| Performance & Prewarming | performance.md |
| Prompt Engineering & Strategy | prompting-techniques.md |
| Prompt Attachments (Images) | prompt-attachments.md |
| Dynamic Profiles & Policies | dynamic-profiles.md |
| Session Properties | session-properties.md |
| Private Cloud Compute (PCC) | private-cloud-compute.md |
| Custom Language Model Providers | custom-language-model-provider.md |
| Framework Glossary | glossary.md |
Boundaries (Out of Scope)
Do NOT use this skill for:
- General Swift Concurrency (see Swift Concurrency Skill).
- Standard SwiftUI patterns (see SwiftUI Expert Skill).
- Non-Apple/third-party LLM APIs.
- Model training/CoreML integration details.