What problem does it solve?
A strict protocol for using Context7 tools to fetch accurate, up-to-date documentation without hallucinating library IDs.
This Skill enforces a two-step process (resolve-library-id → get-library-docs) to ensure verified canonical IDs are used for all documentation lookups.
Core Features & Use Cases
- Two‑Step Handshake: Always resolve the canonical ID before fetching docs.
- Pagination-Aware: Automatically paginate through results to find complete, relevant information.
- Mode Selection: Support for code-oriented answers (
mode="code") and information-oriented explanations (mode="info").
- Transparency: Clear reporting of each step (resolution, fetch, and result).
- Use Case: A developer asks for API references for a library; the agent resolves the canonical ID and retrieves precise docs with code examples.
Quick Start
Resolve the canonical library ID for a library (e.g., "FastAPI"), then fetch documentation with a specific topic and mode. Example: resolve-library-id(libraryName="FastAPI") → get-library-docs(context7CompatibleLibraryID="/tiangolo/fastapi", topic="dependency injection", mode="code", page=1).