Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

pr-pilot公关试点

Agent Skill

pr-pilot 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,073

周安装

132

GitHub Stars

公开资料未说明

下载量

1,077
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pr-pilot(公关试点)
来源仓库:https://github.com/sliverp/pr-pilot
安装命令:
openclaw skills install pr-pilot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pr-pilot

简介

全流程管理拉取请求,从创建到合并提供专业支持。

  • 涵盖 CI 监控、结构化描述撰写与审查协调等功能。
  • 提升 PR 质量与审核速度,减少沟通成本。pr-pilot 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需绑定 GitHub/GitLab API 权限,建议在非生产环境先行试用。
  • 部分高级功能依赖外部服务,请确认网络策略允许访问。

SKILL.md

name
pr-pilot
description
Submit professional pull requests and manage their full lifecycle — from push to merge. Covers PR creation with structured descriptions, CI monitoring, review response patterns, code iteration, and progress tracking. Use when submitting PRs to any repository, responding to code reviews, or managing multiple open PRs across projects.

PR Pilot — PR Submission & Lifecycle Management

Overview

Submit professional-quality pull requests and manage them through the full review lifecycle until merge (or closure). Covers PR creation, CI monitoring, review response, iteration, and tracking.

Use cases: Open-source contributions, team code reviews, multi-repo PR management, any code submission workflow.

Prerequisites

GitHub CLI must be authenticated — PR creation, review monitoring, and commenting all require it:

gh auth status   # Must show "Logged in"

If not configured, ask the user to provide:

  1. GitHub username — used for --head {username}:{branch} and PR search
  2. GitHub token — run gh auth login or set export GH_TOKEN=<token>

Token is required for: creating PRs, posting comments, checking review status, pushing iterations.

Part 1: Submit the PR

Step 1: Stage & Commit (if not done)

# Stage specific files — never use git add .
git add {specific files}
git diff --cached --stat   # Verify

# Commit with conventional message
git commit -m "{type}({scope}): {description}"

Step 2: Push to Remote

git push origin {branch-name}

# If this is a new branch:
git push -u origin {branch-name}

Step 3: Write PR Description

Use this structured template. Adapt sections based on PR type and scope.

## Summary

{1-2 sentence overview of what this PR does and why}

Closes #{issue_number}.

## Problem

{Description of the bug/issue being fixed:}
- What users experience
- Root cause analysis
- Impact / severity

## Solution

{Technical description of the approach:}
- Architecture / design decisions
- Key abstractions introduced (if any)
- Why this approach over alternatives

## Changes

| File | Change |
|------|--------|
| `path/to/file.py` | **New** — Description |
| `path/to/other.py` | Modified — Description |
| `tests/test_file.py` | **New** — N tests for feature |

## Testing

{paste test output} N passed in X.XXs


{Describe what was tested:}
- Unit tests for ...
- Edge cases covered: ...

## Backward Compatibility

- No breaking changes / Breaking changes in ...

Adaptation by PR type

PR TypeFocus SectionsSkip/Minimize
Bug fixProblem + Solution + TestingDesign Decisions (unless non-obvious)
FeatureAll sections + Extensibility Example
Security fixDefense-in-depth, bypass scenarios, residual risk
RefactorMotivation, before/after comparisonProblem (reframe as "improvement")

Step 4: Create the PR

# Save description to a temp file
cat > /tmp/pr_body.md << 'EOF'
{pr description}
EOF

# Create PR
gh pr create \
    --repo {owner}/{repo} \
    --head {username}:{branch} \
    --base {default-branch} \
    --title "{type}({scope}): {description}" \
    --body-file /tmp/pr_body.md

Step 5: Verify

# Check PR was created
gh pr view {number} --repo {owner}/{repo} --json url,state,statusCheckRollup

# Verify CI is running
gh pr checks {number} --repo {owner}/{repo}

