agentsclimarketplace

Create pr

Skill huzaifa525/claude-code-optimizer/templates/.claude/skills/create-pr

Optimize Claude Code token usage — 22 skills, 8 hooks, 6 rules. One npm install. Zero manual steps. Cut costs by 67%.

Install
npx -y skills add huzaifa525/claude-code-optimizer --skill create-pr

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when the user wants to create a pull request, open a PR, or submit changes for review.

SKILL.md

1.2 KB, as published. Nobody here has run it

Create a pull request for the current branch.

Steps

  1. Gather context

    git branch --show-current
    git log main..HEAD --oneline
    git diff main..HEAD --stat
    git diff main..HEAD
    
  2. Analyze ALL commits on this branch (not just the latest)

  3. Generate PR

    • Title: Under 70 characters, describes the change
    • Body: Summary bullets + test plan
  4. Push and create PR

    git push -u origin $(git branch --show-current)
    

    Then create PR:

    gh pr create --title "title" --body "$(cat <<'EOF'
    ## Summary
    - Bullet point 1
    - Bullet point 2
    - Bullet point 3
    
    ## Changes
    - [file] — [what changed and why]
    
    ## Test Plan
    - [ ] Test step 1
    - [ ] Test step 2
    - [ ] Test step 3
    EOF
    )"
    
  5. Return the PR URL

If $ARGUMENTS is provided

Use it as the base branch instead of main.

<!-- Skill by Huzefa Nalkheda Wala | github.com/huzaifa525 | claude-code-optimizer -->

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.