调用最新框架与库文档,快速回答配置、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?".…
为 Quarkus 项目执行发布前验证闭环,涵盖构建、测试、扫描与差异审查。
为大模型实时提供版本锁定的 AI/ML 文档,减少虚构 API 与过时信息。