Search

PythonReactSEOPDF
GitHub Skill

pr

Create and edit pull requests following project conventions. Use `/pr <issue-number>` to create, `/pr edit [pr-number]` to update, or `/pr release <version>` for release prep.

zeroae☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

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. Otherwise → Create 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

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

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