Context7 Library Docs
Workflow
- •Resolve ID:
resolve-library-id(query: "library-name"). - •Query:
query-docs(libraryId: "id", query: "users question").
Best Practices
- •Be Specific: Include the library version if known.
- •Limit Calls: Don't spam queries. 1-2 calls usually suffice.
- •Synthesize: Combine the docs with the project's existing code style.
Supported Libraries (Examples)
- •
tailwindcss - •
svelte/sveltekit - •
vitest - •
playwright