new-branch-and-pr

Create a feature branch from main, commit changes, and open a pull request.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/namhoangg/agent-starter-kit --skill new-branch-and-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-branch-and-pr
Source: https://github.com/namhoangg/agent-starter-kit/tree/main/cursor/skills/new-branch-and-pr
Command: npx skills add https://github.com/namhoangg/agent-starter-kit --skill new-branch-and-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a clean, isolated feature branch from the latest main, apply changes, and open a pull request to ensure a reviewable flow.

Core Features & Use Cases

  • Create a descriptive feature branch from the most recent main to isolate work.
  • Commit focused changes and push to the remote repository.
  • Generate a concise PR summary and attach test notes for reviewers.
  • Use case: when implementing a new feature or patch, run this workflow to ensure an isolated branch and traceable PR.

Quick Start

Create a new feature branch from the latest main, implement changes, and open a pull request.

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 automate creating a feature branch and opening a pull request?

To automate creating a feature branch and opening a pull request, this workflow isolates your work from the latest main branch, commits focused changes, and generates a traceable PR summary with test notes for reviewers.

What is the best way to ensure my feature branch stays focused on a single change?

To ensure your feature branch stays focused on a single change, this workflow enforces guardrails by isolating work from the latest main and producing a descriptive branch name with a clear PR trail.

How do I generate PR notes and a summary automatically when pushing a new branch?

To generate PR notes and a summary automatically when pushing a new branch, this workflow commits your focused changes and attaches a concise PR summary with test notes for reviewers.

Can I use this workflow to isolate feature work from the most recent main branch?

Yes, you can use this workflow to isolate feature work from the most recent main branch, ensuring a clean and reviewable flow by creating a descriptive branch and pushing it to the remote repository.

What are the limitations of automating branch creation and pull requests for code review?

A limitation of automating branch creation and pull requests for code review is that the workflow enforces guardrails by keeping the branch focused on a single change, which may not suit multi-feature commits.