Agent skill · Backend & API

Context7 Usage

This skill should be used when the user asks to "check documentation", "latest API", "library docs", "context7", or needs up-to-date library documentation. Provides Context7 MCP usage patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill context7-usage-motoki317-dotfiles-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ai-llm/context7-usage-motoki317-dotfiles-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Context7 MCP Documentation Retrieval ## Tools ### resolve-library-id Resolve package name to Context7-compatible library ID. **Must call before query-docs** unless ID is known. ### query-docs Fetch documentation with parameters: - `libraryId` - From resolve-library-id (e.g., `/facebook/react`) - `query` - Specific question or topic ## Common Library IDs - React: `/facebook/react` - Next.js: `/vercel/next.js` - TypeScript: `/microsoft/typescript` - NixOS: `/nixos/nixpkgs` - Home Manager: `/nix-community/home-manager` ## Usage Patterns ### Specific Feature Lookup ``` query-docs libraryId="/facebook/react" query="useState hook usage" ``` ### General Overview ``` query-docs libraryId="/vercel/next.js" query="getting started app router" ``` ### Verify Codebase Usage 1. Use Serena to find current library usage 2. Query Context7 for latest documentation 3. Compare usage with documented best practices ## Critical Rules - Always resolve library ID before fetching documentation - Prefer libraries with trust score 7+ (quality indicator) - Use specific queries to get relevant results - Combine with Serena for codebase verification workflows ## Anti-Patterns to Avoid - Skipping ID resolution

What's inside
Steps it walks through
  1. Tools
  2. resolve-library-id
  3. query-docs
  4. Common Library IDs
  5. Usage Patterns
  6. Specific Feature Lookup
  7. General Overview
  8. Verify Codebase Usage
  9. Critical Rules
  10. Anti-Patterns to Avoid
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the Context7 Usage skill do?

This skill should be used when the user asks to "check documentation", "latest API", "library docs", "context7", or needs up-to-date library documentation. Provides Context7 MCP usage patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill context7-usage-motoki317-dotfiles-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going