[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D7YSBY6753V5SA340BW4AM":3,"skill-same:01M6D7YSBY6753V5SA340BW4AM":127},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6D7YSBY6753V5SA340BW4AM","foundation-models-on-device",null,"苹果FoundationModels框架用于设备上的LLM——文本生成、使用@Generable进行引导生成、工具调用，以及在iOS 26+中的快照流。","oabdelmaksoud\u002FSuperClaw","oabdelmaksoud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50699149?v=4","01M6D5CVVN778ZCDP1WHS816SP","Omar Abdelmaksoud","01M6D5CW1RHNSKCJR85GJACBFT",2,"MIT","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Ffoundation-models-on-device\u002FSKILL.md",[],[19,20,21,22,23,24],"models","foundation","device","foundation models on device","生成","文本","2026-11-10 10:12:30",false,"---\nname: foundation-models-on-device\ndescription: 苹果FoundationModels框架用于设备上的LLM——文本生成、使用@Generable进行引导生成、工具调用，以及在iOS 26+中的快照流。\n---\n\n# FoundationModels：设备端 LLM（iOS 26）\n\n使用 FoundationModels 框架将苹果的设备端语言模型集成到应用中的模式。涵盖文本生成、使用 `@Generable` 的结构化输出、自定义工具调用以及快照流式传输——全部在设备端运行，以保护隐私并支持离线使用。\n\n## 何时启用\n\n* 使用 Apple Intelligence 在设备端构建 AI 功能\n* 无需依赖云端即可生成或总结文本\n* 从自然语言输入中提取结构化数据\n* 为特定领域的 AI 操作实现自定义工具调用\n* 流式传输结构化响应以实现实时 UI 更新\n* 需要保护隐私的 AI（数据不离开设备）\n\n## 核心模式 — 可用性检查\n\n在创建会话之前，始终检查模型可用性：\n\n```swift\nstruct GenerativeView: View {\n    private var model = SystemLanguageModel.default\n\n    var body: some View {\n        switch model.availability {\n        case .available:\n            ContentView()\n        case .unavailable(.deviceNotEligible):\n            Text(\"Device not eligible for Apple Intelligence\")\n        case .unavailable(.appleIntelligenceNotEnabled):\n            Text(\"Please enable Apple Intelligence in Settings\")\n        case .unavailable(.modelNotReady):\n            Text(\"Model is downloading or not ready\")\n        case .unavailable(let other):\n            Text(\"Model unavailable: \\(other)\")\n        }\n    }\n}\n```\n\n## 核心模式 — 基础会话\n\n```swift\n\u002F\u002F Single-turn: create a new session each time\nlet session = LanguageModelSession()\nlet response = try await session.respond(to: \"What's a good month to visit Paris?\")\nprint(response.content)\n\n\u002F\u002F Multi-turn: reuse session for conversation context\nlet session = LanguageModelSession(instructions: \"\"\"\n    You are a cooking assistant.\n    Provide recipe suggestions based on ingredients.\n    Keep suggestions brief and practical.\n    \"\"\")\n\nlet first = try await session.respond(to: \"I have chicken and rice\")\nlet followUp = try await session.respond(to: \"What about a vegetarian option?\")\n```\n\n指令的关键点：\n\n* 定义模型的角色（\"你是一位导师\"）\n* 指定要做什么（\"帮助提取日历事件\"）\n* 设置风格偏好（\"尽可能简短地回答\"）\n* 添加安全措施（\"对于危险请求，回复'我无法提供帮助'\"）\n\n## 核心模式 — 使用 @Generable 进行引导式生成\n\n生成结构化的 Swift 类型，而不是原始字符串：\n\n### 1. 定义可生成类型\n\n```swift\n@Generable(description: \"Basic profile information about a cat\")\nstruct CatProfile {\n    var name: String\n\n    @Guide(description: \"The age of the cat\", .range(0...20))\n    var age: Int\n\n    @Guide(description: \"A one sentence profile about the cat's personality\")\n    var profile: String\n}\n```\n\n### 2. 请求结构化输出\n\n```swift\nlet response = try await session.respond(\n    to: \"Generate a cute rescue cat\",\n    generating: CatProfile.self\n)\n\n\u002F\u002F Access structured fields directly\nprint(\"Name: \\(response.content.name)\")\nprint(\"Age: \\(response.content.age)\")\nprint(\"Profile: \\(response.content.profile)\")\n```\n\n### 支持的 @Guide 约束\n\n* `.range(0...20)` — 数值范围\n* `.count(3)` — 数组元素数量\n* `description:` — 生成的语义引导\n\n## 核心模式 — 工具调用\n\n让模型调用自定义代码以执行特定领域的任务：\n\n### 1. 定义工具\n\n```swift\nstruct RecipeSearchTool: Tool {\n    let name = \"recipe_search\"\n    let description = \"Search for recipes matching a given term and return a list of results.\"\n\n    @Generable\n    struct Arguments {\n        var searchTerm: String\n        var numberOfResults: Int\n    }\n\n    func call(arguments: Arguments) async throws -> ToolOutput {\n        let recipes = await searchRecipes(\n            term: arguments.searchTerm,\n            limit: arguments.numberOfResults\n        )\n        return .string(recipes.map { \"- \\($0.name): \\($0.description)\" }.joined(separator: \"\\n\"))\n    }\n}\n```\n\n### 2. 创建带工具的会话\n\n```swift\nlet session = LanguageModelSession(tools: [RecipeSearchTool()])\nlet response = try await session.respond(to: \"Find me some pasta recipes\")\n```\n\n### 3. 处理工具错误\n\n```swift\ndo {\n    let answer = try await session.respond(to: \"Find a recipe for tomato soup.\")\n} catch let error as LanguageModelSession.ToolCallError {\n    print(error.tool.name)\n    if case .databaseIsEmpty = error.underlyingError as? RecipeSearchToolError {\n        \u002F\u002F Handle specific tool error\n    }\n}\n```\n\n## 核心模式 — 快照流式传输\n\n使用 `PartiallyGenerated` 类型为实时 UI 流式传输结构化响应：\n\n```swift\n@Generable\nstruct TripIdeas {\n    @Guide(description: \"Ideas for upcoming trips\")\n    var ideas: [String]\n}\n\nlet stream = session.streamResponse(\n    to: \"What are some exciting trip ideas?\",\n    generating: TripIdeas.self\n)\n\nfor try await partial in stream {\n    \u002F\u002F partial: TripIdeas.PartiallyGenerated (all properties Optional)\n    print(partial)\n}\n```\n\n### SwiftUI 集成\n\n```swift\n@State private var partialResult: TripIdeas.PartiallyGenerated?\n@State private var errorMessage: String?\n\nvar body: some View {\n    List {\n        ForEach(partialResult?.ideas ?? [], id: \\.self) { idea in\n            Text(idea)\n        }\n    }\n    .overlay {\n        if let errorMessage { Text(errorMessage).foregroundStyle(.red) }\n    }\n    .task {\n        do {\n            let stream = session.streamResponse(to: prompt, generating: TripIdeas.self)\n            for try await partial in stream {\n                partialResult = partial\n            }\n        } catch {\n            errorMessage = error.localizedDescription\n        }\n    }\n}\n```\n\n## 关键设计决策\n\n| 决策 | 理由 |\n|----------|-----------|\n| 设备端执行 | 隐私性——数据不离开设备；支持离线工作 |\n| 4,096 个令牌限制 | 设备端模型约束；跨会话分块处理大数据 |\n| 快照流式传输（非增量） | 对结构化输出友好；每个快照都是一个完整的部分状态 |\n| `@Generable` 宏 | 为结构化生成提供编译时安全性；自动生成 `PartiallyGenerated` 类型 |\n| 每个会话单次请求 | `isResponding` 防止并发请求；如有需要，创建多个会话 |\n| `response.content`（而非 `.output`） | 正确的 API——始终通过 `.content` 属性访问结果 |\n\n## 最佳实践\n\n* 在创建会话之前**始终检查 `model.availability`**——处理所有不可用的情况\n* **使用 `instructions`** 来引导模型行为——它们的优先级高于提示词\n* 在发送新请求之前**检查 `isResponding`**——会话一次处理一个请求\n* 通过 `response.content` **访问结果**——而不是 `.output`\n* **将大型输入分块处理**——4,096 个令牌的限制适用于指令、提示词和输出的总和\n* 对于结构化输出**使用 `@Generable`**——比解析原始字符串提供更强的保证\n* **使用 `GenerationOptions(temperature:)`** 来调整创造力（值越高越有创意）\n* **使用 Instruments 进行监控**——使用 Xcode Instruments 来分析请求性能\n\n## 应避免的反模式\n\n* 未先检查 `model.availability` 就创建会话\n* 发送超过 4,096 个令牌上下文窗口的输入\n* 尝试在单个会话上进行并发请求\n* 使用 `.output` 而不是 `.content` 来访问响应数据\n* 当 `@Generable` 结构化输出可行时，却去解析原始字符串响应\n* 在单个提示词中构建复杂的多步逻辑——将其拆分为多个聚焦的提示词\n* 假设模型始终可用——设备的资格和设置各不相同\n\n## 何时使用\n\n* 为注重隐私的应用进行设备端文本生成\n* 从用户输入（表单、自然语言命令）中提取结构化数据\n* 必须离线工作的 AI 辅助功能\n* 逐步显示生成内容的流式 UI\n* 通过工具调用（搜索、计算、查找）执行特定领域的 AI 操作\n","# FoundationModels：设备端 LLM（iOS 26）\n\n使用 FoundationModels 框架将苹果的设备端语言模型集成到应用中的模式。涵盖文本生成、使用 `@Generable` 的结构化输出、自定义工具调用以及快照流式传输——全部在设备端运行，以保护隐私并支持离线使用。\n\n## 何时启用\n\n* 使用 Apple Intelligence 在设备端构建 AI 功能\n* 无需依赖云端即可生成或总结文本\n* 从自然语言输入中提取结构化数据\n* 为特定领域的 AI 操作实现自定义工具调用\n* 流式传输结构化响应以实现实时 UI 更新\n* 需要保护隐私的 AI（数据不离开设备）\n\n## 核心模式 — 可用性检查\n\n在创建会话之前，始终检查模型可用性：\n\n```swift\nstruct GenerativeView: View {\n    private var model = SystemLanguageModel.default\n\n    var body: some View {\n        switch model.availability {\n        case .available:\n            ContentView()\n        case .unavailable(.deviceNotEligible):\n            Text(\"Device not eligible for Apple Intelligence\")\n        case .unavailable(.appleIntelligenceNotEnabled):\n            Text(\"Please enable Apple Intelligence in Settings\")\n        case .unavailable(.modelNotReady):\n            Text(\"Model is downloading or not ready\")\n        case .unavailable(let other):\n            Text(\"Model unavailable: \\(other)\")\n        }\n    }\n}\n```\n\n## 核心模式 — 基础会话\n\n```swift\n\u002F\u002F Single-turn: create a new session each time\nlet session = LanguageModelSession()\nlet response = try await session.respond(to: \"What's a good month to visit Paris?\")\nprint(response.content)\n\n\u002F\u002F Multi-turn: reuse session for conversation context\nlet session = LanguageModelSession(instructions: \"\"\"\n    You are a cooking assistant.\n    Provide recipe suggestions based on ingredients.\n    Keep suggestions brief and practical.\n    \"\"\")\n\nlet first = try await session.respond(to: \"I have chicken and rice\")\nlet followUp = try await session.respond(to: \"What about a vegetarian option?\")\n```\n\n指令的关键点：\n\n* 定义模型的角色（\"你是一位导师\"）\n* 指定要做什么（\"帮助提取日历事件\"）\n* 设置风格偏好（\"尽可能简短地回答\"）\n* 添加安全措施（\"对于危险请求，回复'我无法提供帮助'\"）\n\n## 核心模式 — 使用 @Generable 进行引导式生成\n\n生成结构化的 Swift 类型，而不是原始字符串：\n\n### 1. 定义可生成类型\n\n```swift\n@Generable(description: \"Basic profile information about a cat\")\nstruct CatProfile {\n    var name: String\n\n    @Guide(description: \"The age of the cat\", .range(0...20))\n    var age: Int\n\n    @Guide(description: \"A one sentence profile about the cat's personality\")\n    var profile: String\n}\n```\n\n### 2. 请求结构化输出\n\n```swift\nlet response = try await session.respond(\n    to: \"Generate a cute rescue cat\",\n    generating: CatProfile.self\n)\n\n\u002F\u002F Access structured fields directly\nprint(\"Name: \\(response.content.name)\")\nprint(\"Age: \\(response.content.age)\")\nprint(\"Profile: \\(response.content.profile)\")\n```\n\n### 支持的 @Guide 约束\n\n* `.range(0...20)` — 数值范围\n* `.count(3)` — 数组元素数量\n* `description:` — 生成的语义引导\n\n## 核心模式 — 工具调用\n\n让模型调用自定义代码以执行特定领域的任务：\n\n### 1. 定义工具\n\n```swift\nstruct RecipeSearchTool: Tool {\n    let name = \"recipe_search\"\n    let description = \"Search for recipes matching a given term and return a list of results.\"\n\n    @Generable\n    struct Arguments {\n        var searchTerm: String\n        var numberOfResults: Int\n    }\n\n    func call(arguments: Arguments) async throws -> ToolOutput {\n        let recipes = await searchRecipes(\n            term: arguments.searchTerm,\n            limit: arguments.numberOfResults\n        )\n        return .string(recipes.map { \"- \\($0.name): \\($0.description)\" }.joined(separator: \"\\n\"))\n    }\n}\n```\n\n### 2. 创建带工具的会话\n\n```swift\nlet session = LanguageModelSession(tools: [RecipeSearchTool()])\nlet response = try await session.respond(to: \"Find me some pasta recipes\")\n```\n\n### 3. 处理工具错误\n\n```swift\ndo {\n    let answer = try await session.respond(to: \"Find a recipe for tomato soup.\")\n} catch let error as LanguageModelSession.ToolCallError {\n    print(error.tool.name)\n    if case .databaseIsEmpty = error.underlyingError as? RecipeSearchToolError {\n        \u002F\u002F Handle specific tool error\n    }\n}\n```\n\n## 核心模式 — 快照流式传输\n\n使用 `PartiallyGenerated` 类型为实时 UI 流式传输结构化响应：\n\n```swift\n@Generable\nstruct TripIdeas {\n    @Guide(description: \"Ideas for upcoming trips\")\n    var ideas: [String]\n}\n\nlet stream = session.streamResponse(\n    to: \"What are some exciting trip ideas?\",\n    generating: TripIdeas.self\n)\n\nfor try await partial in stream {\n    \u002F\u002F partial: TripIdeas.PartiallyGenerated (all properties Optional)\n    print(partial)\n}\n```\n\n### SwiftUI 集成\n\n```swift\n@State private var partialResult: TripIdeas.PartiallyGenerated?\n@State private var errorMessage: String?\n\nvar body: some View {\n    List {\n        ForEach(partialResult?.ideas ?? [], id: \\.self) { idea in\n            Text(idea)\n        }\n    }\n    .overlay {\n        if let errorMessage { Text(errorMessage).foregroundStyle(.red) }\n    }\n    .task {\n        do {\n            let stream = session.streamResponse(to: prompt, generating: TripIdeas.self)\n            for try await partial in stream {\n                partialResult = partial\n            }\n        } catch {\n            errorMessage = error.localizedDescription\n        }\n    }\n}\n```\n\n## 关键设计决策\n\n| 决策 | 理由 |\n|----------|-----------|\n| 设备端执行 | 隐私性——数据不离开设备；支持离线工作 |\n| 4,096 个令牌限制 | 设备端模型约束；跨会话分块处理大数据 |\n| 快照流式传输（非增量） | 对结构化输出友好；每个快照都是一个完整的部分状态 |\n| `@Generable` 宏 | 为结构化生成提供编译时安全性；自动生成 `PartiallyGenerated` 类型 |\n| 每个会话单次请求 | `isResponding` 防止并发请求；如有需要，创建多个会话 |\n| `response.content`（而非 `.output`） | 正确的 API——始终通过 `.content` 属性访问结果 |\n\n## 最佳实践\n\n* 在创建会话之前**始终检查 `model.availability`**——处理所有不可用的情况\n* **使用 `instructions`** 来引导模型行为——它们的优先级高于提示词\n* 在发送新请求之前**检查 `isResponding`**——会话一次处理一个请求\n* 通过 `response.content` **访问结果**——而不是 `.output`\n* **将大型输入分块处理**——4,096 个令牌的限制适用于指令、提示词和输出的总和\n* 对于结构化输出**使用 `@Generable`**——比解析原始字符串提供更强的保证\n* **使用 `GenerationOptions(temperature:)`** 来调整创造力（值越高越有创意）\n* **使用 Instruments 进行监控**——使用 Xcode Instruments 来分析请求性能\n\n## 应避免的反模式\n\n* 未先检查 `model.availability` 就创建会话\n* 发送超过 4,096 个令牌上下文窗口的输入\n* 尝试在单个会话上进行并发请求\n* 使用 `.output` 而不是 `.content` 来访问响应数据\n* 当 `@Generable` 结构化输出可行时，却去解析原始字符串响应\n* 在单个提示词中构建复杂的多步逻辑——将其拆分为多个聚焦的提示词\n* 假设模型始终可用——设备的资格和设置各不相同\n\n## 何时使用\n\n* 为注重隐私的应用进行设备端文本生成\n* 从用户输入（表单、自然语言命令）中提取结构化数据\n* 必须离线工作的 AI 辅助功能\n* 逐步显示生成内容的流式 UI\n* 通过工具调用（搜索、计算、查找）执行特定领域的 AI 操作\n",{"name":5,"description":7},"main","7b610356e36623652299fa2acb477ff821b1d920","upstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Ffoundation-models-on-device",0,"https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fo-abdelmaksoud\u002F","Full-Stack Engineer | AI Systems Architect | Building autonomous multi-agent systems","2026-03-08 21:12:53",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add oabdelmaksoud\u002FSuperClaw --skill foundation-models-on-device",{"tool":45,"command":46},"bunx","bunx skills add oabdelmaksoud\u002FSuperClaw --skill foundation-models-on-device",{"tool":48,"command":49},"pnpm","pnpm dlx skills add oabdelmaksoud\u002FSuperClaw --skill foundation-models-on-device","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fdocs\u002Fzh-CN\u002Fskills\u002Ffoundation-models-on-device\u002FSKILL.md",true,[53,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Faccessibility.md","REFERENCE","参考文档",29765,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Faccessibility.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fapp-icons.md",20872,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fapp-icons.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fbranding.md",4757,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fbranding.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fcolor.md",45593,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fcolor.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fdark-mode.md",14225,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fdark-mode.md",{"path":76,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Ficons.md",29887,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Ficons.md",{"path":80,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fimages.md",17488,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fimages.md",{"path":84,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fimmersive-experiences.md",22356,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fimmersive-experiences.md",{"path":88,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Finclusion.md",19021,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Finclusion.md",{"path":92,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Flayout.md",38114,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Flayout.md",{"path":96,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fmaterials.md",24296,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fmaterials.md",{"path":100,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fmotion.md",11035,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fmotion.md",{"path":104,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fprivacy.md",27701,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fprivacy.md",{"path":108,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fright-to-left.md",30706,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fright-to-left.md",{"path":112,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fsf-symbols.md",35454,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fsf-symbols.md",{"path":116,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fspatial-layout.md",14794,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fspatial-layout.md",{"path":120,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":121,"sourceHtmlUrl":122},"references\u002Ftypography.md",50754,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Ftypography.md",{"path":124,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fwriting.md",12599,"https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fhig-foundations\u002Freferences\u002Fwriting.md",[128,144,158,178,204,222],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":25},"01M6D88QCPTBZVCRED0NZ1Y8K8","visa-doc-translate","Translate visa application documents (images) to English and create a bilingual PDF with original and translation","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fvisa-doc-translate\u002FSKILL.md",[],[135,136,137,138,139,140,141,142,143],"translate","doc","visa doc translate","translation","application","create","images","PDF","documents",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":25},"01M6D88NBM95T3TFM50CYYAP65","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[151,152,153,154,155,156,157],"verification","loop","verification loop","sessions","code","claude code sessions","system",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":25},"01M6D88JFZ2P996GVRHJNSZSTM","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[165,166,167,168,169,170,155,171,172,173,174,175,176,177],"tdd","workflow","tdd workflow","e2e tests","e2e","integration","development","use","test","refactoring","coverage","tests","writing",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":25},"01M6D88FTHRRSVJMXF2G7MQAK3","swiftui-patterns","SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS\u002FmacOS UI best practices.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswiftui-patterns\u002FSKILL.md",[],[185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203],"patterns","swiftui","swiftui patterns","architecture","macos","performance","state management","best practices","state","ui","Optimization","ios","architecture patterns","Composition","performance optimization","view","management","swiftui architecture","navigation",{"skillNo":205,"name":206,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":25},"01M6D88D527QTQT9DKHTRFN6EA","swift-protocol-di-testing","Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-protocol-di-testing\u002FSKILL.md",[],[211,212,213,214,155,215,216,217,218,157,219,220,221],"swift protocol di testing","protocol","swift","testing","protocols","file","network","injection","dependency","swift testing","dependency injection",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":25},"01M6D88AJW8H2QNWSW5ZY82R43","swift-concurrency-6-2","Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-concurrency-6-2\u002FSKILL.md",[],[229,230,213,231,232,30],"concurrency","swift concurrency","swift concurrency 6 2","default"]