How alessiorubicini/apple-foundation-models-agent-skill works
This repository is an Agent Skill: it equips AI coding assistants to advise developers building with Apple’s FoundationModels framework, rather than implementing those APIs itself. The principal workflow is an assistant using the skill’s entry guidance and on-demand reference routing to answer a developer’s integration question. The references cover model selection and session setup, generation and tool interactions, and operational concerns such as concurrency and errors. Routing edges reflect the README’s description of the reference index; individual runtime API behavior is guidance, not repository code.
Main entry points: _index.md Reference Index · SKILL.md Skill Guidance · system-language-model.md System Models · session-lifecycle.md Session Lifecycle
Components 21
Skill Entry
- Skill Guidance
apple-foundation-models-skill/SKILL.md - Reference Index
apple-foundation-models-skill/references/_index.md
Models And Sessions
- System Models
apple-foundation-models-skill/references/system-language-model.md - Session Lifecycle
apple-foundation-models-skill/references/session-lifecycle.md - Session Properties
apple-foundation-models-skill/references/session-properties.md - Private Cloud
apple-foundation-models-skill/references/private-cloud-compute.md - Custom Providers
apple-foundation-models-skill/references/custom-language-model-provider.md
Generation And Interaction
- Guided Generation
apple-foundation-models-skill/references/guided-generation.md - Generation Options
apple-foundation-models-skill/references/generation-options.md - Tool Calling
apple-foundation-models-skill/references/tool-calling.md - Streaming
apple-foundation-models-skill/references/streaming.md - Prompt Attachments
apple-foundation-models-skill/references/prompt-attachments.md - Transcript History
apple-foundation-models-skill/references/transcripts.md
Operations And Guidance
- Concurrency
apple-foundation-models-skill/references/concurrency.md - Errors And Fallbacks
apple-foundation-models-skill/references/error-handling.md - Performance
apple-foundation-models-skill/references/performance.md - Prompting Techniques
apple-foundation-models-skill/references/prompting-techniques.md - Dynamic Profiles
apple-foundation-models-skill/references/dynamic-profiles.md - OS 27 Changes
apple-foundation-models-skill/references/os-27-api-changes.md
Other components
- Developer
- AI Assistant
Connections 20
- Developer → AI Assistant: requests guidance
- AI Assistant → Skill Guidance: reads skill
- AI Assistant → Reference Index: routes references
- Reference Index → System Models: routes to
- Reference Index → Session Lifecycle: routes to
- Reference Index → Session Properties: routes to
- Reference Index → Private Cloud: routes to
- Reference Index → Custom Providers: routes to
- Reference Index → Guided Generation: routes to
- Reference Index → Generation Options: routes to
- Reference Index → Tool Calling: routes to
- Reference Index → Streaming: routes to
- Reference Index → Prompt Attachments: routes to
- Reference Index → Transcript History: routes to
- Reference Index → Concurrency: routes to
- Reference Index → Errors And Fallbacks: routes to
- Reference Index → Performance: routes to
- Reference Index → Prompting Techniques: routes to
- Reference Index → Dynamic Profiles: routes to
- Reference Index → OS 27 Changes: routes to