Token导航 LogoToken导航

Agent Skill · 研究检索

pr-creator(公关创作者)

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

pr-creator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 40,865。

总安装 1,247周安装 53GitHub Stars 公开资料未说明下载 437核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/perdolique/workflow --skill pr-creator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。pr-creator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词或任务场景快速定位候选结果。可结合来源仓库和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件读写。归类为研究检索类,符合其信息筛选的核心能力。

来源仓库内路径:skills/pr-creator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/perdolique/workflow --skill pr-creator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pr-creator 怎么安装?

在终端执行 npx skills add https://github.com/perdolique/workflow --skill pr-creator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pr-creator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pr-creator 需要什么权限?

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

pr-creator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pr-creator 用的人多吗?

公开数据是累计安装 1,247 次,近一周安装 53 次,下载 437 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pr-creator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pr-creator

公关创作者 · 本页

1,247—需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GitHub Pull Request

Language Requirement

CRITICAL: Always write all PR content (title, description, comments) in English only, regardless of the conversation language or user's preferred language. This is a strict, non-negotiable requirement that applies in all modes.

Writing Style

Style Reference:

  • Always write using a similar style as this example: "This is a community for chill dudes😎👍 who love to puff on a hookah🌬 with double apple🍎🍏, know their way around bowl packs💨, aren't fans of vapers🤣, and respect their ladies👩‍🥳🙏."
  • Use emojis as frequently as shown in the example
  • Do not include the example message itself in PR descriptions, just use it as a style reference

See references/pr-examples.md for more examples.

Determine Mode of Operation

Identify which mode to use based on user's request:

Mode 1: Generate PR Content in Chat

Use when user wants to see/copy PR content WITHOUT creating it on GitHub:

  • Explicit requests: "show PR", "generate PR", "output PR", "give me PR", "PR to chat", "send to chat"
  • Key indicators: Words like "show", "display", "output", "give", "send to chat" without "create"/"open"
  • When unclear: If ambiguous (no existing PR, no clear "create" intent), default to this mode

Mode 2: Create PR on GitHub

Use when user wants to actually create PR:

  • Explicit creation: "create PR", "open PR", "make PR", "submit PR"
  • Clear action: User clearly wants to create/open PR on GitHub

Default for ambiguous requests: Use Mode 1 (generate in chat) to show user what will be created first.

Workflow for Creating Pull Requests

Follow this workflow systematically when creating PRs:

Step 1: Determine the Scenario

Which scenario applies?

  • Scenario A: Creating PR for existing branch with commits

- Branch exists with commits that differ from base branch - Need to analyze ALL commits in the branch - → Use git diff/log or branch comparison tools

  • Scenario B: User has uncommitted/unstaged local changes

- Changes not yet committed - User wants to commit and create PR - → First help commit changes, then proceed with Scenario A

Most PR requests are Scenario A — analyzing an existing feature branch.

Step 2: Identify Current Branch and Base Branch

First, determine what branch you're working with:

# Refresh remote refs first so the base comparison uses the latest remote state
git fetch origin --prune

# Get current branch name
git branch --show-current

# Identify the remote default branch ref (preferred)
git symbolic-ref --quiet --short refs/remotes/origin/HEAD

# Fallback: identify the remote default branch name if origin/HEAD is unavailable
git remote show origin | grep "HEAD branch"

Use the remote-tracking base ref for comparisons whenever possible (for example origin/main, not local main). git fetch updates remote refs, but it does not move your local default branch, so comparing against local main/master can miss changes or produce stale diffs.

Common base refs: origin/master, origin/main, origin/develop

Step 3: Get Complete Branch Changes

Analyze all changes in the entire branch that will be merged, not just:

  • ❌ The last commit
  • ❌ Previous chat context
  • ❌ Individual file changes mentioned earlier

What you need to obtain:

  • Complete diff between current branch and base branch
  • List of all modified files
  • Ordered commit metadata for every commit in the branch: subject, full SHA, and short SHA
  • Repository URL context for GitHub link generation (owner/repo or a canonical GitHub remote URL)
  • Full context of what changed

How to get this information:

Primary approach - Git commands (universal):

# Get full diff between branches using the remote-tracking base ref
git diff <base-ref>...<current-branch>

# Example:
git diff origin/main...feature-branch

# List changed files only:
git diff --name-status origin/main...feature-branch

# See all commits in branch:
git log <base-ref>..<current-branch> --oneline

# Capture commit subjects with both full and short SHAs:
git log --reverse --format='%H%x09%h%x09%s' <base-ref>..<current-branch>

# Capture the canonical GitHub remote URL when you need commit links:
git remote get-url origin

<base-ref> should usually be the remote default branch ref you discovered in Step 2, such as origin/main.

Alternative - Use available tools in your environment:

Depending on your environment, you may have access to:

  • IDE diff viewers or change tracking features
  • Version control UI showing branch comparisons
  • File comparison tools
  • Any method that shows complete changeset between branches

The key is obtaining the complete changeset, regardless of the method.

For uncommitted changes: If changes are not yet committed, first check what's uncommitted using:

  • git status and git diff (for git environments)
  • Your IDE's change tracker or source control panel
  • Any tool showing unstaged/uncommitted modifications

Troubleshooting "No Changes" Issue:

If you get empty diff or "no changes":

  1. ✅ Verify you're comparing the current branch against the correct remote base ref (origin/main, not stale local main)
  2. ✅ Refresh remote refs again if needed: git fetch origin --prune
  3. ✅ Check if current branch IS the base branch (can't PR main to main!)
  4. ✅ Ensure commits exist in branch: git log --oneline -10
  5. ✅ Try: git log <base-ref>..<current-branch> to see commits
  6. ❌ If truly no changes, inform user PR cannot be created without changes

Step 4: Analyze Changes Comprehensively

  1. Review every modified file in the branch
  2. Understand the cumulative impact of all commits
  3. Identify affected packages/modules (important for monorepos)
  4. Note any breaking changes or migration requirements

Step 5: Generate PR Content

LANGUAGE: Write all content in English only — title, description, every line.

Based on complete analysis, create:

  • Title that reflects the main purpose of ALL changes
  • Summary listing all significant modifications
  • Motivation explaining why these changes were needed
  • Related issues with proper linking
  • A Commits section at the end only when the branch has more than one commit

For the Commits section:

  • Use one bullet per commit in branch order
  • Start each bullet with a short commit summary derived from the commit subject
  • End each bullet with the short hash as a markdown link in parentheses
  • In Mode 1 (text/chat output), link each short hash to the standard commit URL: https://github.com/<owner>/<repo>/commit/<full-sha>
  • In Mode 2 (create/open PR), create the PR first, then update the PR body so each short hash links to the PR-specific changes view: https://github.com/<owner>/<repo>/pull/<pr-number>/changes/<full-sha>
  • Never fabricate a PR number in advance. If you cannot update the PR body after creation with the available tools, fall back to standard commit URLs and mention that limitation clearly

This workflow ensures PR descriptions accurately reflect the total scope of changes being merged.

Step 6: Create PR or Output to Chat

If Mode 2 (Create PR on GitHub) - Default action:

  1. Get the current authenticated GitHub user login using available tools to retrieve the current authenticated user
  2. Create the PR as a draft by default unless the user explicitly asked for a ready-for-review PR, a non-draft PR, or otherwise made it clear that the PR should be immediately reviewable
  3. If the PR creation tool supports a draft flag or parameter, set it explicitly during creation instead of relying on implicit defaults
  4. If the available PR creation tool cannot create a draft PR directly, prefer another available GitHub tool or workflow that can preserve the draft default before falling back to a non-draft PR
  5. Assign the current authenticated user as an assignee
  6. If the PR creation tool cannot set assignees during creation, immediately update the created PR with an issue or PR update tool that supports assignees
  7. Never add the current authenticated user as a reviewer unless the user explicitly asked for reviewers or named specific reviewer logins. reviewers and assignees are different GitHub concepts and are not interchangeable.
  8. If the branch has more than one commit, update the PR body after creation so the final Commits section uses PR-scoped links in the form .../pull/<pr-number>/changes/<full-sha>
  9. After successful creation, provide user with the PR URL, mention whether it was created as draft or ready for review, and mention the assignee when one was added

If Mode 1 (Generate in Chat) - Fallback:

Output the PR content in chat using the format described in "Fallback: Output Format for Chat" section.

Skip GitHub creation if:

  • User explicitly requested text output only (Mode 1)
  • Authentication/API errors occur (then fallback to Mode 1)
  • Request is ambiguous (then fallback to Mode 1 to show user what will be created)

Fallback: Output Format for Chat

Use this format when in Mode 1 (Generate PR Content in Chat):

  • User explicitly requests viewing/copying PR content (see "Determine Mode of Operation" section above)
  • Cannot create PR due to API/authentication issues
  • Request is ambiguous (no clear "create" intent)
  • User specifically asks not to create the PR yet

When outputting PR content to chat instead of creating it on GitHub:

Wrap the complete PR content in a markdown code block:

[PR Title Here]

[Full PR Description Here]

This allows user to easily copy the entire PR content with proper formatting preserved.

Output PR content in a code block, not as rendered markdown.

PR Title

  • ≤50 characters, imperative mood ("Add feature" not "Added" or "Adds")
  • Accurately reflect main purpose of changes
  • No issue numbers in title (use description)
  • For monorepos, consider a scoped title (e.g., feat(scope): description)

Examples:

  • Add dark mode support to theme package
  • Fix input validation in text field component
  • Refactor build configuration for better performance

PR Description

Required sections:

  1. Summary - What changed (bullet points, mention affected packages/modules)
  2. Motivation - Why these changes were necessary, impact on project
  3. Related Issues - Fixes #123, Closes #456, Related to #789
  4. Commits - Include this section only when the branch has more than one commit. Place it at the end of the description

Optional sections:

  • Testing Notes
  • Breaking Changes (with migration guide)
  • Performance Impact

Commits section details

When a branch contains more than one commit, append a ## Commits section after the other sections in the PR description.

  • Use one bullet per commit, ordered from oldest to newest
  • Use the commit subject as the default short summary unless it is clearly too noisy, then trim it lightly without changing meaning
  • Format each bullet like this: - docs(copilot): add LSP configuration and documentation ([87722d74](https://github.com/Perdolique/workflow/pull/3/changes/87722d74bf2a6f70f613f1f4f21c0b4749932c0f))
  • Keep the summary text plain; only the short hash should be linked
  • In Mode 1 (generate in chat), use .../commit/<full-sha> links because no PR number exists yet
  • In Mode 2 (create/open PR), prefer .../pull/<pr-number>/changes/<full-sha> links after the PR has been created
  • Do not include the Commits section for single-commit branches

Dependency update details

When the branch updates dependencies or package versions, make those changes explicit in the PR description.

  • List every updated package separately
  • Include both old and new version for each package
  • Use the format - package-name: old-version -> new-version
  • Do not replace the package list with vague summaries like updated some dependencies
  • Keep dependency bullets in Summary or in a dedicated Dependency updates subsection when there are many of them

Example:

## Summary

Adds dark mode support to the theme package:

- Added dark color palette with semantic tokens
- Updated CSS variables for theme switching
- Added theme toggle component

## Motivation

Users requested dark mode to reduce eye strain and improve accessibility.

## Related Issues

Fixes #42

Edge Cases

  • Large changesets: Group changes by component in summary
  • Updating existing PR: Preserve metadata, add update comment
  • Breaking changes: Mark clearly, provide migration guide
  • Monorepo: Clearly indicate affected packages

平台分布

Codex

33.14%
按下载量换算145

Claude

31.25%
按下载量换算137

Cursor

17.87%
按下载量换算78

Gemini CLI

9.75%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills