概要
The PyTorch Docstring skill provides Claude with domain-specific guidance for writing high-quality documentation within the PyTorch ecosystem. It automates the complex formatting required for PyTorch functions, including raw string usage for LaTeX math, specific signature structures, and standardized sections for arguments, keyword arguments, and examples. By following the conventions found in torch/_tensor_docs.py, this skill ensures that all documentation is consistent, cross-referenced correctly, and ready for Sphinx rendering, making it an essential tool for PyTorch contributors and library maintainers.