Es-toolkit pr-triage

Classify and summarize a PR for efficient review

install
source · Clone the upstream repo
git clone https://github.com/toss/es-toolkit
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/toss/es-toolkit "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/pr-triage" ~/.claude/skills/toss-es-toolkit-pr-triage && rm -rf "$T"
manifest: .claude/skills/pr-triage/SKILL.md
source content

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.ts
testEdge cases covered?
docs/**/*.md
docsAll 4 languages updated? Translation quality?
Type-only changes in
.ts
typesBackward-compatible?
benchmarks/**
perfFair benchmark? Sound methodology?
.github/**
, config files
infraCI/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}