API Documentation

Generate OpenAPI/Swagger specs and JSDoc-style annotations for Node.js/Express APIs.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/Arnutt-N/hr-ims --skill api-documentation-arnutt-n
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: API Documentation
Source: https://github.com/Arnutt-N/hr-ims/tree/main/.agents/skills/api-documentation
Command: npx skills add https://github.com/Arnutt-N/hr-ims --skill api-documentation-arnutt-n

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clear, standardized API documentation built with OpenAPI/Swagger and JSDoc-style annotations to reduce onboarding time and miscommunication.

Core Features & Use Cases

  • OpenAPI/Swagger integration: generate and host API docs from code annotations.
  • JSDoc-like annotations: annotate routes and controllers for automatic documentation.
  • Use cases: document internal and external APIs and keep docs in sync with the codebase.

Quick Start

Install the necessary tooling and expose the docs at /api-docs to begin interactive exploration.

Frequently Asked Questions about API Documentation

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

FAQPage Schema
How do I generate OpenAPI specs from JSDoc annotations in a Node.js Express backend?

To generate OpenAPI specs from JSDoc annotations in a Node.js Express backend, you annotate routes and controllers directly in code, allowing automatic generation of Swagger documentation and parameter schemas without leaving your development environment.

What is the best way to keep Swagger documentation in sync with an evolving RESTful API codebase?

Keeping Swagger documentation in sync with a RESTful API codebase is best achieved through JSDoc-style annotations that generate OpenAPI specs directly from code, ensuring endpoint descriptions and security definitions match implementation automatically.

Can I use this approach to document both internal and external RESTful API services?

Yes, you can use this approach to document both internal and external RESTful API services. It standardizes API interfaces by providing endpoint descriptions, parameter schemas, and reproducible documentation workflows for any Node.js/Express service.

How do you set up an interactive Swagger UI exploration endpoint for an Express API?

To set up interactive Swagger UI exploration for an Express API, you install the necessary OpenAPI tooling, define your security definitions and schemas, and expose the hosted documentation at a dedicated route like /api-docs.

Why use JSDoc annotations for API documentation instead of maintaining separate OpenAPI YAML files?

Using JSDoc annotations for API documentation reduces onboarding time and miscommunication by keeping endpoint descriptions and parameter schemas directly within the codebase, avoiding the drift that occurs when maintaining separate OpenAPI YAML files.

Does this API documentation workflow require any external dependencies or components?

No, this API documentation workflow requires no external dependencies or components to function. It operates by applying JSDoc-style annotations to standardize RESTful backend services built with Node.js and Express.