doc-generator

Generate API documentation from source code using JSDoc, Sphinx, Doxygen, and OpenAPI.

Updated May 13, 2026
One-click install
npx skills add https://github.com/Mekann2904/mekann --skill doc-generator-mekann2904
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-generator
Source: https://github.com/Mekann2904/mekann/tree/main/.pi/lib/skills/doc-generator
Command: npx skills add https://github.com/Mekann2904/mekann --skill doc-generator-mekann2904

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of API documentation directly from your codebase, ensuring your documentation stays up-to-date with minimal manual effort.

Core Features & Use Cases

  • Multi-language Support: Generates documentation for JavaScript/TypeScript (JSDoc), Python (Sphinx), C++/C/Java (Doxygen), and OpenAPI/Swagger specifications.
  • Automated Generation: Reduces the time and effort required to document code, improving developer onboarding and maintainability.
  • Use Case: After writing a new API endpoint in TypeScript, use this Skill to automatically generate its Swagger/OpenAPI documentation and update the JSDoc comments for the relevant functions.

Quick Start

Use the doc-generator skill to generate JSDoc documentation for the files in the 'src/' directory and output it to the 'docs/' directory.

Frequently Asked Questions about doc-generator

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

FAQPage Schema
How do I generate API documentation from source code automatically?

You can generate API documentation from source code automatically by using this Skill to convert code comments and structures into structured documentation files. It automates extraction across multiple languages to reduce manual effort and maintain up-to-date API references.

Does this tool support generating Sphinx documentation for Python code?

Yes, this tool supports generating Sphinx documentation for Python code. It automates the creation of API documentation directly from your codebase across multiple programming languages, including Python, to improve maintainability and developer onboarding.

Can I generate Swagger or OpenAPI specifications from an existing codebase?

Yes, you can generate Swagger or OpenAPI specifications from an existing codebase. The Skill supports OpenAPI and Swagger for API specifications, allowing you to automatically generate documentation for new endpoints and update relevant code comments.

How do I create JSDoc comments for JavaScript and TypeScript files?

You can create JSDoc comments for JavaScript and TypeScript files by pointing this Skill at your source directory. It automatically generates JSDoc documentation from your code structures and outputs the structured files to your designated docs directory.

What is the best way to document C++ or Java code using Doxygen?

The best way to document C++ or Java code using Doxygen is to automate the generation process with this Skill. It supports Doxygen for C, C++, and Java, converting your existing code comments and structures into structured documentation files efficiently.