docs/zh-CN/skills/documentation-lookup/SKILL.md
通过 Context7 MCP 使用最新的库和框架文档,而非训练数据。当用户提出设置问题、API参考、代码示例或命名框架(例如 React、Next.js、Prisma)时激活。
npx skillsauth add niloykumarbarman/EVERYTHING-CLAUDE-CODE documentation-lookupInstall 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.
当用户询问库、框架或 API 时,通过 Context7 MCP(工具 resolve-library-id 和 query-docs)获取最新文档,而非依赖训练数据。
/vercel/next.js)。当用户出现以下情况时激活:
当请求依赖于库、框架或 API 的准确、最新行为时,请使用此技能。适用于配置了 Context7 MCP 的所有环境(例如 Claude Code、Cursor、Codex)。
调用 resolve-library-id MCP 工具,参数包括:
Next.js、Prisma、Supabase)。在查询文档之前,必须获取 Context7 兼容的库 ID(格式为 /org/project 或 /org/project/version)。如果没有从此步骤获得有效的库 ID,请勿调用 query-docs。
从解析结果中,根据以下原则选择一个结果:
/org/project/v1.2.0)。调用 query-docs MCP 工具,参数包括:
/vercel/next.js)。限制:每个问题调用 query-docs(或 resolve-library-id)的次数不要超过 3 次。如果 3 次调用后答案仍不明确,请说明不确定性并使用您掌握的最佳信息,而不是猜测。
libraryName: "Next.js"、query: "How do I set up Next.js middleware?" 调用 resolve-library-id。/vercel/next.js)。libraryId: "/vercel/next.js"、query: "How do I set up Next.js middleware?" 调用 query-docs。middleware.ts 示例。libraryName: "Prisma"、query: "How do I query with relations?" 调用 resolve-library-id。/prisma/prisma)。libraryId 和查询调用 query-docs。include 或 select)并附上文档中的简短代码片段。libraryName: "Supabase"、query: "What are the auth methods?" 调用 resolve-library-id。tools
惯用的Kotlin模式、最佳实践和约定,用于构建健壮、高效且可维护的Kotlin应用程序,包括协程、空安全和DSL构建器。
development
Ktor 服务器模式,包括路由 DSL、插件、身份验证、Koin DI、kotlinx.serialization、WebSockets 和 testApplication 测试。
data-ai
JetBrains Exposed ORM 模式,包括 DSL 查询、DAO 模式、事务、HikariCP 连接池、Flyway 迁移和仓库模式。
tools
Kotlin协程与Flow在Android和KMP中的模式——结构化并发、Flow操作符、StateFlow、错误处理和测试。