About new-branch-and-pr
A coding skill for shipping work through a focused branch and pull request workflow. It covers starting from the latest main, testing, committing, pushing, and documenting the PR.
Key features
- 01Check working-tree status
- 02Create a branch from latest main
- 03Implement and test changes
- 04Commit focused changes and push
- 05Write PR summary and test notes
Use cases
- 01Start work intended for review
- 02Keep a change set focused
- 03Prepare verification notes for reviewers
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cursor/ plugins --skill new-branch-and-prAfter installing, type/new-branch-and-prin Claude Code to confirm it loaded.
Details
From the project READMENew 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
Comments
Markdown supported