スキル一覧に戻る
netresearch

context7

by netresearch

Context7 documentation lookup skill for AI coding agents. Lightweight REST API wrapper with no MCP context overhead.

2🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: context7 description: "Fetch up-to-date library documentation via Context7 REST API. Use when needing current API docs, framework patterns, or code examples for any library. Lightweight alternative to Context7 MCP with no persistent context overhead. By Netresearch."

Context7 Documentation Lookup Skill

Fetch current library documentation, API references, and code examples without MCP context overhead.

When to Use This Skill

When the user asks about library APIs or framework patterns, use this skill to fetch current documentation.

When encountering import statements (import, require, from), use this skill to provide accurate API information.

When the user asks about specific library versions or "How do I use X library?", use this skill to get official patterns.

Core Workflow

To answer questions about library documentation, follow these steps:

  1. Search for the library ID using scripts/context7.sh search
  2. Fetch documentation using scripts/context7.sh docs
  3. Apply returned documentation to provide accurate, version-specific answers

Running Scripts

Searching for Libraries

To find a library ID for documentation lookup:

scripts/context7.sh search "library-name"

This returns library IDs in the format /vendor/library (e.g., /facebook/react).

Fetching Documentation

To fetch documentation for a specific library:

scripts/context7.sh docs "<library-id>" "[topic]" "[mode]"

Parameters:

  • library-id (required): From search result (e.g., /facebook/react)
  • topic (optional): Focus area (e.g., hooks, routing, authentication)
  • mode (optional): code for API references (default) or info for conceptual guides

Examples

To get React hooks documentation:

scripts/context7.sh search "react"
scripts/context7.sh docs "/facebook/react" "hooks" "code"

To get Next.js routing guide:

scripts/context7.sh search "nextjs"
scripts/context7.sh docs "/vercel/next.js" "routing" "info"

Documentation Modes

When fetching API references, examples, or code patterns, use code mode (default).

When fetching conceptual guides, tutorials, or explanations, use info mode.

Environment Configuration

To use authenticated requests (optional), set the CONTEXT7_API_KEY environment variable:

export CONTEXT7_API_KEY="your-api-key"

Contributing: https://github.com/netresearch/context7-skill

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です