documentation-lookup

- User says "check the docs"

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "documentation-lookup" with this command: npx skills add krmcbride/claude-plugins/krmcbride-claude-plugins-documentation-lookup

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-content

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-cleanup

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-examples

No summary provided by upstream source.

Repository SourceNeeds Review
General

documentation-update

No summary provided by upstream source.

Repository SourceNeeds Review