Skip to content
Skills Library
Programming · Research

lib-docs

/lib-docs

Fetch library documentation and code examples. Use when user asks about library APIs, needs code examples, or says "use lib-docs", "lookup docs for X", "how does [library] work". Works with any language/framework.

Licence
MIT
Last repository change
17.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 17.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Fetch library documentation and code examples. Use when user asks about library APIs, needs code examples, or says "use lib-docs", "lookup docs for X", "how does [library] work". Works with any language/framework.

Triggers from the description

use lib-docslookup docs for Xhow does [library] work
Original author description

Fetch library documentation and code examples. Use when user asks about library APIs, needs code examples, or says "use lib-docs", "lookup docs for X", "how does [library] work". Works with any language/framework.

How it works

  1. Quick Reference (Common Sources)
  2. Workflow
  3. Fallback: Unknown Libraries
  4. Examples
  5. Token Efficiency
Original SKILL.md headings · 73 lines, 304 words
SKILL.md preview
---
name: lib-docs
description: Fetch library documentation and code examples. Use when user asks about library APIs, needs code examples, or says "use lib-docs", "lookup docs for X", "how does [library] work". Works with any language/framework.
allowed-tools: WebSearch, WebFetch, Read
---

# Library Documentation Skill

Fetch up-to-date documentation for any library using web search and pre-configured sources.

## Quick Reference (Common Sources)

| Library | Primary Source |
|---------|----------------|
| Clojure libs | `cljdoc.org/d/{group}/{artifact}` |
| HTMX | `htmx.org/docs/` |
| Alpine.js | `alpinejs.dev/` |
| Tailwind | `tailwindcss.com/docs/` |
| DaisyUI | `daisyui.com/components/` |
| React | `react.dev/reference/` |

For full list: See [references/sources.md](references/sources.md)

## Workflow

### 1. Resolve Documentation Source

Check if library has a pre-configured source in `references/sources.md`:
- **Known library**: Use configured URL directly
- **Unknown library**: WebSearch for `"[library name] official documentation"`

### 2. Fetch Documentation

Use WebFetch with a focused prompt:
```
WebFetch URL with prompt: "Extract [topic] documentation, API reference, and code examples for [library]"
```

**Tips for effective fetches:**
- Target specific pages (API reference, getting started) over landing pages
- Include version if user specified one
- Request code examples explicitly

### 3. Summarize for User

Return:
- Relevant API/function signatures
- Code examples demonstrating usage
- Link to source for further reading

## Fallback: Unknown Libraries

When no pre-configured source exists:

1. **WebSearch**: `"[library] official documentation site"`
2. **Identify official source** from results (prefer: official site > GitHub > Stack Overflow)
3. **WebFetch** the docs page
4. **Offer to add** the source to `references/sources.md` for future lookups

## Examples

**User**: "How do I use HoneySQL's where clause?"
1. Check sources.md → HoneySQL on cljdoc.org
2. WebFetch `https://cljdoc.org/d/com.github.seancorfield/honeysql/` with prompt about where clauses
3. Return examples and API info

**User**: "lookup docs for some-obscure-lib"
1. Check sources.md → not found
2. WebSearch for official docs
3. WebFetch from search result
4. Return docs + offer to save source

## Token Efficiency

- Only fetch what's needed for the specific question
- Prefer targeted page URLs over index pages
- Use focused prompts to extract relevant sections
Files in this package (2)
  • SKILL.md 2 KB
  • references/sources.md 3 KB

Versions

The database has no other skills named lib-docs.

Database snapshot: 13.11.2026 · package version caf9469bc277 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100context7
    Fetch up-to-date, version-specific library documentation and code examples from Context7. Use this skill whenever the user asks about a specific programming library, framework, or API, or when writing code that depends on a library. Replaces stale training-data knowledge with live docs.
  • 100looking-up-docs
    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.
  • 100documentation-lookup
    Use when the user needs current library, framework, or API documentation and version-specific code examples.
  • 100documentation-lookup
    Use up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).
  • 100context7-auto-research
    Use this skill when users need current documentation, setup steps, API references, or code examples for a named library, framework, SDK, or API. It fetches up-to-date Context7 docs.
  • 100context7
    Version-specific documentation for 800+ libraries via Context7 MCP. Two tools: resolve-library-id (library name → canonical ID) and query-docs (ID + query → live docs and code examples). Eliminates hallucination in agent code generation. Use when Claude is writing code for an…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.