---
name: Library Docs Lookup
slug: library-docs-lookup
category: AI Engineering
description: Library Docs Lookup fetches current documentation for external libraries, frameworks, SDKs, and APIs before you code against them. Use it when a dependency, method, or config option is unfamiliar or may differ from memory.
github: "https://github.com/duckbugio/flock/tree/main/core/skills/library-docs-lookup"
language: Go
stars: 508
forks: 5
install: "npx degit https://github.com/duckbugio/flock/tree/main/core/skills/library-docs-lookup ~/.claude/skills/library-docs-lookup"
installs_to: ~/.claude/skills/library-docs-lookup
source_path: core/skills/library-docs-lookup/SKILL.md
collection_size: 2
category_size: 2451
collection_url: "https://dirskills.com/collections/duckbugio/flock"
added: 2026-08-26T05:12:44.301Z
last_synced: 2026-08-26T05:12:44.301Z
canonical_url: "https://dirskills.com/skills/library-docs-lookup"
---

# Library Docs Lookup

Library Docs Lookup fetches current documentation for external libraries, frameworks, SDKs, and APIs before you code against them. Use it when a dependency, method, or config option is unfamiliar or may differ from memory.

**Install:**

```bash
npx degit https://github.com/duckbugio/flock/tree/main/core/skills/library-docs-lookup ~/.claude/skills/library-docs-lookup
```

## README

# Look up real library docs (don't guess the API)

Training data goes stale: library APIs, method signatures, config keys, and best
practices change between versions. Guessing them is a top source of subtly-wrong
code. When you touch an external library/framework/SDK/API, get the CURRENT docs.

## How

The `context7` MCP server is available. Use its tools:

1. **`resolve-library-id`** — resolve the library name (e.g. "tauri",
   "centrifuge-go", "react-query") to its context7 id.
2. **`get-library-docs`** — fetch the up-to-date docs for that id, scoped to the
   topic/symbol you need (the specific hook, method, or config option).

Pull the version the project actually depends on — check `go.mod` /
`package.json` / `Cargo.toml` / `requirements.txt` — not "latest", when they
differ.

## When to use it

- Calling a method/option you're not 100% sure exists in the version in use.
- Wiring up a new dependency, an SDK client, or a framework feature.
- An unfamiliar or fast-moving library (cloud SDKs, web frameworks, build tools).
- A compile/runtime error that looks like an API mismatch.

## When NOT to bother

- The standard library or a tiny, stable utility you know cold.
- Pure project-internal code — read the repo, not external docs.

Prefer one focused docs lookup over a wrong guess you then have to debug.
