SKILL

documentation-lookup

通过 Context7 MCP 使用最新的库和框架文档,而非训练数据。适用于安装配置问题、API 参考、代码示例,或用户提到某个框架(如 React、Next.js、Prisma)时。

机器翻译
查看英文原文

Use up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).

适用对象:React / Next.js。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Documentation Lookup (Context7)
  • Core Concepts
  • When to use
  • How it works
  • Step 1: Resolve the Library ID
  • Step 2: Select the Best Match
  • Step 3: Fetch the Documentation
  • Step 4: Use the Documentation

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. Context7: MCP server that exposes live documentation; use it instead of training data for libraries and APIs. resolve-library-id: Returns Context7-compatible library IDs (e.g. /vercel/next.js) from a library name and query. query-docs: Fetches documentation and code snippets for a given library ID and question. Always call resolve-library-id first to get a valid library ID. Activate when the user: Asks setup or configuration questions (e.g. "How do I configure Next.js middleware?") Requests code that depends on a library ("Write a Prisma query for...") Needs API or reference information ("What are the Supabase auth methods?") Mentions specific frameworks or libraries (React, Vue, Svelte, Express, Tailwind, Prisma, Supabase, etc.) 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: libraryName: The library

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
affaan-m/ECC
源文件
.agents/skills/documentation-lookup/SKILL.md
固定版本
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:48.356Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。