code-documenter

Generate and validate technical documentation from docstrings, OpenAPI specs, and JSDoc annotations.

Updated May 31, 2026
One-click install
npx skills add https://github.com/fanguyun/SkillManager --skill code-documenter-fanguyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-documenter
Source: https://github.com/fanguyun/SkillManager/tree/main/code-documenter
Command: npx skills add https://github.com/fanguyun/SkillManager --skill code-documenter-fanguyun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, formatting, and validating technical documentation for codebases, saving developers time and ensuring accuracy.

Core Features & Use Cases

  • Documentation Generation: Automatically generates documentation from docstrings, OpenAPI/Swagger specs, and JSDoc annotations.
  • Validation: Validates documentation to ensure code examples compile and run as expected.
  • Use Case: Use this Skill to create comprehensive documentation for your codebase, ensuring that it is always up-to-date and accurate.

Quick Start

Use the code-documenter skill to generate documentation for your project.

Frequently Asked Questions about code-documenter

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

FAQPage Schema
How do I generate documentation from OpenAPI specs and JSDoc annotations?

You can generate technical documentation by extracting content directly from OpenAPI/Swagger specs, JSDoc annotations, and codebase docstrings. This automated generation process ensures your API references and code documentation are consistently formatted and always up-to-date.

Can I validate code examples in my documentation to ensure they compile?

Yes, documentation validation ensures that code examples compile and run as expected. This feature actively checks the executable snippets within your technical docs, preventing broken examples from shipping and maintaining documentation accuracy.

Do I need pypdf and pdfplumber to automate documentation generation for codebases?

Yes, parsing PDFs requires pypdf, pdfplumber, and pdf2image. These dependencies are necessary specifically for extracting text and visual content from PDF files, enabling the tool to process and include legacy PDF documentation within your automated workflow.

What is the best way to keep codebase documentation up-to-date?

Automating documentation generation from existing docstrings and OpenAPI specs is the best way to keep codebase docs up-to-date. By validating that code examples compile correctly, this automated approach ensures continuous accuracy without manual writing.

Does code documentation validation work with Swagger specs?

Yes, documentation validation works with Swagger specs by extracting API definitions and verifying the associated code examples. This ensures your Swagger documentation accurately reflects the codebase and that all embedded examples compile and run as expected.