用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/toss/es-toolkit --skill pr-triage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | pr-triage |
| description | Classify and summarize a PR for efficient review |
| argument-hint | <PR number> |
| allowed-tools | Bash, Read, Grep, Glob |
Classify and summarize a PR for review.
$ARGUMENTS — PR number (e.g. 1234)
gh pr view {number} --repo toss/es-toolkit --json title,body,author,files,labels
Based on changed files, assign one or more labels:
| Pattern | Label | Review Focus |
|---|---|---|
src/compat/**/*.ts (not spec) | compat-fix | Real lodash inconsistency? Use /compat-review to verify. |
src/{category}/*.ts (new file) | new-function | Follows design principles? Checklist: impl + spec + re-export + docs. |
src/{category}/*.ts (modified) | core-change | Intentional behavior change? Breaking changes? |
src/**/*.spec.ts | test | Edge cases covered? |
docs/**/*.md | docs | All 4 languages updated? Translation quality? |
Type-only changes in .ts | types | Backward-compatible? |
benchmarks/** | perf | Fair benchmark? Sound methodology? |
.github/**, config files | infra | CI/build impact? |
yarn vitest run src/compat/{category}/{fn}.spec.tsyarn vitest run src/{category}/{fn}.spec.ts + tsc --noEmittsc --noEmit## 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}
基于 SOC 职业分类