Context7 Docs

Lookup up-to-date library docs via Context7 MCP (resolve-library-id / get-library-docs).

eanzhao 2e11abf 670 B Updated

File contents

When to use

  • User asks "how to use X" and you need up-to-date official docs/snippets.

Procedure

  1. If tools resolve-library-id / get-library-docs are not available, tell the user to configure Context7 MCP.
  2. Call resolve-library-id with libraryName (from the user query).
  3. Choose the best match and call get-library-docs with:
    • context7CompatibleLibraryID
    • mode: use code for APIs/examples, info for conceptual overview
    • optional topic to narrow down
  4. Answer the user and quote key snippets.

eanzhao/aevatar-agent-framework/tree/main/examples/SkillsMCPUnifiedDemo/agent_skills/context7-docs commit 2e11abfdb6

Frequently asked questions

npx skillmds@latest add eanzhao/context7-docs