スキル一覧に戻る
krmcbride

documentation-lookup

by krmcbride

Claude Code plugin marketplace

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

SKILL.md


name: documentation-lookup description: Look up library and framework documentation. Use when the user asks about API docs, library usage, framework features, or mentions specific libraries/packages by name.

Documentation Lookup

When to activate:

  • User says "check the docs"
  • User needs API documentation or code examples
  • User mentions a library/framework name
  • Source code of a library is not available locally

Two-step process:

Step 1: Find the library ID

Search for the library to get its context7 ID:

curl -s "https://context7.com/api/v2/search?query={library_name}" | jq '.results[:3]'

Example - searching for "react":

curl -s "https://context7.com/api/v2/search?query=react" | jq '.results[:3] | .[] | {id, title}'

This returns matching libraries. Use the id field (e.g., /facebook/react or /websites/react_dev).

Step 2: Fetch documentation

Use the library ID from step 1:

curl -s "https://context7.com/api/v2/docs/code{library_id}?topic={topic}&page=1"

Example - fetching React hooks docs:

curl -s "https://context7.com/api/v2/docs/code/facebook/react?topic=hooks&page=1"

Parameters:

  • topic - Focus area (e.g., hooks, routing, authentication)
  • page - Pagination (1-10), use if first page doesn't have enough info

Response: Returns markdown-formatted documentation snippets with code examples.

Fallback: If context7 doesn't have the library or returns errors, use web search.

スコア

総合スコア

55/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

0/5
タグ

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

0/5

レビュー

💬

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