Toolverse
All skills

docstring

by pytorch

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
pytorch
Category
Data Science
Views
81

About this skill

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

How to use

  1. Zainstaluj umiejętność w swoim środowisku Claude/Copilot, wskazując repozytorium PyTorch i ścieżkę .claude/skills/docstring. 2. Otwórz plik Python zawierający funkcję lub metodę, dla której chcesz napisać docstring. 3. Umieść kursor na linii przed funkcją i poproś Claude o wygenerowanie docstringa, podając nazwę funkcji oraz jej parametry i typ zwracany. 4. Claude wygeneruje docstring w formacie raw string (r"""...""") z sygnaturą funkcji, krótkim opisem i przykładami użycia. 5. Jeśli funkcja zawiera operacje matematyczne, docstring automatycznie doda dyrektywy Sphinx (:math:) dla formuł. 6. Przejrzyj wygenerowany tekst, upewnij się, że zawiera odnośniki do powiązanych funkcji (:func:, :class:, :meth:) i dostosuj je do struktury projektu, jeśli jest to konieczne.

Related skills

threejs

by mrgoonie

Build 3D web apps with Three.js (WebGL/WebGPU). Use for 3D scenes, animations, custom shaders, PBR materials, VR/XR experiences, games, data visualizations, product configurators.

Data Science
1743

docx

by anthropics

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content,

Data Science
39142

notebooklm

by leegonzales

Query Google NotebookLM for source-grounded, citation-backed answers from uploaded documents. Reduces hallucinations through Gemini's document-only responses. Browser automation with library management and persistent authentication.

Data Science
142112

pptx

by anthropics

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

Data Science
134310

stock-analyzer

by FrancyJGLisboa

Provides comprehensive technical analysis for stocks and ETFs using RSI, MACD, Bollinger Bands, and other indicators. Activates when user requests stock analysis, technical indicators, trading signals, or market data for specific ticker symbols.

Data Science
23128

codex

by Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention \

Data Science
16163