library-docslisted
Install: claude install-skill pfangueiro/claude-code-agents
# Library Docs
## Overview
This **MCP-powered skill** provides instant access to up-to-date library documentation through the context7 MCP server. Instead of searching documentation manually or relying on potentially outdated information, this skill fetches current, authoritative documentation directly from library maintainers.
## When to Use This Skill
- Looking up API references for libraries
- Understanding how specific features work
- Finding code examples from official docs
- Verifying correct usage patterns
- Checking latest syntax and best practices
- Comparing different library approaches
- Complementing the **documentation-maintainer agent**
## MCP Integration
This skill leverages the **context7 MCP server** which provides access to documentation for hundreds of popular libraries.
### How It Works
1. **MCP Server Connection**: Claude Code connects to context7 MCP server
2. **Library Resolution**: Convert library name to Context7-compatible ID
3. **Documentation Fetch**: Retrieve up-to-date documentation
4. **Context Integration**: Load relevant docs into conversation
### Available Tools
The context7 MCP server provides two tools:
**`mcp__context7__resolve-library-id`**
- Resolves a library name to a Context7-compatible ID. Params (both required): `libraryName` (e.g. "Next.js") and `query` (what you're after — used to rank matches).
- Example: `{ libraryName: "React", query: "hooks" }` → ranked candidates, top match `/reactjs/react.dev`
- Returns candidates