api-docs-generator

Generate Markdown API documentation from OpenAPI specs, Python docstrings, and JSDoc/TSDoc comments.

8|3|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/tomique34/claude-skill-creator --skill api-docs-generator-tomique34
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-docs-generator
Source: https://github.com/tomique34/claude-skill-creator/tree/main/api-docs-generator
Command: npx skills add https://github.com/tomique34/claude-skill-creator --skill api-docs-generator-tomique34

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and updating of comprehensive API documentation, saving developers significant time and ensuring accuracy.

Core Features & Use Cases

  • Automated Documentation Generation: Creates Markdown documentation from OpenAPI/Swagger specs, Python docstrings, JSDoc/TSDoc comments, and inline code comments.
  • Consistent Formatting: Ensures documentation is well-structured, readable, and includes essential details like endpoints, parameters, responses, and examples.
  • Use Case: You have a new REST API defined by an OpenAPI specification. Use this Skill to generate a complete API.md file in your /docs directory, ready for developers to consume.

Quick Start

Generate API documentation from the provided openapi.yaml file and save it to /docs/API.md.

Frequently Asked Questions about api-docs-generator

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

FAQPage Schema
How do I generate Markdown API documentation from OpenAPI or Swagger specs?

Generating API documentation from Python docstrings extracts class and function details into a structured Markdown file. It parses inline comments to capture parameters and return values, ensuring your codebase documentation remains consistent and readable.

Can I extract API endpoint details from JSDoc and TSDoc comments?

Yes, you can extract API endpoint details from JSDoc and TSDoc comments. The tool parses JavaScript and TypeScript code comments to pull endpoint parameters, request schemas, and authentication requirements into a unified Markdown reference.

What is the best way to automate REST API documentation generation?

Automating REST API documentation generation is best achieved by parsing OpenAPI specs or inline code annotations to produce a consistent Markdown file. This ensures your API reference includes error codes and authentication details without manual formatting.

Does API documentation generation work with both YAML and JSON OpenAPI specifications?

API documentation generation works with both YAML and JSON OpenAPI specifications. It parses either format to extract request and response schemas, ensuring comprehensive Markdown output regardless of your chosen specification file format.

What limitations exist when generating API docs from inline code annotations?

When generating API docs from inline code annotations, limitations include relying on the strict structure of Python docstrings or JSDoc comments to extract parameters. Incomplete or malformed comments will result in missing endpoint details or authentication requirements in the Markdown output.