Looking up docs

From julianobarbosa/claude-code-skills · View interactive version

Looking up docs is an AI agent skill from the GitHub repository julianobarbosa/claude-code-skills. Look up library documentation using Context7. Use when needing API reference, library docs, framework documentation, or technical documentation lookup. Provides up-to-date, version-specific docs and code examples.

How to use this skill

Skill file

Documentation Lookup with Context7

Context7 provides up-to-date, version-specific documentation and code examples directly from source libraries.

Why Context7

Workflow

  1. Resolve library ID: mcp__context7__resolve-library-id with libraryName
  2. Get documentation: mcp__context7__get-library-docs with context7CompatibleLibraryID and topic

Modes

| Mode | Use For |

| ------ | ------------------------------------------ |

| code | API references, code examples (default) |

| info | Conceptual guides, architecture, tutorials |

Examples

# React hooks
resolve-library-id: "react"
get-library-docs: context7CompatibleLibraryID="/facebook/react", topic="hooks", mode="code"

# Next.js middleware
resolve-library-id: "next.js"
get-library-docs: context7CompatibleLibraryID="/vercel/next.js", topic="middleware"

# Go net/http
resolve-library-id: "go net/http"
get-library-docs: context7CompatibleLibraryID="/golang/go", topic="http server"

# Kubernetes API
resolve-library-id: "kubernetes"
get-library-docs: context7CompatibleLibraryID="/kubernetes/kubernetes", topic="deployment"

Tips


Gotchas

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.