Agent Skills: refactor:pytorch

Refactor PyTorch code to improve maintainability, readability, and adherence to best practices. Identifies and fixes DRY violations, long functions, deep nesting, SRP violations, and opportunities for modular components. Applies PyTorch 2.x patterns including torch.compile optimization, Automatic Mixed Precision (AMP), optimized DataLoader configuration, modular nn.Module design, gradient checkpointing, CUDA memory management, PyTorch Lightning integration, custom Dataset classes, model factory patterns, weight initialization, and reproducibility patterns.

UncategorizedID: snakeo/claude-debug-and-refactor-skills-plugin/refactor:pytorch

Install this agent skill to your local

pnpm dlx add-skill https://github.com/snakeo/claude-debug-and-refactor-skills-plugin/refactor:pytorch

Skill Files

Browse the full folder contents for refactor:pytorch.

Download Skill

Loading file tree…

Select a file to preview its contents.