alijilani-dev/claude/fetch-library-docs
Claude Code and agent skill by alijilani-dev/claude
- community
Checking that the SKILL.md file is still in the repository.
Fetches official documentation for external libraries and frameworks (React, Next.js, Prisma, FastAPI, Express, Tailwind, MongoDB, etc.) with 60-90% token savings via content-type filtering. Use this skill when implementing features using library APIs, debugging library-specific errors, troubleshooting configuration issues, installing or setting up frameworks, integrating third-party packages, upgrading between library versions, or looking up correct API patterns and best practices. Triggers automatically during coding work - fetch docs before writing library code to get correct patterns, not after guessing wrong.
Install
npx vskill@latest install alijilani-dev/claude/fetch-library-docsSKILL.md
The same SKILL.md was published earlier as byteowlz/oqto/fetch-library-docs.
Library Documentation Skill
Fetches official library documentation with 60-90% token savings.
WHEN TO INVOKE (Auto-Detection)
INVOKE AUTOMATICALLY when:
| Context | Detection Signal | Content Type | |
|---|---|---|---|
| Implementing | About to write code using library API | examples,api-ref | |
| Debugging | Error contains library name (e.g., PrismaClientError) | troubleshooting | |
| Installing | Adding new package, npm install, setup task | setup | |
| Integrating | Connecting libraries ("use X with Y") | examples,setup | |
| Upgrading | Version migration, breaking changes | migration | |
| Uncertain | First use of library feature, unsure of pattern | examples |
DO NOT INVOKE when:
- Already have sufficient knowledge from training
- User pasted docs or has them open
- Task is about local/private code (use codebase search)
- Comparing libraries (use web search)
DECISION LOGIC
1. Identify Library
Examples:
PrismaClientKnownRequestError→ library = "prisma"import { useState } from 'react'→ library = "react"from fastapi import FastAPI→ library = "fastapi"
2. Identify Topic
3. Select Content Type
| Task | Content Type | |
|---|---|---|
| Implementing code | examples,api-ref | |
| Debugging error | troubleshooting,examples | |
| Installing/setup | setup | |
| Integrating libs | examples,setup | |
| Upgrading version | migration | |
| Understanding why | concepts | |
| Best practices | patterns |
EXECUTION
Quick Library IDs
| Library | ID | |
|---|---|---|
| React | /reactjs/react.dev | |
| Next.js | /vercel/next.js | |
| Prisma | /prisma/docs | |
| Tailwind | /tailwindlabs/tailwindcss.com | |
| FastAPI | /tiangolo/fastapi |
See references/library-ids.md for complete list.
ERROR HANDLING (Quick Reference)
| Error | Action | |
|---|---|---|
[LIBRARY_NOT_FOUND] | Try spelling variations | |
[LIBRARY_MISMATCH] | Use --library-id directly | |
[EMPTY_RESULTS] | Broaden topic or use --content-type all | |
[RATE_LIMIT_ERROR] | Check API key setup |
Call Budget: Context7 allows 3 calls/question. Use --library-id to save 1 call.
See references/context7-tools.md for full error handling.
REFERENCES
- Library IDs - Complete library ID list
- Usage Patterns - Real-world examples
- Context7 Tools - API details, error codes, setup
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/collection/skills/fetch-library-docs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alijilani-dev/claude/fetch-library-docs)