new-branch-and-pr

Create a Git branch from main and generate a pull request summary.

Updated May 18, 2025
One-click install
npx skills add https://github.com/nthpaul/dotfiles --skill new-branch-and-pr-nthpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-branch-and-pr
Source: https://github.com/nthpaul/dotfiles/tree/main/cursor/.cursor/plugins/cache/cursor-public/cursor-team-kit/d1cdb88a9eb33cf392395c87e3fd76419fc1010e/skills/new-branch-and-pr
Command: npx skills add https://github.com/nthpaul/dotfiles --skill new-branch-and-pr-nthpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you turn in-progress changes into a focused pull request by creating a clean branch, committing the right scope of work, and producing a PR with clear summary and test notes.

Core Features & Use Cases

  • Branch creation workflow: Creates a descriptive branch from the latest main with an emphasis on clean starting points.
  • Completion and readiness checklist: Ensures implementation and tests are done before committing and pushing.
  • PR packaging: Produces a concise PR including summary and verification notes so reviewers quickly understand impact and how to validate it.

Quick Start

Ask the AI to create a new descriptive branch from the latest main, finish the changes with tests, commit the focused work, push the branch, and generate a pull request summary with test notes.

Frequently Asked Questions about new-branch-and-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a git branch and prepare a pull request for focused code changes?

To create a git branch and prepare a pull request, generate a descriptive branch from the latest main, complete implementation and tests, commit focused changes, push the branch, and output a PR summary with test notes.

What is the best way to ensure release readiness before opening a pull request?

Release readiness before opening a pull request is ensured by verifying implementation completion, running tests, confirming the working state is clean, and documenting verification notes within the PR packaging process.

How do I document test notes and scope in a pull request summary?

Document test notes and scope in a pull request summary by committing focused changes and generating a PR package that includes concise impact descriptions and explicit verification steps for reviewers.

Can I use this workflow automation for mainline-based git branch creation?

Yes, you can use this workflow automation for mainline-based git branch creation by creating a descriptive branch from the latest main, ensuring a clean starting point for shipping work.

What should I do if my working state is not clean before creating a branch?

If your working state is not clean before creating a branch, the workflow requires that the state is explicitly handled before proceeding to commit focused changes and push the branch.

How does this pull request workflow handle code review preparation?

This pull request workflow handles code review preparation by producing a concise PR with a clear summary and test notes so reviewers quickly understand impact and how to validate it.