PluginBench
Skill
Pass
Audit score 90

new-branch-and-pr

cursor/plugins

Create a focused branch, implement changes, and open a pull request with test notes.

What is new-branch-and-pr?

Automates the workflow of creating a clean git branch from main, implementing changes with tests, committing focused work, and opening a pull request. Use this when starting work that should follow standard branch-and-PR practices.

  • Ensures working tree is clean before starting
  • Creates a descriptive branch from the latest main
  • Guides implementation and test completion
  • Commits focused changes and pushes to remote
  • Opens a pull request with summary and verification notes

How to install new-branch-and-pr

npx skills add https://github.com/cursor/plugins --skill new-branch-and-pr
Claude Code
Cursor
Windsurf
Cline

How to use new-branch-and-pr

  1. 1.Trigger the skill when starting new work
  2. 2.Confirm the working tree is clean or handle any uncommitted changes
  3. 3.Provide a descriptive branch name based on the feature or fix
  4. 4.Implement your changes and write tests
  5. 5.Let the skill commit focused changes and push to remote
  6. 6.Review the generated PR summary and test notes before requesting review

Use cases

Good for
  • Starting a new feature that needs code review
  • Fixing a bug through standard PR workflow
  • Contributing to a team project with branch protection rules
  • Implementing changes that require test verification before merge
  • Organizing work into logical, reviewable commits
Who it's for
  • Software developers
  • Team leads managing code review processes
  • Contributors to open-source projects
  • Engineers following git-flow or similar workflows

new-branch-and-pr FAQ

What if my working tree has uncommitted changes?

The skill checks for a clean working tree first and will ask you to handle any uncommitted changes before proceeding.

Can I customize the branch name?

Yes, the skill prompts you to provide a descriptive branch name that reflects the work being done.

Does this create the PR automatically?

The skill creates the PR with a summary and test notes, but you review and confirm before it's submitted for review.

What if I need to make changes after the PR is created?

You can continue committing to the same branch; the PR will automatically update with new commits.

Does this work with all git hosting platforms?

The skill is designed for standard git workflows; integration with specific platforms (GitHub, GitLab, etc.) depends on your setup.

Full instructions (SKILL.md)

Source of truth, from cursor/plugins.


name: new-branch-and-pr description: Create a fresh branch, complete work, and open a pull request

New branch and PR

Trigger

Starting work that should be shipped through a clean branch and pull request workflow.

Workflow

  1. Ensure the working tree is clean or explicitly handled.
  2. Create a descriptive branch from the latest main.
  3. Complete implementation and tests.
  4. Commit focused changes and push.
  5. Create a concise PR with summary and test notes.

Guardrails

  • Keep branch scope focused on one change set.
  • Include verification notes before requesting review.

Output

  • New branch name
  • PR summary and test notes
  • PR URL