mcpField
P
pr-triage

pr-triage

github.com/tossTesting & quality11.4k188 installsUpdated 2d ago
Repository

About pr-triage

A PR triage skill for toss/es-toolkit contributors that classifies a pull request by its changed files and summarizes review considerations. It also runs quick checks selected for the assigned categories.

Key features

  1. 01Fetch PR details and changed files
  2. 02Classify changes with review labels
  3. 03Choose quick checks by classification
  4. 04Summarize changed files and checks

Use cases

  1. 01Prepare a pull request for review
  2. 02Identify focused checks for a set of changes
  3. 03Summarize the scope and classification of a PR

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/toss/es-toolkit --skill pr-triage

After installing, type/pr-triagein Claude Code to confirm it loaded.

Details

From the project README

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}

Comments

Markdown supported