发现和使用优秀的技能扩展
通过Context7 API获取最新的库文档。在以下情况主动使用:
(1)使用任何外部库(React、Next.js、Supabase等)时
(2)用户询问库API、模式或最佳实践时
(3)实现依赖第三方包的功能时
(4)调试特定于库的问题时
(5)需要超出训练数据截止日期的最新文档时
始终优先使用此方法,而不是猜测库API或使用过时的知识。
Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when:
(1) Working with ANY external library (React, Next.js, Supabase, etc.)
(2) User asks about library APIs, patterns, or best practices
(3) Implementing features that rely on third-party packages
(4) Debugging library-specific issues
(5) Need current documentation beyond training data cutoff
Always prefer this over guessing library APIs or using outdated knowledge.