MCP HubMCP Hub
スキル一覧に戻る

context7-docs

majiayu000
更新日 Today
24 閲覧
58
9
58
GitHubで表示
メタwordreacttestingapi

について

context7-docsスキルは、フレームワークやライブラリの最新の公式ドキュメントを取得し、古いトレーニングデータによる誤った生成(ハルシネーション)を防ぎます。React、Next.js、Vueなどの進化の速いツールを扱う際に、正確なAPIやコード例を得るために使用してください。「use context7」などのキーワードや、最新のドキュメントについて議論する際に自動的に起動します。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/context7-docs

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Context7 Documentation Fetching

This skill enables fetching up-to-date, version-specific documentation directly from official sources.

Problem Solved

LLMs have stale training data. When working with Next.js 15, React 19, or any library that evolved since the model's cutoff date, you get:

  • Hallucinated APIs that don't exist
  • Deprecated patterns
  • Outdated code examples

When to Use

  • Working with any framework/library (React, Next.js, Vue, Astro, Tailwind, etc.)
  • Need current official documentation
  • Want accurate code examples
  • Encountering unfamiliar APIs
  • Starting a new project with latest versions

How to Activate

Simply include "use context7" in your prompt:

use context7 でNext.js 15のApp Routerについて教えて
use context7 React 19の新機能を使ってコンポーネントを作って

Available Tools

1. resolve-library-id

Converts library name to Context7 ID.

Input: "next.js"
Output: "/vercel/next.js/v15.0.0"

2. get-library-docs

Fetches documentation chunks and code examples.

Parameters:

  • context7_id: Library ID from resolve-library-id
  • topic (optional): Specific topic to filter
  • tokens (optional): Max tokens (default 5000)

Example Usage

Basic Documentation Fetch

User: use context7 でReact 19のuseActionStateの使い方を教えて

AI: [Calls resolve-library-id with "react"]
    [Calls get-library-docs with topic "useActionState"]
    [Returns current, accurate documentation]

Framework Setup

User: use context7 で最新のAstro 5プロジェクトをセットアップして

AI: [Fetches current Astro 5 documentation]
    [Provides accurate setup commands and configuration]

Supported Libraries

Context7 supports documentation from major frameworks and libraries:

CategoryLibraries
FrontendReact, Vue, Svelte, Angular, Solid
Meta-frameworksNext.js, Nuxt, Astro, Remix, SvelteKit
StylingTailwind CSS, CSS-in-JS libraries
StateRedux, Zustand, Jotai, Recoil
TestingJest, Vitest, Playwright, Cypress
BackendExpress, Fastify, Hono, tRPC
DatabasePrisma, Drizzle, TypeORM
BuildVite, esbuild, webpack, turbopack

Best Practices

  1. Always use for rapidly evolving frameworks

    • Next.js (major updates frequently)
    • React (new features in v19)
    • Tailwind (v4 breaking changes)
  2. Specify version when needed

    use context7 Next.js 15.1の新機能
    
  3. Combine with specific topics

    use context7 Prismaのリレーション設定
    
  4. Use for debugging

    use context7 このエラーはReact 19で解決されてる?
    

Integration with TAISUN

Context7 is automatically available via MCP. No additional setup required.

When you include "use context7" or work with framework-specific tasks, the system will:

  1. Detect the library/framework
  2. Resolve the Context7 ID
  3. Fetch relevant documentation
  4. Provide accurate, current information

Source

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/context7-docs

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る