pr-triage

v2026.09.24

Classify and summarize a PR for efficient review

GitHub
安装命令
npx skhub add toss/pr-triage
Markdown
SKILL.md

PR Triage

Classify and summarize a PR for review.

Input

$ARGUMENTS — PR number (e.g. 1234)

Workflow

1. Fetch PR info

gh pr view {number} --repo toss/es-toolkit --json title,body,author,files,labels

2. Classify the PR

Based on changed files, assign one or more labels:

PatternLabelReview Focus
src/compat/**/*.ts (not spec)compat-fixReal lodash inconsistency? Use /compat-review to verify.
src/{category}/*.ts (new file)new-functionFollows design principles? Checklist: impl + spec + re-export + docs.
src/{category}/*.ts (modified)core-changeIntentional behavior change? Breaking changes?
src/**/*.spec.tstestEdge cases covered?
docs/**/*.mddocsAll 4 languages updated? Translation quality?
Type-only changes in .tstypesBackward-compatible?
benchmarks/**perfFair benchmark? Sound methodology?
.github/**, config filesinfraCI/build impact?

3. Run quick checks per label

  • compat-fix: yarn vitest run src/compat/{category}/{fn}.spec.ts
  • new-function: Check all checklist items exist (impl, spec, re-export, 4 language docs)
  • core-change: yarn vitest run src/{category}/{fn}.spec.ts + tsc --noEmit
  • docs: Check all 4 language files present and consistent
  • types: tsc --noEmit

4. Report

## PR #{number} — {title}

### Classification: {labels}

### Changed Files
- {file list grouped by label}

### Quick Checks
- [ ] Tests pass
- [ ] Types pass
- [ ] {label-specific checks}

### Review Suggestions
{What to focus on based on the classification}
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

.claude/skills/pr-triage

默认分支

main

最新提交

ee72fc7

Tree SHA

b1877a7