context7-mcp
myths-labs/muse/skills/toolkit/context7/SKILL.md
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.
Skill35 starsChanged 6 months ago
What's in it
- When to Use This Skill
- How to Fetch Documentation
- Step 1: Resolve the Library ID
- Step 2: Select the Best Match
- Step 3: Fetch the Documentation
- Step 4: Use the Documentation
- Guidelines
---
name: context7-mcp
description: 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.
---
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 Next.js middleware?")
- 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 question
- `query`: The user's full question (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`: The user's specific question
### 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**: Pass the user's full question as the query for better results
- **Version awareness**: When users mention versions ("Next.js 15", "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
More agent context in myths-labs/muse
56 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
llms.txt
Skill
- agent-protocolskills/core/agent-protocol/SKILL.md
- context-health-checkskills/core/context-health-check/SKILL.md
- layered-contextskills/core/layered-context/SKILL.md
- muse-commandsskills/core/muse-commands/SKILL.md
- semantic-searchskills/core/semantic-search/SKILL.md
- strategic-compactskills/core/strategic-compact/SKILL.md
- using-superpowersskills/core/using-superpowers/SKILL.md
- verification-before-completionskills/core/verification-before-completion/SKILL.md
- growth-distributionskills/growth-distribution/SKILL.md
- api-design-principlesskills/toolkit/api-design-principles/SKILL.md
- architect-agentskills/toolkit/architect-agent/SKILL.md
- brainstormingskills/toolkit/brainstorming/SKILL.md
- build-error-resolverskills/toolkit/build-error-resolver/SKILL.md
- changelog-generatorskills/toolkit/changelog-generator/SKILL.md
- code-documentationskills/toolkit/code-documentation/SKILL.md
- code-refactoringskills/toolkit/code-refactoring/SKILL.md
- code-reviewer-agentskills/toolkit/code-reviewer-agent/SKILL.md
- coding-standardsskills/toolkit/coding-standards/SKILL.md
- coordinator-modeskills/toolkit/coordinator-mode/SKILL.md
- creating-skillsskills/toolkit/creating-skills/SKILL.md
- deep-diveskills/toolkit/deep-dive/SKILL.md
- dispatching-parallel-agentsskills/toolkit/dispatching-parallel-agents/SKILL.md
- doc-coauthoringskills/toolkit/doc-coauthoring/SKILL.md
- doc-updaterskills/toolkit/doc-updater/SKILL.md
- e2e-runnerskills/toolkit/e2e-runner/SKILL.md
- executing-plansskills/toolkit/executing-plans/SKILL.md
- finishing-a-development-branchskills/toolkit/finishing-a-development-branch/SKILL.md
- frontend-designskills/toolkit/frontend-design/SKILL.md
- git-commitskills/toolkit/git-commit/SKILL.md
- github-pr-creationskills/toolkit/github-pr-creation/SKILL.md
- github-pr-mergeskills/toolkit/github-pr-merge/SKILL.md
- github-pr-reviewskills/toolkit/github-pr-review/SKILL.md
- git-security-guardskills/toolkit/git-security-guard/SKILL.md
- iterative-retrievalskills/toolkit/iterative-retrieval/SKILL.md
- markitdownskills/toolkit/markitdown/SKILL.md
- planner-agentskills/toolkit/planner-agent/SKILL.md
- ralph-wiggumskills/toolkit/ralph-wiggum/SKILL.md
- receiving-code-reviewskills/toolkit/receiving-code-review/SKILL.md
- requesting-code-reviewskills/toolkit/requesting-code-review/SKILL.md
- sciomcskills/toolkit/sciomc/SKILL.md
- security-reviewskills/toolkit/security-review/SKILL.md
- skill-creatorskills/toolkit/skill-creator/SKILL.md
- skills-updaterskills/toolkit/skills-updater/SKILL.md
- subagent-driven-developmentskills/toolkit/subagent-driven-development/SKILL.md
- systematic-debuggingskills/toolkit/systematic-debugging/SKILL.md
- tdd-workflowskills/toolkit/tdd-workflow/SKILL.md
- theme-factoryskills/toolkit/theme-factory/SKILL.md
- traceskills/toolkit/trace/SKILL.md
- ui-ux-pro-maxskills/toolkit/ui-ux-pro-max/SKILL.md
- using-git-worktreesskills/toolkit/using-git-worktrees/SKILL.md
- webapp-testingskills/toolkit/webapp-testing/SKILL.md
- writing-plansskills/toolkit/writing-plans/SKILL.md
Also found in 5 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

