首页/ AI 技能 / @skilllib/skill-2117939930272418122
Skill站外收录 @skilllib/skill-2117939930272418122

axiom-ios-ai

负责苹果智能功能的全流程支持,涵盖基础模型调用、结构化数据生成、工具协议集成、流式响应处理及动态模式适配,同时提供权威 API 参考与深度诊断能力,专为 iOS 26 设备端 AI 场景优化。

0.0 (0) 14 次安装 原作者 编程导航
收录于 2026-01-22
数据与分析 AI 技能

Skills.MD

# iOS Apple Intelligence Router **You MUST use this skill for ANY Apple Intelligence or Foundation Models work.** ## When to Use Use this router when: - Implementing Apple Intelligence features - Using Foundation Models - Working with LanguageModelSession - Generating structured output with @Generable - Debugging AI generation issues - iOS 26 on-device AI ## Routing Logic ### Foundation Models Work **Implementation patterns** → `/skill axiom-foundation-models` - LanguageModelSession basics - @Generable structured output - Tool protocol integration - Streaming with PartiallyGenerated - Dynamic schemas - 26 WWDC code examples **API reference** → `/skill axiom-foundation-models-ref` - Complete API documentation - All @Generable examples - Tool protocol patterns - Streaming generation patterns **Diagnostics** → `/skill axiom-foundation-models-diag` - AI response blocked - Generation slow - Guardrail violations - Context limits exceeded - Model unavailable ## Decision Tree ``` User asks about Apple Intelligence ├─ Implementing? → foundation-models ├─ Need API reference? → foundation-models-ref └─ Debugging issues? → foundation-models-diag ``` ## Critical Patterns **foundation-models**: - LanguageModelSession setup - @Generable for structured output - Tool protocol for function calling - Streaming generation - Dynamic schema evolution **foundation-models-diag**: - Blocked response handling - Performance optimization - Guardrail violations - Context management ## Example Invocations User: "How do I use Apple Intelligence to generate structured data?" → Invoke: `/skill axiom-foundation-models` User: "My AI generation is being blocked" → Invoke: `/skill axiom-foundation-models-diag` User: "Show me @Generable examples" → Invoke: `/skill axiom-foundation-models-ref` User: "Implement streaming AI generation" → Invoke: `/skill axiom-foundation-models`

评论 0

还没有评论,来抢沙发。