pr | Skill Performance & Reviews | TopRankSkills

TopRank Skills

pr

maintained by zeroae

star 0 account_tree 0 verified_user MIT License
bolt View GitHub

name: pr description: Create, view, and edit pull requests following project conventions. Invoke with "open pr", "create pr", "update pr", or use /pr view [pr-number] to view, /pr <issue-number> to create, /pr edit [pr-number] to update, /pr release <version> for release prep. allowed-tools: Bash(gh:), Bash(git:), Read, Grep, Glob, AskUserQuestion, Task(Explore) user-invocable: true context: fork

Pull Request Skill

Create, view, and edit PRs following project conventions. Supports four modes:

Mode Trigger Purpose
View /pr view [pr-number] Display PR details and CI status
Create /pr [issue-number], "create pr" Create PR for features, bugs, tasks
Edit /pr edit [pr-number], "update pr" Regenerate PR body from current commits
Release /pr release <version>, "release prep" Verify release readiness

Mode Detection

  1. If view keyword (/pr view, /pr view 218) → View mode
  2. If issue number provided (/pr 123) → Create mode (always, regardless of branch)
  3. If edit keyword (/pr edit) → Edit mode
  4. If release keyword (/pr release 0.5.0) → Release mode
  5. If on release branch AND no arguments (/pr on release/0.5.0) → Release mode
  6. OtherwiseCreate mode

Pattern for release branches: ^release/v?[0-9]+\.[0-9]+\.[0-9]+$

Release Branch Workflow

Non-release PRs target the release branch matching their milestone:

  1. Get milestone from issue (e.g., v0.5.0)
  2. Check if release/0.5.0 branch exists
  3. If exists → PR targets release/0.5.0 instead of main
  4. If not exists → ask user: create branch, target main, or cancel

This ensures feature work flows into release branches, which then merge to main via release prep PRs.

feature-branch → release/0.5.0 → main
                      ↑
              (release prep PR)

Reference Files

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools productivity tools

Related Skills

ui-ux-pro-max
chevron_right
planning-with-files
chevron_right
agent-browser
chevron_right
specs-gen
chevron_right
content-prd
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.