Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

pr-research公关研究

Agent Skill

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

总安装

9,278

周安装

379

GitHub Stars

318

下载量

2,971
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/boshu2/agentops --skill pr-research

简介

pr-research 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

PR Research Skill

Systematic exploration of upstream repositories before contributing.

Overview

Research an external codebase to understand how to contribute effectively. This is the FIRST step before planning or implementing an open source contribution.

When to Use:

  • Before contributing to an external repository
  • Starting a new open source contribution
  • Evaluating whether to contribute to a project

When NOT to Use:

  • Researching your own codebase (use $research)
  • Already familiar with the project's guidelines

Workflow

-1. Prior Work Check    -> BLOCKING: Check for existing issues/PRs
0.  CONTRIBUTING.md     -> MANDATORY: Find contribution guidelines
1.  Repository Setup    -> Clone/identify upstream repo
2.  Guidelines Analysis -> Templates, CODE_OF_CONDUCT
3.  PR Archaeology      -> Analyze merged PRs, commit patterns
4.  Maintainer Research -> Response patterns, review expectations
5.  Issue Discovery     -> Find contribution opportunities
6.  Output              -> Write research document

Phase -1: Prior Work Check (BLOCKING)

CRITICAL: Before ANY research, check if someone is already working on this.

# Search for open issues on this topic
gh issue list -R <owner/repo> --state open --search "<topic keywords>" --limit 20

# Search for open PRs that might address this
gh pr list -R <owner/repo> --state open --search "<topic keywords>" --limit 20

# Check for recently merged PRs (might already be fixed)
gh pr list -R <owner/repo> --state merged --search "<topic keywords>" --limit 10
FindingAction
Open issue existsLink to it, don't create duplicate
Open PR existsDon't duplicate work
Recently merged PRVerify fix, no work needed
No prior work foundProceed to Phase 0

Phase 0: CONTRIBUTING.md Discovery (BLOCKING)

CRITICAL: Do not proceed without finding contribution guidelines.

# Check all common locations
cat CONTRIBUTING.md 2>/dev/null
cat .github/CONTRIBUTING.md 2>/dev/null
cat docs/CONTRIBUTING.md 2>/dev/null

# Check README for contribution section
grep -i "contribut" README.md | head -10

Extract Key Requirements

RequirementWhere to Find
Commit format"Commit messages" section
PR process"Pull Requests" section
Testing requirements"Testing" section
Code style"Style" section
CLA/DCO"Legal" or "License" section

Phase 3: PR Archaeology

CRITICAL: Understand what successful PRs look like.

# List recent merged PRs
gh pr list --state merged --limit 20

# Recent commit style
git log --oneline -30 | head -20

# Check for conventional commits
git log --oneline -30 | grep -E "^[a-f0-9]+ (feat|fix|docs|refactor|test|chore)(\(.*\))?:"

PR Size Analysis

SizeFilesLinesLikelihood
Small1-3<100High acceptance
Medium4-10100-500Moderate
Large10+500+Needs discussion first

Phase 5: Issue Discovery

# Find beginner-friendly issues
gh issue list --label "good first issue" --state open
gh issue list --label "help wanted" --state open

# Issues with no assignee
gh issue list --state open --json assignees,title,number | \
  jq -r '.[] | select(.assignees | length == 0) | "#\(.number): \(.title)"' | head -10

Output

Write to .agents/research/YYYY-MM-DD-pr-{repo-slug}.md

# PR Research: {repo-name}

## Executive Summary
{2-3 sentences: project health, contribution friendliness}

## Contribution Guidelines
| Document | Status | Key Requirements |
|----------|--------|------------------|
| CONTRIBUTING.md | Present/Missing | {summary} |
| PR Template | Present/Missing | {required sections} |

## PR Patterns
- **Average size**: X files, Y lines
- **Commit style**: {conventional/imperative/etc}
- **Review time**: ~X days

## Contribution Opportunities
| Issue | Type | Difficulty |
|-------|------|------------|
| #N | bug/feat | easy/medium |

## Next Steps
-> `$pr-plan .agents/research/YYYY-MM-DD-pr-{repo}.md`

Anti-Patterns

DON'TDO INSTEAD
Skip guidelines checkAlways read CONTRIBUTING.md first
Ignore PR patternsStudy successful merged PRs
Start with large PRsBegin with small, focused changes

Workflow Integration

$pr-research <repo> -> $pr-plan <research> -> implement -> $pr-prep

Examples

Research Upstream Before Contributing

User says: "Do PR research for owner/repo before I propose a fix."

What happens:

  1. Inspect contribution guidelines and governance files.
  2. Analyze merged PR patterns and conventions.
  3. Produce a research artifact with opportunities and risks.

Scope Discovery

User says: "Find small starter contribution options in this repo."

What happens:

  1. Scan issues/labels and prior merged work.
  2. Classify candidates by difficulty and scope.
  3. Recommend a smallest-safe starting contribution.

Troubleshooting

ProblemCauseSolution
No contribution guide foundRepo lacks standard filesInfer conventions from merged PR history and maintainers' comments
Too many possible issuesScope not constrainedFilter by labels, component paths, and recent maintainer activity
Suggested work seems riskyHidden dependency or broad blast radiusDownscope to narrower file/domain boundary and restate assumptions
Output is too genericInsufficient repository evidenceAdd concrete file/PR references and explicit pattern findings

Reference Documents

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.52%
按下载量换算1,026

Claude

33.11%
按下载量换算984

Cursor

20.12%
按下载量换算598

Gemini CLI

9.5%
按下载量换算282

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills