context7-docs

Rufe aktuelle Dokumentation und Codebeispiele für jede Bibliothek, jedes Framework, SDK, CLI-Tool oder Cloud-Dienst ab. Verwende dies, wenn der Benutzer nach einem bestimmten…

npx skills add https://github.com/upstash/context7 --skill context7-docs

Context7 Documentation Lookup

Retrieve current documentation and code examples from Context7 using the resolve-library-id and query-docs tools that ship with this extension.

When to use

Reach for these tools whenever a question involves a specific library, framework, SDK, CLI tool, or cloud service. Examples:

  • "How do I configure caching in Next.js 16?"
  • "What's the syntax for Prisma's findMany with relations?"
  • "Show me a working Tailwind v4 install for a Vite app."
  • "How do I rate-limit with @upstash/ratelimit?"

Workflow

  1. Resolve the library ID. Call resolve-library-id with the library name and what to look up in the library's documentation. The tool returns matching libraries with their Context7 IDs (/org/project format), descriptions, snippet counts, and quality scores. Pick the best match — prioritize official sources, name match, and high benchmark scores.
  2. Query the docs. Call query-docs with the chosen library ID and what to look up in the library's documentation, scoped to a single concept — if the question spans multiple distinct concepts, make a separate call per concept with the same library ID, unless the question is about how the concepts interact. The tool returns documentation snippets and code examples.
  3. Answer. Cite the library ID you used and quote code examples verbatim when relevant.

If the user supplies a library ID in /org/project or /org/project/version format directly, skip step 1 and call query-docs immediately.

Constraints

  • Do not call either tool more than 3 times per question.
  • Do not pass API keys, passwords, credentials, personal data, or proprietary code as the query argument — it is sent to the Context7 API.
  • Authentication uses the CONTEXT7_API_KEY environment variable. Get a key at https://context7.com/dashboard if requests fail with an auth error.

Mehr Skills von upstash

redis-js
upstash
Arbeiten Sie mit dem Upstash Redis JavaScript/TypeScript SDK für serverlose Redis-Operationen. Verwenden Sie es für Caching, Sitzungsspeicher, Ratenbegrenzung, Bestenlisten, Volltext…
official
context7-mcp
upstash
Diese Fähigkeit sollte verwendet werden, wenn der Benutzer nach Bibliotheken, Frameworks, API-Referenzen fragt oder Codebeispiele benötigt. Aktiviert für Einrichtungsfragen, Code…
official
documentation-lookup
upstash
Ruft aktuelle Bibliotheksdokumentation und Codebeispiele ab, anstatt sich auf Trainingsdaten zu verlassen. Löst Bibliotheksnamen in Context7-Dokumentations-IDs auf und fragt dann nach Setup-, Konfigurations- und API-Referenzinformationen ab. Unterstützt wichtige Frameworks und Bibliotheken: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind und andere. Aktiviert automatisch bei Setup-Fragen, Code-Generierungsanfragen und frameworkspezifischen Anfragen. Gibt versionsbewusste Dokumentation und offiziellen Code zurück...
official
find-docs
upstash
Rufe aktuelle Dokumentation und Codebeispiele für jede Bibliothek mit der Context7 CLI ab.
official
upstash-workflow-js
upstash
Fähigkeiten für das Upstash Workflow TypeScript/JavaScript SDK, um Workflows zu definieren, auszulösen und zu verwalten. Verwenden Sie diese Fähigkeit, wenn ein Benutzer einen Workflow erstellen möchte…
official
docs
upstash
Ruft aktuelle Dokumentation und Codebeispiele von Context7 für jede Programmbibliothek oder jedes Framework ab und führt Abfragen durch. Verwenden Sie dies beim Schreiben von Code, der von … abhängt.
official
context7-cli
upstash
Verwende die ctx7 CLI, um Bibliotheksdokumentationen abzurufen, KI-Codierungsfähigkeiten zu verwalten und Context7 MCP zu konfigurieren. Aktiviere, wenn der Benutzer "ctx7" oder "context7" erwähnt,…
official
context7-docs-lookup
upstash
Nutze Context7, um aktuelle Bibliotheksdokumentationen abzurufen. Wird aktiviert, wenn der Benutzer nach Bibliotheken, Frameworks, API-Referenzen fragt oder Codebeispiele benötigt —…
official