NC

netresearch/context7-skill

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

84 stars 品質 67 トレンド 35NOASSERTION

Context7 のドキュメントは、AI コーディングエージェントのスキルを調べます。 MCP 文脈のオーバーヘッド無しの軽量 REST API のラッパー.

概要

Context7 REST API を使用して、最新のライブラリのドキュメントを取得します。 Context7 MCP と永続的なコンテクストのオーバーヘッドなしの軽量代替。 - - - REST APIを直接使用し、ツールスキーマはコンテキストを消費しません - - Context7のキュレーションデータベースからライブドキュメントをフェッチ - - 特定の領域(ホック、ルーティング、ミドルウェアなど)に焦点を当てます。 - - React、Next.js、Vue、Express、Prismaなど Netresearch マーケットプレイスを一度追加し、参照してインストールします。 Claudeコード2.1.157は、個人的なスキルディレクトリの下にプラグインディレクトリがロードされるので、次のようにします。 次のセッションでcontext7@skills-dirとして読み込みます。 git -C ~/.claude/skills/context7 で更新 ディレクトリを削除することで、新しいセッションをプルして起動します。 このルートには、 claude プラグインの更新はありません。 任意のエージェントスキル対応エージェントをインストールします。 最新のリリースをダウンロードして、エージェントのスキルディレクトリに抽出します。 netresearch/composer-agent-skill-plugin が必要です.

概要(AI 翻訳)

Context7 REST API を使用して、最新のライブラリのドキュメントを取得します。 Context7 MCP と永続的なコンテクストのオーバーヘッドなしの軽量代替。

##特徴

  • ** MCP オーバーヘッドなし** - REST API を直接使用し、ツールスキーマはコンテキストを消費しません -Currentドキュメンテーション - Context7のキュレーションデータベースからライブドキュメントをフェッチ -トップフィルタリング - 特定の領域(ホック、ルーティング、ミドルウェアなど)に焦点を当てます。 -50以上のライブラリ - React、Next.js、Vue、Express、Prismaなど

インストール

マーケットプレース(推奨)

Netresearch マーケットプレイスを一度追加し、参照してインストールします。

マーケットプレイスなし

Claudeコード2.1.157は、個人的なスキルディレクトリの下にプラグインディレクトリがロードされるので、次のようにします。

次のセッションでcontext7@skills-dirとして読み込まれます。 git -C ~/.claude/skills/context7 pull で更新し、新しいセッションを開始します。ディレクトリを削除することで削除します。 このルートは[claude plugin update がありません。

##npx (skills.sh) は、

任意のエージェントスキル対応エージェントをインストールします。

ダウンロードリリース

最新のリリースをダウンロードして、エージェントのスキルディレクトリに抽出します。

##Gitクローン

##コンポーザー(PHPプロジェクト)

netresearch/composer-agent-skill-plugin が必要です.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Context7 Documentation Lookup Skill

Fetch up-to-date library documentation via Context7 REST API. Lightweight alternative to Context7 MCP with no persistent context overhead.

Features

  • No MCP Overhead - Uses REST API directly, no tool schemas consuming context
  • Current Documentation - Fetches live docs from Context7’s curated database
  • Topic Filtering - Focus on specific areas (hooks, routing, middleware, etc.)
  • 50+ Libraries - React, Next.js, Vue, Express, Prisma, and more

Installation

Add the Netresearch marketplace once, then browse and install skills:

# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install context7@netresearch-claude-code-marketplace

Without a marketplace

Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own:

mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/context7-skill.git \
  ~/.claude/skills/context7

It loads as context7@skills-dir on the next session. Update with git -C ~/.claude/skills/context7 pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.

npx (skills.sh)

Install with any Agent Skills-compatible agent:

npx skills add https://github.com/netresearch/context7-skill --skill context7

Download Release

Download the latest release and extract to your agent’s skills directory.

Git Clone

git clone https://github.com/netresearch/context7-skill.git

Composer (PHP Projects)

composer require netresearch/context7-skill

Requires netresearch/composer-agent-skill-plugin.

npm (Node Projects)

npm install --save-dev \
  @netresearch/agent-skill-coordinator \
  github:netresearch/context7-skill

Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, also allowlist the coordinator’s postinstall:

{
  "pnpm": {
    "onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
  }
}

Usage

The skill triggers on keywords like:

  • “how do I use [library]”
  • “what’s the API for [library]”
  • “[library] documentation”
  • “show me [library] patterns”

Example Prompts

"How do I use React hooks?"
"What's the Next.js App Router API?"
"Show me Prisma query patterns"
"Express middleware documentation"

Manual Script Usage

# Search for a library ID
scripts/context7.sh search "prisma"
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add netresearch/context7-skill
MCP 初心者?mcpskill.org のガイドから始めましょう →