Lightlines
Catalogue
Sign in
By pytorch

triaging-issues

pytorch

Routes PyTorch issues to the right owners safely.

issue triage

What it does

Triages PyTorch GitHub issues by routing them, applying approved labels, and providing first-line responses.

When to use it

Use when processing new PyTorch issues or when asked to triage an issue.

How to use it

Give it a PyTorch issue; it routes, labels, responds to, or closes the issue according to the triage rules.

What you provide

  • a PyTorch issue

Uses


Access · 3

This skill

GitHub issues

Write

Modifies and comments on GitHub issues (irreversible)

$TRIAGE_HOOK_DEBUG_LOG or /tmp/triage_hooks.log

Write

Appends triage diagnostics to a log

GITHUB_REPOSITORY and TRIAGE_ISSUE_NUMBER

Read

Reads trusted triage target variables

Good to know

  • cannot be undone: GitHub issues
  • may misreport its own work

What you need · 4

Requires GitHub MCP tools to retrieve, search, update, comment on, and close issues.

Python 3 runs the validation and post-mutation hook scripts.

The post-mutation hook uses gh to add the bot-triaged label, and label validation uses it to inspect existing labels.

Delegates distributed issues to this sub-skill for second-level routing, module labels, and final triage.


About this skill

Visibility
Public
Repository
pytorch/pytorch
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
8