# context7-docs > Use Context7 for up-to-date library documentation lookup. Invoke when you need current API references or examples. - Author: erik1908 - Repository: quadero-com/multi-agent-dev-system - Version: 20260131120238 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/quadero-com/multi-agent-dev-system - Web: https://mule.run/skillshub/@@quadero-com/multi-agent-dev-system~context7-docs:20260131120238 --- --- name: context7-docs description: Use Context7 for up-to-date library documentation lookup. Invoke when you need current API references or examples. --- # Context7 Documentation Lookup Context7 provides real-time, up-to-date documentation for libraries and frameworks. Use this when official docs are needed. ## When to Use - Checking current API signatures - Finding usage examples - Verifying breaking changes between versions - Looking up configuration options - Understanding new features ## Query Patterns ### Library Lookup ``` Look up the latest React hooks documentation using Context7. Use Context7 to find Next.js 14 App Router documentation. Query Context7 for Prisma schema syntax and best practices. ``` ### Specific API ``` Use Context7 to find the useQuery hook API from TanStack Query v5. Look up the zod.object() validation options in Context7. ``` ### Version-Specific ``` Use Context7 to check if useState callback syntax changed in React 19. Query Context7 for TypeScript 5.4 new features. ``` ## Best Practices 1. **Be specific** - Include library name and version if relevant 2. **Ask for examples** - Request code samples with documentation 3. **Verify versions** - Check if docs match your installed version 4. **Cross-reference** - Compare with existing codebase patterns ## Common Libraries | Library | Use Case | |---------|----------| | React | UI components, hooks | | Next.js | Full-stack React framework | | TypeScript | Type system, config | | Prisma | Database ORM | | Zod | Schema validation | | TanStack Query | Data fetching | | Tailwind CSS | Styling | | Vitest | Testing | ## Integration Example ```typescript // Before implementing, verify current API // "Use Context7 to look up the Prisma findMany options for filtering and pagination" const users = await prisma.user.findMany({ where: { status: 'active', createdAt: { gte: lastMonth } }, orderBy: { createdAt: 'desc' }, take: 20, skip: page * 20, }); ``` ## Keeping Code Current When working on features: 1. Check current docs before implementing 2. Verify deprecated APIs are not used 3. Use recommended patterns from latest docs 4. Note any version-specific requirements