pr

📁 ahmadawais/skills 📅 8 days ago
3
总安装量
3
周安装量
#60501
全站排名
安装命令
npx skills add https://github.com/ahmadawais/skills --skill pr

Agent 安装分布

mcpjam 3
claude-code 3
replit 3
junie 3
windsurf 3
zencoder 3

Skill 文档

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