PR Description Quality Checklist

  • [ ] Links to the issue being fixed (with Closes #N)
  • [ ] Explains root cause, not just symptom
  • [ ] Describes solution approach and design decisions
  • [ ] Includes test results
  • [ ] Has file change summary table
  • [ ] Addresses backward compatibility

Part 2: Manage the PR Lifecycle

2a. Monitor PR Status

Check status periodically:

# Single PR
gh pr view {number} --repo {owner}/{repo} \
    --json state,reviews,comments,mergeable,statusCheckRollup

# All your open PRs
gh search prs --author={username} --state=open \
    --json repository,number,title,url,updatedAt

2b. Respond to Reviews

When a reviewer provides feedback, classify and respond:

Pattern 1: Actionable Code Fix

Reviewer: "This should handle the null case" / "Add error handling for X"

Action: Fix code → add test → push → reply.

Good catch — fixed in {commit_sha}. Added null check and a test case for this scenario.

Pattern 2: Architecture Concern

Reviewer: "This approach is fundamentally flawed because..."

Action: If fundamental, consider full rearchitecture.

You're absolutely right — {acknowledge specific concern}. I've rearchitected this in #{new_pr_number}:

{Brief description of new approach}

Closing this PR in favor of the new approach.

Steps for major rework:

  1. Create new branch from upstream
  2. Reimplement with new approach
  3. Create new PR referencing the old
  4. Close old PR with comment pointing to new one
  5. Reply to reviewer on new PR

Pattern 3: Style / Convention Nit

Reviewer: "We use camelCase here" / "Please add docstring"

Action: Quick fix → push → reply.

Fixed in {commit_sha}, thanks for pointing out the convention.

Pattern 4: Question / Clarification

Reviewer: "Why did you choose X over Y?"

Action: Explain clearly. If they suggest a better approach, adopt it.

{Direct answer}. {Trade-off explanation}.

Pattern 5: Request for Tests

Reviewer: "Can you add a test for the edge case where...?"

Action: Write test → verify → push → reply.

Added in {commit_sha}. The new test covers:
- {scenario 1}
- {scenario 2}

Iteration Workflow

cd ~/prs/{repo}
git checkout {branch}
git pull origin {branch}

# Make changes based on review
# ...

# Run tests
python -m pytest --tb=short

# Commit and push
git add {files}
git commit -m "address review: {description}"
git push origin {branch}

2c. Handle CI Failures

gh pr checks {number} --repo {owner}/{repo}
CI ResultAction
Failure in your codeFix and push
Pre-existing/flaky failureComment on PR noting it
CI needs configCheck CONTRIBUTING.md
Merge conflictsgit fetch upstream && git rebase upstream/main, resolve, force push

2d. Track Progress

Maintain {workspace}/pr-tracker.md for multi-PR management:

# PR Campaign Tracker

> Last updated: {date}

| # | Repository | PR | Title | Status | Issue |
|---|------------|-----|-------|--------|-------|
| 1 | owner/repo | [#N](url) | fix(x): desc | 🟢 Open | #N |
| 2 | ... | ... | ... | 🟣 Merged | #N |

Status icons:

  • 🟢 Open — Waiting for review
  • 🟡 Changes Requested — Needs iteration
  • 🔵 Approved — Ready to merge
  • 🟣 Merged
  • 🔴 Closed (not merged)

Update the tracker after each PR event (creation, review, iteration, merge, close).


Review Response Principles

  1. Reply to every comment — even if just "Done" or "Good point, fixed"
  2. Thank the reviewer in your first response to a review round
  3. Never argue — explain once, then defer to the maintainer
  4. Be specific — reference commits, line numbers, test names
  5. Respond promptly — within 24-48 hours keeps momentum
  6. Update PR description if the approach changed significantly

Output

  • PR URL, CI status verified
  • Review responses and iterations
  • Updated pr-tracker.md

Tips

  • In a development pipeline, this follows dev-test and is the final delivery step.
  • For managing a portfolio of PRs, run the status check periodically (or set up an automation).
  • When responding to architecture concerns, creating a fresh PR (instead of force-pushing a rewrite) keeps the review history clean and makes reviewers' jobs easier.
  • Always run tests locally before pushing review iterations.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.15%
按下载量换算1,036

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills