update-api-docs

Generate markdown API documentation for Nim source files using jsondoc.

54|3|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/planetis-m/skills --skill update-api-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-api-docs
Source: https://github.com/planetis-m/skills/tree/main/update-api-docs
Command: npx skills add https://github.com/planetis-m/skills --skill update-api-docs

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 markdown API documentation for Nim source files, ensuring your project's documentation stays current with minimal manual effort.

Core Features & Use Cases

  • Automated Documentation Generation: Converts Nim source code into human-readable markdown API documentation.
  • JSON Doc Conversion: Leverages jsondoc to generate intermediate JSON files for detailed API information.
  • Use Case: After updating your Nim library's API, run this skill to automatically regenerate the docs/ directory, providing up-to-date documentation for developers.

Quick Start

Run the update-api-docs skill to generate markdown documentation for all Nim files in the project.

Frequently Asked Questions about update-api-docs

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

FAQPage Schema
How do I generate markdown API documentation for Nim source files?

You can generate markdown API documentation for Nim source files by running this Skill, which parses Nim modules using the jsondoc tool and outputs human-readable markdown references into your project's docs directory.

What is the best way to keep API docs updated for a Nim library?

The best way to keep API docs updated for a Nim library is to automate the generation process. This Skill converts Nim source code into markdown documentation, ensuring your references stay current with minimal manual effort after API changes.

Do I need the Nim compiler and jsondoc to generate API references?

Yes, you need the Nim compiler and the jsondoc tool to generate API references. The Skill relies on jsondoc to parse Nim modules and produce intermediate JSON files for the custom conversion logic to build the final markdown.

How does jsondoc conversion work for Nim documentation?

The jsondoc conversion works by first generating intermediate JSON files from Nim source code, which contain detailed API information. The Skill then applies custom conversion logic to transform this JSON data into structured markdown documentation.

Can I automatically regenerate the docs directory for my Nim project?

Yes, you can automatically regenerate the docs directory for your Nim project. After updating your library's API, running this Skill scans all Nim files and regenerates the markdown documentation to provide up-to-date references for developers.