new-branch-and-pr
What it does
Lets the assistant take a task from a new branch all the way to an open pull request. It is for developers who want a clean, repeatable way to ship a change.
When to use it
- ✓When you start a piece of work that should go through its own branch and pull request.
- ✓When you want a clean branch created from the latest main.
- ✓When you want a short pull request with a summary and test notes.
Skill link
https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/new-branch-and-pr/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Start a new branch for the login fix, finish it, and open a pull request with test notes.”
5 new skills a week. 1 minute to read.
How it works
The assistant makes sure your working tree is clean, creates a branch from the latest main, completes and tests the change, commits and pushes, then opens a short pull request.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
New branch and PR
Trigger
Starting work that should be shipped through a clean branch and pull request workflow.
Workflow
- Ensure the working tree is clean or explicitly handled.
- Create a descriptive branch from the latest main.
- Complete implementation and tests.
- Commit focused changes and push.
- 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
FAQ
What if my working tree has changes?
The skill asks you to handle them first, so the new branch starts clean.
What goes into the pull request?
A summary of the change and notes on how it was tested.
Does it keep branch scope small?
Yes. It aims for one focused change set per branch.
Details
Original description by the author
Create a fresh branch, complete work, and open a pull request
repo: cursor/plugins
Popularity
- GitHub stars
- 15k
- Ranking position
- #10939
- License
- —
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
advisor
15kLets your agent consult a stronger second model at key checkpoints, such as before a big decision or when stuck on an error, if you turn it on.
check-agent-compatibility
15kRuns a full check of whether AI coding agents can start, verify and document a repository, and returns one compatibility score with the main issues.
cli-for-agents
15kTeaches your agent to design or review command-line tools so AI agents can run them without prompts, with clear help text and examples.
continual-learning
15kKeeps your AGENTS.md notes up to date by handing the work of reviewing past chats to a dedicated memory updater.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.