# Triage

Gatekeep and review GitHub issues and pull requests for Qwen Code maintainers.

- Repository: https://github.com/QwenLM/qwen-code (28858 stars)
- Category: Git and review
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add QwenLM/qwen-code --skill triage -g -a claude-code -y`
Codex: `npx skills add QwenLM/qwen-code --skill triage -g -a codex -y`
Cursor: `npx skills add QwenLM/qwen-code --skill triage -g -a cursor -y`
Gemini CLI: `npx skills add QwenLM/qwen-code --skill triage -g -a gemini-cli -y`

## Description

Gatekeep and review GitHub issues and pull requests for Qwen Code maintainers. Use for GitHub Action issue triage, PR admission checks, product-direction review, KISS-focused PR review, and staged bilingual GitHub comments.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# PR / Issue Gatekeeper

Run staged admission via `gh`. Post comment after each stage.

## Resolve

- Number: from arg or `ISSUE_NUMBER`/`PR_NUMBER` env
- Repo: `--repo` → `REPOSITORY` → `GITHUB_REPOSITORY`

## Fetch

```bash
gh issue view "$NUM" --repo "$REPO" --json number,title,body,author,labels,comments,url
gh pr view "$NUM" --repo "$REPO" --json number,title,body,author,labels,additions,deletions,changedFiles,baseRefName,headRefName,headRefOid,isCrossRepository,isDraft,reviewDecision,url
gh label list --repo "$REPO" --limit 200
```

## Rules

The rest: https://github.com/QwenLM/qwen-code/blob/HEAD/.qwen/skills/triage/SKILL.md
