调用最新框架与库文档,快速回答配置、API与代码示例问题
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "documentation-lookup" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/documentation-lookup/SKILL.md 2. 保存为 ~/.claude/skills/documentation-lookup/SKILL.md 3. 装好后重载技能,告诉我可以用了
请基于最新 React 文档说明 useEffect 的正确用法,包含依赖数组规则、常见误区,并给我一个函数组件示例。
返回基于最新 React 文档的说明、注意事项与可运行示例代码。
请参考最新 Next.js 文档,告诉我 App Router 中如何创建动态路由,并给出目录结构和页面示例。
给出最新路由实现方式、目录示意和对应代码示例。
根据最新 Prisma 文档,说明如何定义一对多关系并执行关联查询,附上 schema 和查询示例。
输出最新 Prisma 关系模型写法与关联查询示例。
When the user asks about libraries, frameworks, or APIs, fetch current documentation via the Context7 MCP (tools resolve-library-id and query-docs) instead of relying on training data.
/vercel/next.js) from a library name and query.Activate when the user:
Use this skill whenever the request depends on accurate, up-to-date behavior of a library, framework, or API. Applies across harnesses that have the Context7 MCP configured (e.g. Claude Code, Cursor, Codex).
Call the resolve-library-id MCP tool with:
Next.js, Prisma, Supabase).You must obtain a Context7-compatible library ID (format /org/project or /org/project/version) before querying docs. Do not call query-docs without a valid library ID from this step.
From the resolution results, choose one result using:
/org/project/v1.2.0).Call the query-docs MCP tool with:
/vercel/next.js).Limit: do not call query-docs (or resolve-library-id) more than 3 times per question. If the answer is unclear after 3 calls, state the uncertainty and use the best information you have rather than guessing.
libraryName: "Next.js", query: "How do I set up Next.js middleware?"./vercel/next.js) by name and benchmark score.libraryId: "/vercel/next.js", query: "How do I set up Next.js middleware?".middleware.ts example from the docs if relevant.libraryName: "Prisma", query: "How do I query with relations?"./prisma/prisma).libraryId and the query.include or select) with a short code snippet from the docs.libraryName: "Supabase", query: "What are the auth methods?".…
帮助开发者为 React 与 Next.js 交互界面实现无障碍设计与可用性优化。
统一管理多渠道通知流,完成路由去重、升级处理与收件箱收敛。
将本地 Hermes 工作流清理并转换为可公开复用的 ECC 技能与发布产物。
帮助生成或审查设计系统,检查视觉一致性并评审样式相关改动。
帮助团队快速制定项目规范示例,统一协作流程与文档标准
帮助开发者处理 Vite 配置、插件、构建优化与 SSR 等实战问题
帮助开发者解析库名并获取最新官方文档,快速辅助编码与查阅。
为任意 npm 包提供带类型、说明与示例的上下文化开发文档查询
帮助用户通过检索接口获取指定库的最新官方文档与参考信息。
为大模型实时获取并锁定版本的 AI/ML 文档与更新记录,减少虚构 API。
帮助用户统一管理技术文档,并用 AI 进行语义检索与多语言问答。
为 MCP 客户端提供最新 Next.js 16 文档查询与版本化示例参考。