check-pr

仓库创建 2026年3月2日最近提交 3 小时前SkillHot 收录 3 小时前
▸ 精选理由

自动化审查与修复建议,提升提审质量。

▸ 风险提示

需要仓库访问权限与 API 令牌

这个 Skill 做什么

检查 PR/MR/CL 的评论、状态检查与描述完整性并建议改进。

帮你把 GitHub/GitLab 的 PR 或 Perforce 的 CL 当成品检验一遍,找出 review 评论、失败的 status checks 和 PR 描述里缺的信息,并给出改进建议。准备提交、被要求修复或需要把变更准备好时用它最合适。它还能自动定位当前分支或默认待处理 changelist,综合 review 意见和 CI 状态,告诉你优先该解决什么。

▸ 展开 SKILL.md 英文原文

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.

开发编程代码审查CI 检查PR 修复通用
7.6w
Stars
1.4w
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/paperclipai/paperclip/master/.agents/skills/check-pr/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/paperclipai/paperclip/master/.agents/skills/check-pr/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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.

## Instructions

### 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 orig
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有