ruvnet avatar

Api Docs

Scans your TypeScript or JavaScript codebase to extract JSDoc comments and generate API documentation, including OpenAPI 3.0 specs for HTTP endpoints. It finds public exports, parses parameter and return type annotations, and can fill in missing documentation where needed. The skill enforces conventions like requiring JSDoc comments on all public APIs and including examples for complex usage. Honestly, this is most useful when you've inherited a codebase with spotty documentation or need to quickly bootstrap API docs from existing code comments. It won't write your documentation strategy for you, but it handles the tedious extraction and formatting work.

skills.sh installs
893
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from ruvnet/ruflo

All 236
1mindrally avataropenai-api-developmentmindrally/skillsExpert guidance for OpenAI API development including GPT models, Assistants API, function calling, embeddings, and best practices for production applications.888skills.sh installs
2alirezarezvani avatardatabase-designeralirezarezvani/claude-skillsUse when the user asks to design database schemas, plan data migrations, optimize queries, choose between SQL and NoSQL, or model data relationships.858skills.sh installs
3mindrally avatargo-backend-microservicesmindrally/skillsGo backend development best practices for microservices with clean architecture, observability, and production-ready patterns855skills.sh installs
4vercel avatardce-edgevercel/next.jsdce edge842skills.sh installs
5sickn33 avatardatabase-architectsickn33/antigravity-awesome-skillsdatabase architect826skills.sh installs
6zeropointrepo avataryoutube-apizeropointrepo/youtube-skillsUse when YouTube data is needed without Google API quotas or OAuth setup: transcripts, video metadata, channel info, search results, playlists. Triggers on past822skills.sh installs