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.
ID: snakeo/claude-debug-and-refactor-skills-plugin/refactor:pytorch
91
Install this agent skill to your local
Skill Files
The files that make up refactor:pytorch.
Loading file tree…
More agent skills
- axiom-audit-networkingUse when the user mentions networking review, deprecated APIs, connection issues, or App Store submission prep.
- writing-skillsUse when creating new skills, editing existing skills, or verifying skills work before deployment
- stitch-loopTeaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
- honcho-integrationIntegrate Honcho memory into existing Python or TypeScript codebases. Use when adding Honcho SDK, setting up peers, configuring sessions, and accessing Honcho's representation.
- erlang-distributionUse when erlang distributed systems including node connectivity, distributed processes, global name registration, distributed supervision, network partitions, and building fault-tolerant multi-node applications on the BEAM VM.
- email-opsECC用の証拠ベースのメールボックストリアージ、ドラフト作成、送信検証、および送信済みメールセーフフォローアップワークフロー。ユーザーがメールを整理したり、実際のメールサーフェスを通じてドラフトまたは送信したい、または送信済みメールに何が到着したかを証明したい場合に使用します。