context7-mcp
Was er macht
Dieser Skill lässt deinen Agenten vor einer Antwort die aktuelle Dokumentation für Softwarebibliotheken und Frameworks prüfen. Er ist für Entwickler gedacht, die genauen Code statt veralteter Beispiele wollen.
Wann du ihn nutzt
- ✓Wenn du deinen Agenten bittest, Code mit einer Bibliothek wie React, Next.js oder Prisma zu schreiben.
- ✓Wenn du eine Einrichtungs- oder Konfigurationsfrage zu einem Framework stellst.
- ✓Wenn du die genauen API-Methoden eines Werkzeugs brauchst, das du verwendest.
Link zum Skill
https://github.com/upstash/context7/blob/master/packages/opencode/skills/context7-mcp/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Zeig mir, wie ich einen Next.js-Proxy einrichte, und nutze dafür die neueste Dokumentation.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill findet zuerst die passende Bibliothek im Index von Context7 und holt dann die Dokumentation zu deiner Frage. Der Agent antwortet anhand dieser Dokumentation und nicht nur aus dem Gedächtnis.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
When to Use This Skill
Activate this skill when the user:
- Asks setup or configuration questions ("How do I configure a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
How to Fetch Documentation
Step 1: Resolve the Library ID
Call resolve-library-id with:
libraryName: The library name extracted from the user's questionquery: What to look up in the library's documentation (improves relevance ranking)
Step 2: Select the Best Match
From the resolution results, choose based on:
- Exact or closest name match to what the user asked for
- Higher benchmark scores indicate better documentation quality
- If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs
Step 3: Fetch the Documentation
Call query-docs with:
libraryId: The selected Context7 library ID (e.g.,/vercel/next.js)query: What to look up in the library's documentation, scoped to a single concept
If the user's question spans multiple distinct concepts (e.g. routing and auth and caching), make a separate query-docs call per concept with the same library ID, unless the question is about how the concepts interact — combined queries dilute ranking and return shallow results for each topic.
Step 4: Use the Documentation
Incorporate the fetched documentation into your response:
- Answer the user's question using current, accurate information
- Include relevant code examples from the docs
- Cite the library version when relevant
Guidelines
- Be specific: Describe what to look up in the library's documentation, but keep each query to a single concept
- One topic per query: Split multi-topic questions into separate
query-docscalls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact - Version awareness: When users mention versions ("Next.js 16", "React 19"), use version-specific library IDs if available from the resolution step
- Prefer official sources: When multiple matches exist, prefer official/primary packages over community forks
Häufige Fragen
Warum nicht auf das Gedächtnis des Agenten verlassen?
Bibliotheken ändern sich oft, das Gedächtnis kann also veraltet sein. Aktuelle Dokumentation hilft, alte Code-Beispiele zu vermeiden.
Kann er Dokumentation für eine bestimmte Version finden?
Ja. Nennst du eine Version wie React 19, bevorzugt der Skill versionsspezifische Dokumentation.
Funktioniert er mit vielen Werkzeugen?
Er funktioniert mit vielen Bibliotheken und Frameworks, etwa React, Vue, Next.js, Prisma und Supabase.
Details
Originalbeschreibung des Autors
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
repo: upstash/context7
Beliebtheit
- GitHub-Sterne
- 64k
- Platz im Ranking
- #3164
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
context7-docs
64kLässt deinen Agenten vor einer Antwort aktuelle Dokumentation und Code-Beispiele zu jeder Bibliothek, jedem Framework, jedem SDK oder Cloud-Dienst abrufen.
context7-cli
64kLässt deinen Agenten das Kommandozeilenwerkzeug ctx7 nutzen, um Bibliotheksdokumentation abzurufen und Context7 für deinen Code-Editor einzurichten.
find-docs
64kLässt deinen Agenten aktuelle Dokumentation, API-Referenzen und Code-Beispiele zu jedem Entwickler-Werkzeug, jeder Bibliothek oder jedem Cloud-Dienst nachschlagen.
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.