About new-branch-and-pr
A skill that guides a focused development workflow from a clean working tree to a pull request. It covers branch creation, implementation, tests, commits, pushing, and PR notes.
Key features
- 01Check and handle working tree state
- 02Create a descriptive branch from latest main
- 03Implement changes and run tests
- 04Commit focused changes and push
- 05Prepare PR summary and test notes
Use cases
- 01Starting an isolated feature or fix
- 02Shipping tested changes for review
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ poteto/ 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