一键导入
query-docs
Retrieve documentation for any library, framework, and components. Use when deal with unfamiliar libraries or research a tool in depth.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Retrieve documentation for any library, framework, and components. Use when deal with unfamiliar libraries or research a tool in depth.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Standard workflow to implement a plan. Use only when user instructs or other skill references.
Manage interactive or persistent terminal sessions. Must use before running these sessions, like start a dev server, SSH, REPL, ...
Guidelines to help you write code smartly by using workers. Only use
Disciplined diagnosis loop for hard bugs and performance regressions. Use only when user instructs or other skill references.
Workflow to transform vague ideas into validated designs and stepped implementation plans. Use only when user instructs or other skill references.
Review a plan before implementation. Use only when user instructs or other skill references.
| name | query-docs |
| description | Retrieve documentation for any library, framework, and components. Use when deal with unfamiliar libraries or research a tool in depth. |
To find the Context7 library ID, use the search script:
bun path/to/skill/search-library.ts LIBRARY_NAME TOPIC
Parameters:
libraryName (required): The library name to search for (e.g., "react", "nextjs", "fastapi", "axios")query (required): A description of the topic for relevance ranking--type / -t (optional): json (default) for structured output, txt for readable summaryResponse fields:
id: Library identifier for the context endpoint (e.g., /facebook/react), which will be used in next steptitle: Human-readable library namedescription: Brief description of the librarytotalSnippets: Number of documentation snippets availableTo retrieve documentation, use the fetch script with library ID from step 1:
bun path/to/skill/fetch-docs.ts LIBRARY_ID TOPIC
Parameters:
libraryId (required): The library ID from search resultsquery (required): The specific topic to retrieve documentation for--type / -t (optional): Response format - txt (default) or jsonIf you don't find desired doc info in one invocation, you can repeat this step many times with varying queries. You can also retry step 1 for a more relevant library.
Next.js routing documentation:
# Find Next.js library ID
bun path/to/skill/search-library.ts nextjs routing
# Fetch app router documentation
bun path/to/skill/fetch-docs.ts /vercel/next.js "app router"
FastAPI dependency injection:
# Find FastAPI library ID
bun path/to/skill/search-library.ts fastapi dependencies
# Fetch dependency injection documentation
bun path/to/skill/fetch-docs.ts /fastapi/fastapi "dependency injection"
query parameter to improve relevance ranking