Community编程与开发github.com

pytorch/triaging-issues

通过将GitHub问题路由到值班团队、应用标签和关闭问题来进行分类。用于处理新的PyTorch问题或被要求对问题进行分类时。

triaging-issues 是什么?

该技能用于自动化GitHub问题的分类流程,特别针对PyTorch仓库。它能够将新问题路由到对应的值班团队,自动应用合适的标签,并关闭那些被标记为问答的问题。这对于维护大型开源项目如PyTorch非常有用,因为它可以显著减少人工分类的工作量,提高问题处理效率。该技能支持GitHub平台,与PyTorch仓库的工作流深度集成。通过读取问题的内容、标签和评论,结合预定义的规则和团队分配逻辑,技能可以智能地决定每个问题的去向。用户只需要提供问题的URL或编号,技能就能自动完成分类操作,确保问题得到及时且正确的处理。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/pytorch/pytorch/tree/main/skills/triaging-issues

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

triaging-issues 是做什么的?

通过将GitHub问题路由到值班团队、应用标签和关闭问题来进行分类。用于处理新的PyTorch问题或被要求对问题进行分类时。

概述

此技能帮助维护PyTorch仓库的GitHub问题,通过自动化分类流程节省时间。它根据问题内容(如标题、正文、标签)将其分配到正确的值班团队,并应用适当的标签。对于被识别为问答的问题,它会自动关闭并引导用户到合适的地方。

使用方法

要使用此技能,请提供GitHub问题的URL或编号。技能将:

  1. 分析问题的内容和元数据。
  2. 根据内置规则确定合适的值班团队。
  3. 应用标准标签,如 needs-triage, module: xxx 等。
  4. 如果是问答,则关闭问题并留下标准评论。

示例

配置

此技能不需要额外配置,其规则和团队映射是预定义的。

注意事项

  • 技能仅处理新的未处理问题。
  • 它不会修改已关闭或已分配的问题。
  • 标签和团队分配基于当前PyTorch仓库的维护策略。

请参阅SKILL.md获取完整的技能文档。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

pytorch/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 operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.

pytorch/aoti-debug

Debug AOTInductor (AOTI) errors and crashes. Use when encountering AOTI segfaults, device mismatch errors, constant loading failures, or runtime errors from aot_compile, aot_load, aoti_compile_and_package, or aoti_load_package.

pytorch/at-dispatch-v2

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 other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.

pytorch/docstring

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

pytorch/metal-kernel

Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.

pytorch/pr-review

Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".

pytorch/pyrefly-type-coverage

Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.

pytorch/skill-writer

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.

相关技能