概要
The PyTorch Docstring skill is a specialized tool designed to ensure that code documentation meets the rigorous standards of the PyTorch project. It automates the creation of raw-string docstrings to protect LaTeX backslashes, standardizes function signatures, and formats parameter lists (Args/Keyword Args) according to PyTorch's specific indentation and typing rules. Whether you are documenting new neural network layers, C-bound functions, or mathematical operations, this skill provides the correct patterns for cross-referencing, mathematical notation, and example blocks to ensure high-quality, render-ready documentation.