generate-api-docs

Generate REST API documentation from a ProjectModel JSON and codebase.

3|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/mor-duongmh/morkit-plugin --skill generate-api-docs-mor-duongmh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-api-docs
Source: https://github.com/mor-duongmh/morkit-plugin/tree/main/plugins/morkit/skills/generate-api-docs
Command: npx skills add https://github.com/mor-duongmh/morkit-plugin --skill generate-api-docs-mor-duongmh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation and maintenance of REST API documentation by deriving docs from a ProjectModel JSON and the codebase, reducing manual effort and ensuring consistency across endpoints.

Core Features & Use Cases

  • Init: render api-docs.md from a ProjectModel JSON.
  • Update: apply a Delta to existing docs to reflect API changes.
  • Sync: 2-step propose/apply workflow that scans the codebase and suggests changes to docs.
  • Language support: single-language output (JP / EN / VN) to streamline localization.

Quick Start

Provide a ProjectModel JSON and run the renderer to generate docs/api-docs.md.

Frequently Asked Questions about generate-api-docs

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

FAQPage Schema
How do I automatically generate REST API documentation from a codebase?

You can automatically generate REST API documentation by providing a ProjectModel JSON to a renderer that derives markdown docs directly from your codebase, ensuring endpoint consistency without manual writing.

Can I sync API docs automatically when my codebase changes?

Yes, you can sync API docs using a 2-step workflow that scans your codebase for API changes, proposes deltas to existing markdown documentation, and applies those updates to keep everything aligned.

How do I update existing markdown API docs to reflect endpoint changes?

To update existing markdown API docs, you apply a Delta representing API changes to your current documentation, which patches the markdown to reflect new or modified endpoints accurately.

Does this API documentation generator support output in multiple languages?

Yes, the API documentation generator supports single-language output in JP, EN, or VN, allowing you to produce localized markdown documentation tailored to your specific regional requirements.

What is the best way to maintain OpenAPI documentation alongside code?

The best way to maintain OpenAPI documentation is automating generation from a ProjectModel JSON and using codebase scanning to propose and apply delta updates, keeping docs synced with code changes.

Do I need a ProjectModel JSON to generate API docs?

Yes, you need a ProjectModel JSON because the renderer relies on it as the structural source to automatically generate and update your comprehensive REST API documentation from the codebase.