Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

code-documenter

Adds docstrings, JSDoc, or OpenAPI specs to your code and checks that the examples run.

When to use it

You have working code but no inline docs or API spec, and need docstrings or an OpenAPI file before sharing it.

For example

You say

Use code-documenter to add Google-style docstrings to the public functions in my Python FastAPI project and produce an OpenAPI spec for the endpoints.

You get
  • Documented Python files
  • OpenAPI spec
  • Coverage report

How it works

  • Asks your preferred docstring format before writing anything.
  • Runs doctest, tsc, or Redocly lint to confirm examples compile before reporting.