用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/toss/es-toolkit --skill pr-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | pr-review |
| description | Review recent PRs with deep context and label-specific checks |
| argument-hint | [count=10] |
| allowed-tools | Bash, Read, Grep, Glob, Skill |
Fetch recent PRs, classify, read source code, and produce contextual reviews.
$ARGUMENTS — Number of PRs (default: 10)
Examples:
/pr-review — 10 most recent open PRs/pr-review 20 — 20 PRsgh pr list --repo toss/es-toolkit --state open --limit {count} --json number,title,author,labels,createdAt
Run /pr-triage {number} for each PR to classify.
For each PR, go beyond classification — read the actual source code and provide context:
Read the files being modified on main to understand the current behavior:
Read the diff to understand what's changing:
/compat-review {number}yarn vitest run src/{category}/{fn}.spec.ts + review breaking impacttsc --noEmitGroup PRs by same function name or same files modified.
For each PR, output:
### PR #{number} — {title}
**Classification**: {labels}
**Changed files**: {summary}
**Current code**: {what the function does now, with code snippet}
**PR change**: {what's changing and why, with before/after}
**Context**: {JS spec, lodash behavior, design principle considerations}
**Checkpoints**:
- {specific things to verify}
**Verdict**: {merge / merge with changes / hold for discussion / reject}
## PR Review — {date}
| # | Title | Label | Verdict |
|---|-------|-------|---------|
- {N} ready to merge
- {N} need changes
- {N} need discussion
- {N} potential duplicates