pr

star 0

PR workflow - validate, branch, commit, push, PR, checkout main, rebase, squash merge. Use when submitting changes.

ahmadawais By ahmadawais schedule Updated 2/3/2026

name: pr description: PR workflow - validate, branch, commit, push, PR, checkout main, rebase, squash merge. Use when submitting changes. license: Apache-2.0 metadata: author: ahmadawais version: "0.0.1"

PR Workflow

Steps

  1. Validate: pnpm build

  2. Branch: Ask user or suggest (fix/, feat/, refactor/, docs/)

    git checkout -b {branch-name}
    
  3. Commit: Stage specific files, use emoji-log format

    • FIX: | NEW: | IMPROVE: | DOC:
    git add {files} && git commit -m "$(cat <<'EOF'
    FIX: Description
    EOF
    )"
    
  4. Push: git push -u origin {branch}

  5. PR:

    gh pr create --title "FIX: Description" --body "$(cat <<'EOF'
    ## Summary
    - Changes
    
    ## Test plan
    - [ ] Tests
    EOF
    )"
    
  6. Main: git checkout main && git pull --rebase origin main

  7. Merge: Ask user, then:

    gh pr merge {number} --squash --delete-branch
    git pull --rebase origin main
    
Install via CLI
npx skills add https://github.com/ahmadawais/skills --skill pr
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator