Skip to content
Development
Skill

/new-branch-and-pr

Create a fresh branch, complete work, and open a pull request

From plugin
cursor-plugins
2.6k82 skills12 agents
Install
$ npx -y skills add cursor/plugins --skill new-branch-and-pr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/new-branch-and-pr

Context preview

The summary Claude sees to decide when to auto-load this skill.

Create a fresh branch, complete work, and open a pull request

SKILL.md

new-branch-and-pr.SKILL.md
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
Ships withcursor-plugins

Official Cursor plugins for popular developer tools, frameworks, and SaaS products. Each plugin is a standalone directory at the repository root with its own .cursor-plugin/plugin.json manifest.

Get the whole plugin