docs
Gets current docs of a library or framework from Context7 with `ctx7`. Use when a task needs the API of a library version and the project does not show it.
SKILL.mdplugins/claudetto-docs/skills/docs/SKILL.md
GitHub<task>
Get the docs of a library from [Context7](https://context7.com) with the `ctx7` CLI.
Recalled facts can be out of date, so the docs are the source.
</task>
<procedure>
`ctx7` is not on `PATH`, and `bunx` gets it, so start at step 1 and do not look for an installed `ctx7`.
Run each `ctx7` call in one of these exact forms, because the permission rules of the skill allow only these two read subcommands.
Do not run another `ctx7` subcommand, such as `setup`, `login`, or `upgrade`, because they write files or change the account.
If Claude Code denies a call, ask the user, and do not change the form to get past the rule.
CTX7_TELEMETRY_DISABLED=1 bunx -y ctx7@0.6.1 library <name> "<topic>"
CTX7_TELEMETRY_DISABLED=1 bunx -y ctx7@0.6.1 docs <library id> "<topic>"
- Find the version of the library that the project uses.
Read the manifest and the lockfile of the project, for example
package.jsonandbun.lock. Skip this step when the project does not name a version. - Run
librarywith the library name and the topic. Pick the library ID from the result, for example/vercel/next.js. Skip this step when the user gave the ID. - Add the project version to the ID when the
Versionsline of the result lists it, for example/colinhacks/zod/v4.6.5. When the list does not have that version, use the nearest listed version of the same major version, and tell the user. - Run
docswith the library ID and a query on one concept. - Answer from the docs, and name the library ID that you used.</procedure>