apple-docs
Search, browse and read Apple developer documentation from the terminal. Query APIs, frameworks, symbols, sample code, and documentation updates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search, browse and read Apple developer documentation from the terminal. Query APIs, frameworks, symbols, sample code, and documentation updates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | apple-docs |
| description | Search, browse and read Apple developer documentation from the terminal. Query APIs, frameworks, symbols, sample code, and documentation updates. |
CLI for querying Apple Developer Documentation. Searches docs, reads full API pages, lists frameworks, browses symbols, and tracks documentation updates — all from the terminal.
apple-docs --schema — view the full typed command spec at once.
# Search documentation
apple-docs search <query> [--type all|documentation|sample] [--limit 50]
# Read a full documentation page
apple-docs doc <url> [--related] [--references] [--similar] [--platform]
# List all Apple frameworks and technologies
apple-docs technologies [--category "App Frameworks"] [--language swift|occ] [--no-beta] [--limit 200]
# Search symbols within a framework
apple-docs symbols <framework> [--type class|struct|enum|protocol|method|property|func|...] [--pattern "*View"] [--language swift|occ] [--limit 50]
# Get latest documentation updates
apple-docs updates [--category all|wwdc|technology|release-notes] [--technology SwiftUI] [--year 2025] [--search "..."] [--limit 50]
# Browse sample code projects
apple-docs samples [--framework SwiftUI] [--search "camera"] [--beta include|exclude|only] [--limit 50]
Search for a topic:
apple-docs search "navigation stack"
Read the full documentation page from the URL in search results:
apple-docs doc https://developer.apple.com/documentation/swiftui/navigationstack --related --platform
List symbols in a framework:
apple-docs symbols swiftui --type protocol --pattern "*Style"
Read a specific symbol's page:
apple-docs doc https://developer.apple.com/documentation/swiftui/buttonstyle
# Latest documentation updates
apple-docs updates --category wwdc --year 2025
# What's new in a specific framework
apple-docs updates --technology SwiftUI
# New sample code
apple-docs samples --framework RealityKit --beta only
doc --related includes "See Also" and relationship sections — useful for discovering related APIs.doc --platform shows platform availability (iOS, macOS, visionOS, etc.) with version numbers.symbols --pattern supports wildcards: "*Controller", "UI*", "*View*".technologies --language occ filters Objective-C only frameworks.mq or other tools as needed.If apple-docs is not found: bun install -g github:ethan-huo/apple-docs
No authentication required — all data comes from Apple's public documentation API.