get-api-docs

Fetch official API documentation for libraries and cache it locally.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sunLeee/optimization --skill get-api-docs-sunleee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-api-docs
Source: https://github.com/sunLeee/optimization/tree/main/.claude/skills/reference/adk/get-api-docs
Command: npx skills add https://github.com/sunLeee/optimization --skill get-api-docs-sunleee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Avoids AI hallucinations by fetching official SDK/library docs directly and hosting them locally for accurate references.

Core Features & Use Cases

  • Context-hub style lookup of official API signatures and examples
  • Stores extracted API signatures to .omc/research/{library}-api-docs.md for reuse
  • Supports offline access once docs are cached for code generation and API integration

Quick Start

Run the skill with a library name, for example: get-api-docs fastapi, to fetch and cache the official API docs locally.

Frequently Asked Questions about get-api-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent AI hallucinations when generating code that uses SDK references?

To prevent AI hallucinations, you can fetch official API documentation for libraries like FastAPI or Pydantic and cache them locally. This Skill extracts accurate signatures and examples, storing them in a markdown file for reliable downstream code generation.

What is the best way to get official API signatures for offline code generation?

The best way to get official API signatures for offline use is to fetch and cache library docs locally. This Skill extracts core API details and saves them to a local research directory, enabling accurate offline integration checks and code generation.

Can I use cached API docs for integration checks across different libraries?

Yes, you can use cached API docs for integration checks across libraries like google-adk and Pydantic. The Skill fetches official documentation and stores it locally, allowing you to verify API signatures and usage examples during offline integration checks.

How to fetch and store FastAPI documentation locally for AI context?

To fetch and store FastAPI documentation locally, run the Skill with the library name. It retrieves the official docs, extracts the core API signatures, and saves the results to a designated markdown file for AI context reuse.

Does fetching official library docs eliminate the need for manual API reference lookups?

Fetching official library docs eliminates manual API reference lookups by automatically extracting and caching core API details locally. Once stored in the research directory, these references provide a persistent, offline source for accurate API usage.