Was ist foundation-models-on-device?
Apple FoundationModels-Framework für LLM auf dem Gerät – Textgenerierung, geführte Generierung mit @Generable, Tool-Aufruf und Snapshot-Streaming in iOS 26+. Quelle: affaan-m/everything-claude-code.
Apple FoundationModels-Framework für LLM auf dem Gerät – Textgenerierung, geführte Generierung mit @Generable, Tool-Aufruf und Snapshot-Streaming in iOS 26+.
Installieren Sie den KI-Skill foundation-models-on-device schnell in Ihrer Entwicklungsumgebung über die Kommandozeile
Quelle: affaan-m/everything-claude-code.
Patterns for integrating Apple's on-device language model into apps using the FoundationModels framework. Covers text generation, structured output with @Generable, custom tool calling, and snapshot streaming — all running on-device for privacy and offline support.
Stream structured responses for real-time UI with PartiallyGenerated types:
| On-device execution | Privacy — no data leaves the device; works offline | | 4,096 token limit | On-device model constraint; chunk large data across sessions | | Snapshot streaming (not deltas) | Structured output friendly; each snapshot is a complete partial state |
Apple FoundationModels-Framework für LLM auf dem Gerät – Textgenerierung, geführte Generierung mit @Generable, Tool-Aufruf und Snapshot-Streaming in iOS 26+. Quelle: affaan-m/everything-claude-code.
Stabile Felder und Befehle für KI/Such-Zitate.
npx skills add https://github.com/affaan-m/everything-claude-code --skill foundation-models-on-deviceApple FoundationModels-Framework für LLM auf dem Gerät – Textgenerierung, geführte Generierung mit @Generable, Tool-Aufruf und Snapshot-Streaming in iOS 26+. Quelle: affaan-m/everything-claude-code.
Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/affaan-m/everything-claude-code --skill foundation-models-on-device Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw
https://github.com/affaan-m/everything-claude-code