context7
/context7
Wyszukuje dokumentację przez REST API Context7: aktualne API bibliotek, wzorce frameworków, wskazówki migracji i oficjalne przykłady dla React, Next.js, Prisma, Express, Vue, Angular, Svelte i pakietów npm oraz PyPI.
- Autor
- arvindand ↗
- Repozytorium
- agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 04.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/context7.py
Co robi i kiedy
Wyszukuje dokumentację przez REST API Context7: aktualne API bibliotek, wzorce frameworków, wskazówki migracji i oficjalne przykłady dla React, Next.js, Prisma, Express, Vue, Angular, Svelte i pakietów npm oraz PyPI.
Wyzwalacze z opisu
Oryginalny opis (EN)
Documentation lookup via Context7 REST API. Use when the user needs current library APIs, framework patterns, migration guidance, or official code examples for React, Next.js, Prisma, Express, Vue, Angular, Svelte, or other npm/PyPI packages. Use when the user says 'how do I use X library', 'what's the API for Y', or asks for official documentation. Use even when you think you know the answer — training data may not reflect recent releases.
Jak działa
- When to Use
- Core Workflow
- Decision Rules
- Output Rules
- Recovery
Podgląd SKILL.md
---
name: context7
description: "Documentation lookup via Context7 REST API. Use when the user needs current library APIs, framework patterns, migration guidance, or official code examples for React, Next.js, Prisma, Express, Vue, Angular, Svelte, or other npm/PyPI packages. Use when the user says 'how do I use X library', 'what's the API for Y', or asks for official documentation. Use even when you think you know the answer — training data may not reflect recent releases."
allowed-tools: Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/context7.py *)
license: MIT
compatibility: "Requires Python 3 and network access. Optional CONTEXT7_API_KEY for higher rate limits."
---
# Context7 Documentation Lookup
Use `${CLAUDE_SKILL_DIR}/scripts/context7.py` to fetch current library documentation without MCP tool-schema overhead.
This is an execution skill. Decide whether to search or fetch directly, run the script, then use the returned docs to answer. Keep the main flow lean and load [REFERENCES.md](REFERENCES.md) only when you need example commands, common library IDs, or troubleshooting details.
## When to Use
Activate when the user asks for:
- current library or framework APIs
- official code examples or implementation patterns
- version-specific docs or migration guidance
- third-party tool setup that depends on vendor docs
- documentation for libraries in npm, PyPI, or similar ecosystems
## Core Workflow
1. If you already know the library ID, skip search and call:
```bash
python3 ${CLAUDE_SKILL_DIR}/scripts/context7.py docs <library-id> [topic] [mode]
```
2. If the library ID is unclear, search first:
```bash
python3 ${CLAUDE_SKILL_DIR}/scripts/context7.py search "<query>"
```
3. Pick the best matching library ID, then fetch docs.
4. Use the returned docs to answer with version-aware guidance and cite the source URL when the script provides one.
## Decision Rules
- Search only when the library ID is unclear or ambiguous.
- Use `code` mode (default) for API references, function signatures, and implementation examples.
- Use `info` mode for conceptual guides, architecture, and migration-heavy questions.
- Use a focused topic first; broaden it if results are empty or off-target.
- For version-specific docs, append the full upstream tag to the library ID (for example `/vercel/next.js/v15.1.8`), or include the version in the topic. A bare major such as `/vercel/next.js/15` does not resolve.
If syntax is unclear, run:
```bash
python3 ${CLAUDE_SKILL_DIR}/scripts/context7.py --help
```
## Output Rules
- Prefer official patterns over generic recall when the docs provide a direct answer.
- Keep the answer tied to the user's requested library and version.
- Call out deprecations, caveats, or migration notes when the docs surface them.
- If the docs are incomplete, say so and fall back to the best available general knowledge instead of inventing specifics.
## Recovery
| Issue | Action |
|-------|--------|
| Library ID is unclear | Re-run search with an alternate name, org name, or broader query. |
| Results are empty or irrelevant | Broaden the topic, then retry with the other mode (`code` vs `info`). |
| User needs a specific version | Add the version to the library ID or mention it in the topic, then verify the returned docs match. |
| Rate limited | Tell the user about `CONTEXT7_API_KEY`, then use best-effort fallback guidance if needed. |
| Script usage is unclear | Run `python3 ${CLAUDE_SKILL_DIR}/scripts/context7.py --help`. |
| Script or network failure | Say live docs lookup failed and continue with clearly-labeled fallback knowledge. |
---
> **License:** MIT
> **See also:** [REFERENCES.md](REFERENCES.md)
Pliki w paczce (4)
- LICENSE 1 KB
- REFERENCES.md 2 KB
- SKILL.md 4 KB
- scripts/context7.py 8 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · arvindand/agent-skills | 100 | MIT |
| TerminalSkills/skills | 100 | Apache-2.0 |
| dreamlab-ai/agentbox | 100 | AGPL-3.0 |
| alebgl77/claude-inc | 100 | MIT |
| darrenhinde/OpenAgentsControl | 100 | MIT |
| julianobarbosa/claude-code-skills | 100 | MIT |
| petbrains/mvp-builder | 100 | MIT |
| dirnbauer/webconsulting-skills | 100 | MIT |
| zocomputer/skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 6d5461f90929 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100documentation-lookup
Wyszukuje aktualną dokumentację bibliotek, frameworków i API oraz przykłady kodu zgodne z wersją. - 100documentation-lookup
Pobiera aktualną dokumentację bibliotek i frameworków przez Context7 zamiast danych treningowych, przy pytaniach o konfigurację, API i przykłady. - 100documentation-lookup
Korzysta z aktualnej dokumentacji bibliotek i frameworków przez Context7 MCP zamiast z danych treningowych, przy pytaniach o konfigurację, referencje API i przykłady kodu, na przykład React, Next.js i Prisma. - 100find-docs
Wyszukuje aktualną dokumentację, referencje API i przykłady kodu dla bibliotek, frameworków i usług chmurowych. - 100typescript-docs
Generuje dokumentację TypeScript z JSDoc i TypeDoc, w tym API, ADR-y, przykłady kodu i wzorce dla NestJS, Express, React, Angular i Vue. - 100context7-auto-research
Automatycznie pobiera aktualną dokumentację bibliotek i frameworków dla Claude Code przez API Context7, na przykład dla React, Next.js czy Prisma.