Create PR with labels and assignment

Push branch and open a Pull Request assigned to @me, labeled, with Closes #N link, following conventional commit style.

Sby Skills Guide Bot
DevelopmentIntermediate
007/26/2026
Claude CodeCursorWindsurfCopilot
#git#pull-request#conventional-commits#github-cli#branch-naming

Recommended for


description: Push branch and open a PR (assigned to @me, labeled, Closes #N) argument-hint: "[issue-number]" disable-model-invocation: true allowed-tools: "Read, Edit, Bash(git *), Bash(gh *)"

PR

Context

!git branch --show-current !git log main..HEAD --oneline

Instructions

  1. If ## [Unreleased] in CHANGELOG.md wasn't updated, update it and commit: docs: update changelog.
  2. git push -u origin HEAD.
  3. Title: <type>(<scope>): <short> (conventional, under 70 chars). Derive type from branch prefix (feat/feat, fix/fix, docs/docs, ref/ref). If $ARGUMENTS is an issue number, pull the title via gh issue view <num> --json title -q '.title'.
  4. Pick one label: bug (fix/), enhancement (feat/), documentation (docs/), refactoring, pure testing, dependencies.
  5. Open:
    gh pr create --title "<title>" --assignee @me --label "<label>" --body "$(cat <<'EOF'
    ## Summary
    - <what + why, one or two bullets>
    
    ## Test plan
    - [ ] `composer test` green locally
    - [ ] CI green
    
    Closes #<issue-number>
    EOF
    )"
    
    Drop the Closes line if there's no linked issue. Body under 15 lines.
  6. Report URL.
Related skills