Skip to content
Kitbay
Skill

document-public-apis

NOASSERTIONUpdated on Nov 11, 2026105,390GitHub stars

A contributor skill in the PyTorch repository for bringing undocumented public functions into the API reference.

What the skill teaches

A contributor skill in the PyTorch repository for bringing undocumented public functions into the API reference. The agent picks whole module groups from the coverage ignore lists in the Sphinx config, about five to fifteen functions at a time, skips entries marked as not meant for documentation, and checks each function already has a real docstring. After the user confirms, it comments the entries out, runs the Sphinx coverage build, adds autodoc directives to the matching Markdown or reStructuredText file, and re-runs coverage until nothing is reported missing, asking the user after repeated failures. It never edits Python source, and finally deletes the commented-out entries and reports what remains.

Capabilities

Not stated in its documentation