moai-docs-generation

Generate documentation from source code and API annotations using Sphinx, MkDocs, TypeDoc, and Nextra.

3|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/rodmena-limited/trust5 --skill moai-docs-generation-rodmena-limited
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-docs-generation
Source: https://github.com/rodmena-limited/trust5/tree/main/trust5/assets/claude/skills/moai-docs-generation
Command: npx skills add https://github.com/rodmena-limited/trust5 --skill moai-docs-generation-rodmena-limited

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sphinx, mkdocs, typedoc, nextra, mkdocstrings, pandoc, weasyprint, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of creating and maintaining technical documentation, API docs, user guides, and knowledge bases. It streamlines the process by using real tools like Sphinx, MkDocs, TypeDoc, and Nextra.

Core Features & Use Cases

  • Documentation Generation: Automates the creation of documentation from source code, API annotations, and project specifications.
  • Support for Multiple Formats: Generates documentation in HTML, PDF, and Markdown formats, suitable for static sites, GitHub Pages, and other hosting platforms.
  • Use Case: For a project that requires comprehensive documentation for its API, this Skill can generate detailed API documentation using Sphinx and MkDocs, ensuring that the documentation is always up-to-date with the code changes.

Quick Start

Use the moai-docs-generation skill to generate documentation for your project. First, initialize the documentation with trust5 init ., then generate the documentation using trust5 develop "Your project description".

Frequently Asked Questions about moai-docs-generation

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

FAQPage Schema
How do I automate documentation generation from source code?

Automate Sphinx documentation generation by initializing the project environment and executing the skill with your project description. It leverages Sphinx, MkDocs, and TypeDoc to process source code annotations into structured static sites.

Can I generate PDF documentation from API annotations?

Generate PDF documentation from API annotations using WeasyPrint and Pandoc. The skill processes source code specifications and outputs technical documentation in multiple formats including HTML, PDF, and Markdown.

Does this documentation generation skill support MkDocs and Sphinx?

This documentation generation skill supports both MkDocs and Sphinx, alongside TypeDoc and Nextra. It is designed for technical writers and developers who need to maintain comprehensive API docs and user guides.

What is the best way to keep API documentation up-to-date with code changes?

The best way to keep API documentation up-to-date is to automate generation directly from source code and API annotations. Using Sphinx and MkDocs ensures your static site documentation accurately reflects the latest code changes.

How do I generate static site documentation for a software project?

Generate static site documentation by running the initialization command and providing your project description. The skill uses Nextra and MkDocs to transform project specifications and code annotations into deployable static sites.