agentsclimarketplace

Get api docs

Skill dwarvesf/dwarves-kit/skills/get-api-docs

Fetch curated API documentation using Context Hub (chub) before coding against any external API. Use when the task involves calling a third-party API (Stripe, OpenAI, Airwallex, Notion, etc.) to prevent hallucinated parameters and deprecated endpoints.From its SKILL.md

Install
npx -y skills add dwarvesf/dwarves-kit --skill get-api-docs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.5 KB, as published. Nobody here has run it

Get API Docs

Before writing code that calls any external API, fetch the curated documentation first.

When to use

  • You are about to write code that calls a third-party API
  • You are unsure about the current API parameters, endpoints, or auth method
  • The user mentions an API integration (Stripe, Notion, OpenAI, Airwallex, etc.)
  • You are debugging an API call that returns unexpected results

How to use

# Search for available docs
chub search [api-name]

# Fetch docs (language-specific)
chub get [provider]/[api] --lang [py|js|go]

# Fetch specific reference file
chub get [provider]/[api] --file references/[topic].md

# Fetch everything for comprehensive work
chub get [provider]/[api] --full

After using the API

If you discover something not in the docs (a workaround, a gotcha, a version quirk):

chub annotate [provider]/[api] "your note here"

This persists locally and appears automatically next time you fetch the same doc.

If chub is not installed

Tell the user: "Context Hub (chub) is not installed. Install it with npm install -g @aisuite/chub to get curated API docs and prevent hallucinated API calls."

Then fall back to web search, but warn that the results may be outdated.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.