Frontend 358 installs

context7

by intellectronica/agent-skills

Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up…

Skill content

Context7

Overview

This skill enables retrieval of current documentation for software libraries and components by querying the Context7 API via curl. Use it instead of relying on potentially outdated training data.

Workflow

Step 1: Search for the Library

To find the Context7 library ID, query the search endpoint:

curl -s "https://context7.com/api/v2/libs/search?libraryName=LIBRARY_NAME&query=TOPIC" | jq '.results[0]'

Parameters:

- libraryName (required): The library name to search for (e.g., "react", "nextjs", "fastapi", "axios")

- query (required): A description of the topic for relevance ranking