用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mizrael/OpenSleigh --skill triage-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | triage-pr |
| description | Fetch, analyze, and triage PR review comments — present report for user approval before any action |
| disable-model-invocation | true |
| argument-hint | [pr-number] |
Triage all review comments on PR #$ARGUMENTS in the current repository.
CRITICAL: Do NOT reply to any comments, modify any code, or take any action until the user explicitly approves. This workflow is report-first, act-later.
Use gh api to fetch:
gh api repos/{owner}/{repo}/pulls/{pr}/commentsgh api repos/{owner}/{repo}/issues/{pr}/commentsgh pr view {pr} --json reviewsExtract the owner/repo from the current git remote.
For every review comment, read the actual source code referenced by the comment before judging. Do not rely solely on the diff hunk. Classify each comment as:
if/continue is idiomaticPresent a full report to the user with these sections. Skip bot comments (Cloudflare deploy notifications, CI status, etc.).
| # | File:Line | Issue | Recommended Fix |
|---|
| # | File:Line | Issue | Recommendation |
|---|
| # | File:Line | Reviewer Says | Why It's Wrong |
|---|
After presenting the report, ask the user what they want to do. Offer these options:
For replying to false positives, use:
gh api repos/{owner}/{repo}/pulls/{pr}/comments/{comment_id}/replies -X POST -f body="..."
Group similar false positives — reply to the first in a cluster and note it covers the others.
For code fixes:
dotnet build to verifyDo NOT merge or close the PR.