The api-learn skill automates the process of gathering, cleaning, and storing official API documentation for any library or framework within your project workspace. By saving high-quality references in .claude/references/ and registering them in CLAUDE.md, it ensures Claude provides highly accurate code suggestions based on official sources rather than relying on potentially outdated training data. It features a multi-layered retrieval strategy including Xcode documentation for Apple frameworks, web searches, and specialized documentation providers like context7.
主要功能
01Multi-source documentation retrieval from web, Xcode, and context7
02Apple-specific framework support with DocumentationSearch integration
03Automatic version detection from project dependency files
04Knowledge Authority registration within CLAUDE.md for improved AI context
051 GitHub stars
06Centralized reference management with auto-generated index files
使用场景
01Quickly onboarding a new library like TanStack Query or Zod into an existing codebase
02Keeping documentation for Apple frameworks up-to-date with local Xcode documentation
03Ensuring Claude follows specific API patterns for libraries with complex or breaking version changes