Skip to content
Development
Command

/fetch-docs

Fetch up-to-date library documentation via Context7 to ensure accurate code generation.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/fetch-docs

Context preview

What this command does when you run it.

Fetch up-to-date library documentation via Context7 to ensure accurate code generation.

Command definition

fetch-docs.md
name: fetch-docs
description: Fetch up-to-date library documentation via Context7 to ensure accurate code generation.

Fetch up-to-date library documentation via Context7 to ensure accurate code generation.

Steps

1. Identify the library or framework the user needs docs for: 2. Resolve the library ID using Context7: 3. Query the documentation: 4. Present the documentation in a usable format: 5. Apply the documentation to the current task: 6. Cache the result to avoid redundant lookups.

Format

Library: <name>@<version>
Source: Context7
Topic: <what was looked up>
Key APIs:

Rules

  • Always verify the documentation version matches the installed version.
  • Prefer official documentation over community examples.
  • Note any APIs marked as experimental or deprecated.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin