.claude/skills/apple-docs-developer/SKILL.md
# Apple Documentation Lookup Smart router to Apple Developer documentation using the `sosumi` CLI. ## When Auto-Activated - Looking up Apple framework APIs (SwiftUI, UIKit, Foundation, Combine, etc.) - Checking method signatures, availability, or deprecation status - Exploring new iOS/macOS APIs (WWDC sessions, new frameworks) - Verifying Swift standard library behavior - Answering "how does X work in SwiftUI/UIKit?" questions ## Tool: sosumi CLI Installed globally via `npm install -g @nshi
npx skillsauth add anyproto/anytype-swift .claude/skills/apple-docs-developerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Smart router to Apple Developer documentation using the sosumi CLI.
Installed globally via npm install -g @nshipster/sosumi.
Fetches Apple Developer documentation and WWDC video transcripts as LLM-readable Markdown.
sosumi search "query" [--json]
--json for structured output when you need to pick from resultssosumi fetch <url-or-path>
sosumi fetch /documentation/swiftui/scrollviewsosumi fetch https://developer.apple.com/documentation/swift/arraysosumi fetch /videos/play/wwdc2024/10133Search first when you don't know the exact path:
sosumi search "ScrollViewReader" --json
Fetch the result for full details:
sosumi fetch /documentation/swiftui/scrollviewreader
Apply to implementation using project patterns from IOS_DEVELOPMENT_GUIDE.md
| Scenario | Action |
|----------|--------|
| Need API signature/params | sosumi fetch /documentation/framework/type |
| Check availability (iOS version) | sosumi fetch → look at "Available on" |
| Explore new API options | sosumi search "topic" --json → pick → fetch |
| WWDC session reference | sosumi fetch /videos/play/wwdcYEAR/ID |
| Verify deprecation | sosumi fetch → check for deprecation notices |
development
Smart router to testing patterns and practices. Use when writing unit tests, creating mocks, testing edge cases, or working with Swift Testing and XCTest frameworks.
development
Audit and improve SwiftUI runtime performance through code review and Instruments guidance. Use for diagnosing slow rendering, janky scrolling, excessive view updates, or layout thrash in SwiftUI apps.
development
SwiftUI view structure, composition, and best practices. Use when refactoring SwiftUI views, organizing view files, or extracting subviews.
development
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.