add-uint-support
Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to…
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.
$ npx -y skills add pytorch/pytorch --skill skill-writer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-writerContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.
name: skill-writer description: Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.
This Skill helps you create well-structured Agent Skills for Claude Code that follow best practices and validation requirements.
Use this Skill when:
First, understand what the Skill should do:
1. **Ask clarifying questions**:
2. **Keep it focused**: One Skill = one capability
Determine where to create the Skill:
**Personal Skills** (`~/.claude/skills/`):
**Project Skills** (`.claude/skills/`):
Create the directory and files:
# Personal mkdir -p ~/.claude/skills/skill-name # Project mkdir -p .claude/skills/skill-name
For multi-file Skills:
skill-name/
├── SKILL.md (required)
├── reference.md (optional)
├── examples.md (optional)
├── scripts/
│ └── helper.py (optional)
└── templates/
└── template.txt (optional)Create YAML frontmatter with required fields:
--- name: skill-name description: Brief description of what this does and when to use it ---
**Field requirements**:
**Optional frontmatter fields**:
allowed-tools: Read, Grep, Glob
Use for:
The description is critical for Claude to discover your Skill.
**Formula**: `[What it does] + [When to use it] + [Key triggers]`
**Examples**:
✅ **Good**:
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
✅ **Good**:
description: Analyze Excel spreadsheets, create pivot tables, and generate charts. Use when working with Excel files, spreadsheets, or analyzing tabular data in .xlsx format.
❌ **Too vague**:
description: Helps with documents description: For data analysis
**Tips**:
Use clear Markdown sections:
# Skill Name Brief overview of what this Skill does. ## Quick start Provide a simple example to get started immediately. ## Instructions Step-by-step guidance for Claude: 1. First step with clear action 2. Second step with expected outcome 3. Handle edge cases ## Examples Show concrete usage examples with code or commands. ## Best practices - Key conventions to follow - Common pitfalls to avoid - When to use vs. not use ## Requirements List any dependencies or prerequisites: ```bash pip install package-name
For complex scenarios, see [reference.md](reference.md).
### Step 7: Add supporting files (optional) Create additional files for progressive disclosure: **reference.md**: Detailed API docs, advanced options **examples.md**: Extended examples and use cases **scripts/**: Helper scripts and utilities **templates/**: File templates or boilerplate Reference them from SKILL.md: ```markdown For advanced usage, see [reference.md](reference.md). Run the helper script: \`\`\`bash python scripts/helper.py input.txt \`\`\`
Check these requirements:
✅ **File structure**:
✅ **YAML frontmatter**:
✅ **Content quality**:
✅ **Testing**:
1. **Restart Claude Code** (if running) to load the Skill
2. **Ask relevant questions** that match the description:
Can you help me extract text from this PDF?
3. **Verify activation**: Claude should use the Skill automatically
4. **Check behavior**: Confirm Claude follows the instructions correctly
If Claude doesn't use the Skill:
1. **Make description more specific**:
2.
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to…
Debug AOTInductor (AOTI) errors and crashes. Use when encountering AOTI segfaults, device mismatch errors, constant loading failures, or runtime errors from…
Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or…
Query PyTorch CI, GitHub Actions, HUD, Grafana, and infrastructure metrics. Use when users ask about CI duration, job failures, queue times, workflow trends,…
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. Use when fixing large-tensor indexing overflows, deciding whether to use int64_t,…
Sub-triages issues in the oncall:distributed queue by assigning distributed module labels, routing to sub-oncalls, and marking triaged. Use when an issue has…