sosumi
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSosumi Skill
Sosumi技能
Use this skill to reliably fetch Apple docs as Markdown when coding agents need precise API details.
当编码Agent需要精确的API详情时,可使用该技能可靠地将Apple文档抓取为Markdown格式。
When to Use
使用场景
Use Sosumi when the request involves any of the following:
- Apple platform APIs (,
Swift,SwiftUI,UIKit,AppKit, etc.)Foundation - API signatures, availability, parameter behavior, or return semantics
- Human Interface Guidelines questions
- WWDC session transcript lookup
- External Swift-DocC documentation (for example, GitHub Pages or Swift Package Index hosts)
当请求涉及以下任意内容时可使用Sosumi:
- Apple平台API(、
Swift、SwiftUI、UIKit、AppKit等)Foundation - API签名、可用性、参数行为或返回语义
- 人机界面指南相关问题
- WWDC会议文字记录查询
- 外部Swift-DocC文档(例如GitHub Pages或Swift Package Index托管的文档)
Core Workflow
核心工作流
- If you already have a URL, replace the host with
developer.apple.comand keep the same path.sosumi.ai - If you do not know the exact page path, search first, then fetch the best match.
- Prefer specific symbol pages instead of broad top-level pages when answering implementation questions.
- 如果你已经有的URL,将域名替换为
developer.apple.com,保留原有路径即可。sosumi.ai - 如果你不知道确切的页面路径,先进行搜索,再抓取匹配度最高的页面。
- 回答实现相关问题时,优先选择具体的符号页面,而非宽泛的顶层页面。
HTTP Usage
HTTP使用方式
Replace with :
developer.apple.comsosumi.ai- Original:
https://developer.apple.com/documentation/swift/array - AI-readable:
https://sosumi.ai/documentation/swift/array
将替换为:
developer.apple.comsosumi.ai- 原链接:
https://developer.apple.com/documentation/swift/array - AI可读取链接:
https://sosumi.ai/documentation/swift/array
Content Types
内容类型
Apple API Reference
Apple API参考
- Pattern:
https://sosumi.ai/documentation/{framework}/{symbol} - Examples:
https://sosumi.ai/documentation/swift/arrayhttps://sosumi.ai/documentation/swiftui/view
- 格式:
https://sosumi.ai/documentation/{framework}/{symbol} - 示例:
https://sosumi.ai/documentation/swift/arrayhttps://sosumi.ai/documentation/swiftui/view
Human Interface Guidelines
人机界面指南
- Pattern:
https://sosumi.ai/design/human-interface-guidelines/{topic} - Examples:
https://sosumi.ai/design/human-interface-guidelineshttps://sosumi.ai/design/human-interface-guidelines/foundations/color
- 格式:
https://sosumi.ai/design/human-interface-guidelines/{topic} - 示例:
https://sosumi.ai/design/human-interface-guidelineshttps://sosumi.ai/design/human-interface-guidelines/foundations/color
Apple Video Transcripts
Apple视频文字记录
- Pattern:
https://sosumi.ai/videos/play/{collection}/{id} - Examples:
https://sosumi.ai/videos/play/wwdc2021/10133https://sosumi.ai/videos/play/meet-with-apple/208
- 格式:
https://sosumi.ai/videos/play/{collection}/{id} - 示例:
https://sosumi.ai/videos/play/wwdc2021/10133https://sosumi.ai/videos/play/meet-with-apple/208
External Swift-DocC
外部Swift-DocC
- Pattern:
https://sosumi.ai/external/{full-https-url} - Examples:
https://sosumi.ai/external/https://apple.github.io/swift-argument-parser/documentation/argumentparser/https://sosumi.ai/external/https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/1.23.1/documentation/composablearchitecture
- 格式:
https://sosumi.ai/external/{full-https-url} - 示例:
https://sosumi.ai/external/https://apple.github.io/swift-argument-parser/documentation/argumentparser/https://sosumi.ai/external/https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/1.23.1/documentation/composablearchitecture
MCP Tools Quick Reference
MCP工具快速参考
Use these when Sosumi is configured as an MCP server ():
https://sosumi.ai/mcp| Tool | Parameters | Use |
|---|---|---|
| | Search Apple documentation and return structured results |
| | Fetch Apple docs or HIG content by path as Markdown |
| | Fetch Apple video transcript by |
| | Fetch external Swift-DocC page by absolute HTTPS URL |
当Sosumi被配置为MCP服务器()时可使用以下工具:
https://sosumi.ai/mcp| 工具 | 参数 | 用途 |
|---|---|---|
| | 搜索Apple文档并返回结构化结果 |
| | 按路径抓取Apple文档或HIG内容,返回Markdown格式 |
| | 按 |
| | 按绝对HTTPS URL抓取外部Swift-DocC页面 |
Best Practices
最佳实践
- Search first if the exact path is unknown.
- Fetch targeted symbol pages for coding questions.
- Keep source links in answers so users can verify details quickly.
- Use Sosumi paths directly in responses whenever referencing Apple documentation pages.
- 如果不知道确切路径,请先搜索。
- 编码相关问题优先抓取针对性的符号页面。
- 在回答中保留源链接,方便用户快速验证详情。
- 引用Apple文档页面时,尽可能直接使用Sosumi路径。
Troubleshooting
故障排查
404 or sparse output
404或输出内容稀疏
- The path may be incorrect or too broad.
- Run a search query first, then fetch a specific result path.
- 路径可能不正确或过于宽泛。
- 先运行搜索查询,再抓取特定结果路径。
External page cannot be fetched
无法抓取外部页面
- The host may block access via or
robots.txtdirectives.X-Robots-Tag - Try another canonical page URL for the same symbol.
- 托管站点可能通过或
robots.txt指令禁止了访问。X-Robots-Tag - 尝试该符号对应的其他规范页面URL。