跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
效率与协作

manage-prs

Create, review, and merge GitHub pull requests and publish releases using repository Git rules. Use for requests to open a PR, push and create a PR, review PRs, merge a PR, or tag a release and write release notes.

wataru-maeda · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add wataru-maeda/react-native-boilerplate --skill manage-prs

技能说明


name: manage-prs description: Create, review, and merge GitHub pull requests and publish releases using repository Git rules. Use for requests to open a PR, push and create a PR, review PRs, merge a PR, or tag a release and write release notes.

Manage PRs

Follow Git rules. Work branches target dev. Promotion PRs go from dev to stg and from stg to main.

Actions

RequestRead
Open a PR for the current branchcreate.md
Review one or more PRsreview.md
Promote dev → stg → mainpromote.md
Tag and publish a releaserelease.md

PR Rules

Title

  • Write type(scope): description, at most 70 characters. Use the types and scopes in Commits.
  • Squash merges use the title as the commit message.
  • Title promotion PRs chore: promote dev to stg or chore: release v<version> for stg to main.

Body

  • Fill .github/pull_request_template.md from the actual diff and commits. Never reuse old text.
  • Link related issues in Overview with Closes #N.
  • Tick only checks that ran. Record failures and skipped checks in Notes.
  • Fill Test Cases with actual results, including Maestro flows and the platforms they ran on. Remove the table when there are none.
  • Remove empty sections and placeholders. Leave screenshots to the user when UI changed.

Merge

  • Merge only when asked and after required checks pass.
  • Squash merge work branches into dev. Use merge commits for promotion and hotfix merge-back PRs (Merge and Version).
  • Never pass --subject. GitHub titles the commit <PR title> (#<N>), which links it back to the PR.
  • Keep work branches. Delete them only when cleanup is requested. Never delete dev, stg, or main.
gh pr checks <N> --watch
gh pr merge <N> --squash                   # work branches into dev
gh pr merge <N> --merge                    # dev → stg, stg → main, hotfix merge-back