Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计提醒

open-pr公开公关

Agent Skill

open-pr 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

183,773

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/significant-gravitas/autogpt --skill open-pr

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • open-pr 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Open a Pull Request

Step 1: Pre-flight checks

Before opening the PR:

  1. Ensure all changes are committed
  2. Ensure the branch is pushed to the remote (git push -u origin <branch>)
  3. Run linters/formatters across the whole repo (not just changed files) and commit any fixes

Step 2: Test coverage

This is critical. Before opening the PR, verify:

Existing behavior is not broken

  • Identify which modules/components your changes touch
  • Run the existing test suites for those areas
  • If tests fail, fix them before opening the PR — do not open a PR with known regressions

New behavior has test coverage

  • Every new feature, endpoint, or behavior change needs tests
  • If you added a new block, add tests for that block
  • If you changed API behavior, add or update API tests
  • If you changed frontend behavior, verify it doesn't break existing flows

If you cannot run the full test suite locally, note which tests you ran and which you couldn't in the test plan.

Step 3: Create the PR using the repo template

Read the canonical PR template at .github/PULL_REQUEST_TEMPLATE.md and use it verbatim as your PR body:

  1. Read the template: cat.github/PULL_REQUEST_TEMPLATE.md
  2. Preserve the exact section titles and formatting, including:

- ### Why / What / How - ### Changes 🏗️ - ### Checklist 📋

  1. Replace HTML comment prompts (<!--... -->) with actual content; do not leave them in
  2. Do not pre-check boxes — leave all checkboxes as - [] until each step is actually completed
  3. Do not alter the template structure, rename sections, or remove any checklist items

PR title must use conventional commit format (e.g., feat(backend): add new block, fix(frontend): resolve routing bug, dx(skills): update PR workflow). See CLAUDE.md for the full list of scopes.

Use gh pr create with the base branch (defaults to dev if no [base-branch] was provided). Use --body-file to avoid shell interpretation of backticks and special characters:

BASE_BRANCH="${BASE_BRANCH:-dev}"
PR_BODY=$(mktemp)
cat > "$PR_BODY" << 'PREOF'
<filled-in template from .github/PULL_REQUEST_TEMPLATE.md>
PREOF
gh pr create --base "$BASE_BRANCH" --title "<type>(scope): short description" --body-file "$PR_BODY"
rm "$PR_BODY"

Step 4: Review workflow

If you have a workspace that allows testing (docker, running backend, etc.)

  • Run /pr-test to do E2E manual testing of the PR using docker compose, agent-browser, and API calls. This is the most thorough way to validate your changes before review.
  • After testing, run /pr-review to self-review the PR for correctness, security, code quality, and testing gaps before requesting human review.

If you do NOT have a workspace that allows testing

This is common for agents running in worktrees without a full stack. In this case:

  1. Run /pr-review locally to catch obvious issues before pushing
  2. Comment /review on the PR after creating it to trigger the review bot
  3. Poll for the review rather than blindly waiting — check for new review comments every 30 seconds using gh api repos/Significant-Gravitas/AutoGPT/pulls/{N}/reviews --paginate and the GraphQL inline threads query. The bot typically responds within 30 minutes, but polling lets the agent react as soon as it arrives.
  4. Do NOT proceed or merge until the bot review comes back
  5. Address any issues the bot raises — use /pr-address which has a full polling loop with CI + comment tracking
# After creating the PR:
PR_NUMBER=$(gh pr view --json number -q .number)
gh pr comment "$PR_NUMBER" --body "/review"
# Then use /pr-address to poll for and address the review when it arrives

Step 5: Address review feedback

Once the review bot or human reviewers leave comments:

  • Run /pr-address to address review comments. It will loop until CI is green and all comments are resolved.
  • Do not merge without human approval.

Related skills

SkillWhen to use
/pr-testE2E testing with docker compose, agent-browser, API calls — use when you have a running workspace
/pr-reviewReview for correctness, security, code quality — use before requesting human review
/pr-addressAddress reviewer comments and loop until CI green — use after reviews come in

Step 6: Post-creation

After the PR is created and review is triggered:

  • Share the PR URL with the user
  • If waiting on the review bot, let the user know the expected wait time (~30 min)
  • Do not merge without human approval

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.39%
按下载量换算21

Claude

30.34%
按下载量换算19

Cursor

19.69%
按下载量换算12

Gemini CLI

8.42%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills