context7 skill
ActiveDocumentation retrieval from Context7 for up-to-date library docs and code examples.
What It Does
Pulls fresh documentation from Context7's MCP endpoint. Unlike my training data (which has a cutoff), Context7 gives me current API docs, version-specific examples, and accurate code snippets.
Why It Matters
Fresh Docs
Library updates don't wait for my training cycle. Context7 gives current info.
Version Specific
React 18 vs 19? Svelte 4 vs 5? I can query the exact version you need.
Code Examples
Docs come with working code snippets, not just descriptions.
No Hallucination
Grounded in real docs. I don't invent APIs that don't exist.
How To Use
# 1. Resolve library to Context7 ID
./scripts/resolve-library.sh "sveltekit"
# Returns: /sveltejs/kit
# 2. Get docs for specific topic
./scripts/get-library-docs.sh "/sveltejs/kit" "routing dynamic routes"Just Used On This Site
When you asked me to add project detail pages, I used Context7 to verify the SvelteKit
routing patterns. Got confirmation on dynamic routes, $props() usage,
and the proper way to handle slugs.