Przejdź do treści
Biblioteka skilli
Programowanie · Research

context7

/context7

Pobiera aktualną dokumentację bibliotek, frameworków i komponentów przez API Context7, w tym przykłady kodu i weryfikację poprawnego użycia funkcji.

Licencja
MIT
Ostatnia zmiana repozytorium
19.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
8
Przestarzałość

Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pobiera aktualną dokumentację bibliotek, frameworków i komponentów przez API Context7, w tym przykłady kodu i weryfikację poprawnego użycia funkcji.

Oryginalny opis (EN)

Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentation for any programming library or framework, finding code examples for specific APIs or features, verifying correct usage of library functions, or obtaining current information about library APIs that may have changed since training.

Jak działa

  1. Overview
  2. Workflow
  3. Examples
  4. Tips
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 314 słów
Podgląd SKILL.md
---
name: context7
description: Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentation for any programming library or framework, finding code examples for specific APIs or features, verifying correct usage of library functions, or obtaining current information about library APIs that may have changed since training.
---

# Context7

## Overview

This skill enables retrieval of current documentation for software libraries and components by querying the Context7 API via curl. Use it instead of relying on potentially outdated training data.

## Workflow

### Step 1: Search for the Library

To find the Context7 library ID, query the search endpoint:

```bash
curl -s "https://context7.com/api/v2/libs/search?libraryName=LIBRARY_NAME&query=TOPIC" | jq '.results[0]'
```

**Parameters:**
- `libraryName` (required): The library name to search for (e.g., "react", "nextjs", "fastapi", "axios")
- `query` (required): A description of the topic for relevance ranking

**Response fields:**
- `id`: Library identifier for the context endpoint (e.g., `/websites/react_dev_reference`)
- `title`: Human-readable library name
- `description`: Brief description of the library
- `totalSnippets`: Number of documentation snippets available

### Step 2: Fetch Documentation

To retrieve documentation, use the library ID from step 1:

```bash
curl -s "https://context7.com/api/v2/context?libraryId=LIBRARY_ID&query=TOPIC&type=txt"
```

**Parameters:**
- `libraryId` (required): The library ID from search results
- `query` (required): The specific topic to retrieve documentation for
- `type` (optional): Response format - `json` (default) or `txt` (plain text, more readable)

## Examples

### React hooks documentation

```bash
# Find React library ID
curl -s "https://context7.com/api/v2/libs/search?libraryName=react&query=hooks" | jq '.results[0].id'
# Returns: "/websites/react_dev_reference"

# Fetch useState documentation
curl -s "https://context7.com/api/v2/context?libraryId=/websites/react_dev_reference&query=useState&type=txt"
```

### Next.js routing documentation

```bash
# Find Next.js library ID
curl -s "https://context7.com/api/v2/libs/search?libraryName=nextjs&query=routing" | jq '.results[0].id'

# Fetch app router documentation
curl -s "https://context7.com/api/v2/context?libraryId=/vercel/next.js&query=app+router&type=txt"
```

### FastAPI dependency injection

```bash
# Find FastAPI library ID
curl -s "https://context7.com/api/v2/libs/search?libraryName=fastapi&query=dependencies" | jq '.results[0].id'

# Fetch dependency injection documentation
curl -s "https://context7.com/api/v2/context?libraryId=/fastapi/fastapi&query=dependency+injection&type=txt"
```

## Tips

- Use `type=txt` for more readable output
- Use `jq` to filter and format JSON responses
- Be specific with the `query` parameter to improve relevance ranking
- If the first search result is not correct, check additional results in the array
- URL-encode query parameters containing spaces (use `+` or `%20`)
- No API key is required for basic usage (rate-limited)
Pliki w paczce (4)
  • README.md 3 KB
  • SKILL.md 3 KB
  • library-registry.md 9 KB
  • navigation.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · darrenhinde/OpenAgentsControl100MIT
TerminalSkills/skills100Apache-2.0
dreamlab-ai/agentbox100AGPL-3.0
alebgl77/claude-inc100MIT
julianobarbosa/claude-code-skills100MIT
arvindand/agent-skills100MIT
petbrains/mvp-builder100MIT
dirnbauer/webconsulting-skills100MIT
zocomputer/skills100MIT

Identyczna treść występuje jeszcze w 9 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 81926211e530 (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.
  • 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.
  • 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.
  • 100looking-up-docs
    Wyszukuje dokumentację bibliotek przez Context7, dostarczając aktualne, zależne od wersji opisy API i przykłady kodu.
  • 100find-docs
    Pobiera aktualną dokumentację, referencje API i przykłady kodu dla bibliotek, frameworków i usług, zamiast opierać się na pamięci.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.