Skip to content
ruvnet avatar

Api Docs

Generates API documentation from TypeScript and JavaScript source using JSDoc and OpenAPI 3.0.

CCM score
61 of 100
skills.sh installs
893
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scanning public exports, extracting JSDoc annotations, adding missing docs, and producing OpenAPI definitions
  • Parses @param, @returns, @throws, and @example tags, with type and description required on params and returns
  • Requires a JSDoc comment on every public export and adds one to undocumented public APIs
  • Dispatches a document worker through an MCP hook and is allowed to run npx and read or write files

Install

$ npx -y skills add ruvnet/ruflo --skill api-docs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Generate API documentation from TypeScript/JavaScript source:

  1. Scan exports: Find all public functions, classes, and interfaces
  2. Extract JSDoc: Parse @param, @returns, @throws, @example annotations
  3. Generate missing docs: Add JSDoc for undocumented public APIs
  4. OpenAPI spec: For HTTP endpoints, generate OpenAPI 3.0 definitions

Dispatch via MCP: mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "document", context: "api" })

Conventions:

  • Every public export must have a JSDoc comment
  • Include @param with type and description
  • Include @returns with type and description
  • Include @throws for known error conditions
  • Include @example for non-obvious usage

Details

Repository
github.com/ruvnet/ruflo
Categories
Technical Documentation, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the api-docs skill do?

The api-docs skill generates API documentation from TypeScript or JavaScript source code. It scans public exports, extracts JSDoc annotations like @param, @returns, @throws and @example, adds JSDoc to undocumented public APIs, and can produce OpenAPI 3.0 definitions for HTTP endpoints.

How do I install the api-docs skill?

Run npx -y skills add ruvnet/ruflo --skill api-docs -y in your project. Once installed, the skill lets the agent scan your exports and write the JSDoc and OpenAPI documentation for them.

Which other skills are in the same category as api-docs?

api-docs sits in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It focuses on generating API reference docs directly from code annotations and OpenAPI definitions.

More from ruvnet/ruflo

All 236

Similar to Api Docs

More Technical Documentation