context7
Intelligent library documentation fetcher using Context7 MCP tools. Auto-activates when: writing code with external libraries, needing API docs, setting up…
от WenJunDuan★ 187 звёзд на GitHub
Установить context7 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Context7 Documentation Skill
Fetch real-time, version-specific library documentation before implementing code.
When to Use
This skill activates automatically when Claude detects:
- External library/framework usage (React, Next.js, Vue, FastAPI, etc.)
- API integration or documentation needs
- Framework setup or configuration
- Package-specific code examples
Workflow
Step 1: Resolve Library ID
Tool: mcp__context7__resolve-library-id
Input: { "libraryName": "<library-name>" }
Output: Context7-compatible library ID
Step 2: Fetch Documentation
Tool: mcp__context7__get-library-docs
Input: {
"context7CompatibleLibraryID": "<resolved-id>",
"topic": "<optional-topic-filter>",
"tokens": 5000
}
Step 3: Apply Documentation
- Base all code suggestions on retrieved documentation
- Use current API patterns, not training data
Direct Library ID Syntax
Users can skip resolution with explicit IDs:
"use library /vercel/next.js for implementing app router"
"use library /supabase/supabase for authentication"
Tool Limits
- Max 3
resolve-library-idcalls per question - Max 3
get-library-docscalls per question
Common Libraries
| Library | Context7 ID |
|---|---|
| Next.js | /vercel/next.js |
| React | /facebook/react |
| Vue | /vuejs/vue |
| Supabase | /supabase/supabase |
| TailwindCSS | /tailwindlabs/tailwindcss |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл context7?
Intelligent library documentation fetcher using Context7 MCP tools. Auto-activates when: writing code with external libraries, needing API docs, setting up frameworks, or requesting code examples with specific packages. Fetches up-to-date, version-specific documentation to prevent hallucinated APIs.
Как установить скилл context7?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл context7 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…