check-pr 是什么?
Check a GitHub, GitLab, or Perforce PR/MR/CL for review comments, failing checks, and PR-body gaps. Use when asked to inspect, fix, or prepare a change for submission.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
check-pr,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 check-pr
请在 Codex 的当前工作环境中安装并检查 check-pr 这个 Skill。
项目身份:paperclipai/paperclip / check-pr
来源:https://github.com/paperclipai/paperclip/blob/558dbb01320987eb9aba80d5d1a8e66604456f72/.agents/skills/check-pr/SKILL.md
已定位的源文件:.agents/skills/check-pr/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 check-pr
请在 Claude Code 的当前工作环境中安装并检查 check-pr 这个 Skill。
项目身份:paperclipai/paperclip / check-pr
来源:https://github.com/paperclipai/paperclip/blob/558dbb01320987eb9aba80d5d1a8e66604456f72/.agents/skills/check-pr/SKILL.md
已定位的源文件:.agents/skills/check-pr/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 check-pr
请在 Cursor Agent 的当前工作环境中安装并检查 check-pr 这个 Skill。
项目身份:paperclipai/paperclip / check-pr
来源:https://github.com/paperclipai/paperclip/blob/558dbb01320987eb9aba80d5d1a8e66604456f72/.agents/skills/check-pr/SKILL.md
已定位的源文件:.agents/skills/check-pr/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 check-pr
请在 当前 Agent 的当前工作环境中安装并检查 check-pr 这个 Skill。
项目身份:paperclipai/paperclip / check-pr
来源:https://github.com/paperclipai/paperclip/blob/558dbb01320987eb9aba80d5d1a8e66604456f72/.agents/skills/check-pr/SKILL.md
已定位的源文件:.agents/skills/check-pr/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-21T19:32:09.269Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
.agents/skills/check-pr/SKILL.md · 抓取时间 2026-11-21T19:32:09.269Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Check a GitHub, GitLab, or Perforce PR/MR/CL for review comments, failing checks, and PR-body gaps. Use when asked to inspect, fix, or prepare a change for submission.
查看源文件章节 / Source sections
- 原文:Check PR
- 原文:Inputs
- 原文:Instructions
- 原文:0. Detect platform
- 原文:1. Identify the PR/MR/CL
- 原文:2. Fetch PR/MR/CL details
- 原文:3. Wait for pending checks
- 原文:4. Require a fresh Greptile review for the current head
- 原文:5. Analyze the PR/MR
- 原文:A. Status Checks
- 原文:B. PR/MR Description
- 原文:C. Review Comments
- 原文:D. General Comments
- 原文:6. Categorize issues
- 原文:7. Report findings
- 原文:8. Fix issues (if requested)
- 原文:9. Resolve review threads
- 原文:10. Multiple PRs/MRs/CLs
- 原文:Output format
原文:Check PR
Analyze a pull request (GitHub), merge request (GitLab), or shelved changelist (Perforce) for review comments, status checks, and description completeness, then help address any issues found.
原文:Inputs
- **PR/MR/CL number** (optional): If not provided, detect the PR/MR for the current branch, or the default pending changelist for p4.
原文:0. Detect platform
First check if the user is working in a Perforce depot by looking for a `.p4config` file or `P4CLIENT`/`P4PORT` environment variables: ```bash # Check for Perforce environment if p4 info >/dev/null 2>&1; then VCS="perforce" else # Fall back to git remote detection REMOTE_URL=$(git remote get-url origin) if echo "$REMOTE_URL" | grep -qi "gitlab"; then VCS="gitlab" else VCS="github" fi fi ``` For self-hosted GitLab instances whose hostname doesn't contain "gitlab", the user can override by passing `--vcs gitlab` as an input. For Perforce, the user can override by passing `--vcs perforce`.
原文:1. Identify the PR/MR/CL
If a number was provided, use it. Otherwise, detect it: **GitHub:** ```bash gh pr view --json number,headRefName,headRefOid -q '{number: .number, branch: .headRefName, head: .headRefOid}' ``` **GitLab:** ```bash glab mr view --output json | jq '.iid' ``` **Perforce:** ```bash # List pending changelists for the current user/client p4 changes -s pending -u $P4USER -c $P4CLIENT ``` Key field differences between platforms: - GitHub: `number`, `headRefName`, `headRefOid` - GitLab: `iid`, `source_branch`, `sha` - Perforce: changelist number (CL), `shelved` files for in-review CLs
原文:2. Fetch PR/MR/CL details
**GitHub:** ```bash gh pr view <PR_NUMBER> --json title,body,state,reviews,comments,headRefName,headRefOid,statusCheckRollup OWNER_REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner) gh api "repos/$OWNER_REPO/pulls/<PR_NUMBER>/comments" gh api --paginate "repos/$OWNER_REPO/issues/<PR_NUMBER>/comments?per_page=100" ``` GitHub PRs are also issues, so general PR comments live on the issue comments endpoint. Greptile may edit a single general PR comment on each review cycle instead of creating a new review or comment. Always inspect the latest Greptile-authored general comment by `updated_at`, including any "Prompt to fix all with AI" section, before concluding that the PR is clear. **GitLab:** ```bash glab mr view <MR_IID> --output json # Fetch discussions (inline diff comments are type "DiffNote"; general comments have null type) glab api "projects/:fullpath/merge_requests/<MR_IID>/discussions" ``` For GitLab, paginate discussions if needed (add `?per_page=100&page=N`). **Perforce:** ```bash # Get changelist description, files, and status p4 describe -s <CL_NUMBER> # Get shelved files (for in-review CLs) p4 describe -S <CL_NUMBER> # Get the diff of the shelved changelist p4 diff2 //...@=<CL_NUMBER> //...@=<CL_NUMBER> # List review comments (if using p4 review workflow) p4 review -c <CL_NUMBER> ``` Key Perforce CL fields: - `Change`: changelist number - `Status`: `pending`, `submitted`, `shelved` - `Description`: the CL description / commit message - `Files`: list of files in the CL
原文:3. Wait for pending checks
Before analyzing, ensure all status checks have completed. If any checks are `PENDING` or `IN_PROGRESS` (GitHub) / `running` or `pending` (GitLab), poll every 30 seconds until all checks reach a terminal state. **GitHub:** poll `statusCheckRollup` from `gh pr view`. **GitLab:** ```bash glab api "projects/:fullpath/merge_requests/<MR_IID>/pipelines" ``` Pipeline statuses: `running`, `pending`, `success`, `failed`, `canceled`, `skipped`. Poll until no pipeline has `running` or `pending` status. **Perforce:** Perforce doesn't have built-in CI checks natively. If the team uses a review tool (Swarm, etc.) or an external CI triggered by shelve events, check the relevant system. Otherwise, proceed to analysis immediately.
文件 SHA256:cb86c773967c69bb02cefed278d282ec8a82b24e9addeec5f44c15c8307b7cbe
仓库许可证记录:MIT;skill-declaration-captured-not-interpreted,查看来源。
Check a GitHub, GitLab, or Perforce PR/MR/CL for review comments, failing checks, and PR-body gaps. Use when asked to inspect, fix, or prepare a change for submission.
历史收录数据
| 来源仓库 | paperclipai/paperclip |
|---|---|
| Skill源路径 | .agents/skills/check-pr/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
