Skip to main content
AI/MLpytorch

document-public-apis

Document undocumented public APIs in PyTorch by removing functions from coverage_ignore_functions and coverage_ignore_classes in docs/source/conf.py, running Sphinx coverage, and adding the appropriate autodoc directives to the correct .md or .rst doc files. Use when a user asks to remove functions from conf.py ignore lists.

Stars
100,283
Source
pytorch/pytorch
Updated
2026-05-31
Slug
pytorch--pytorch--document-public-apis
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/pytorch/pytorch/HEAD/.claude/skills/document-public-apis/SKILL.md -o .claude/skills/document-public-apis.md

Drops the SKILL.md into .claude/skills/document-public-apis.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.