branch-and-pr

Create Git branches, commit unstaged changes, and open pull requests via GitHub CLI.

12|2|Updated Feb 23, 2025
One-click install
npx skills add https://github.com/YousefHadder/dotfiles --skill branch-and-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: branch-and-pr
Source: https://github.com/YousefHadder/dotfiles/tree/main/claude/.claude/skills/branch-and-pr
Command: npx skills add https://github.com/YousefHadder/dotfiles --skill branch-and-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating a new Git branch, committing your current unstaged changes with a conventional message, and opening a pull request, significantly reducing the manual steps involved in shipping new work.

Core Features & Use Cases

  • Automated Branching: Generates a descriptive branch name based on your username and changes.
  • Conventional Commits: Creates commits following the conventional commit format for better project history.
  • Pull Request Creation: Automatically pushes your branch and opens a pull request using GitHub CLI.
  • Use Case: You've made several small, related changes and want to quickly get them into a reviewable state. This Skill handles the Git operations and PR setup for you.

Quick Start

Use the branch-and-pr skill to create a new branch, commit my current changes, and open a pull request.

Frequently Asked Questions about branch-and-pr

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

FAQPage Schema
How do I automate creating a git branch and opening a pull request?

To automate creating a git branch and opening a pull request, this Skill generates a descriptive branch name from your username and changes, commits unstaged work using conventional commits, and pushes the branch to open a PR via GitHub CLI.

How do I commit unstaged changes with conventional commit messages automatically?

To commit unstaged changes with conventional commit messages automatically, this Skill stages your current modifications and formats the commit history according to conventional commit standards without manual message typing.

Do I need GitHub CLI installed to automate pull request creation?

Yes, you need GitHub CLI installed and configured to automate pull request creation, as this Skill relies on it to push branches and open pull requests directly from your local environment.

What is the best way to streamline feature development and bug fix workflows in git?

The best way to streamline feature development and bug fix workflows in git is using this Skill to enforce commit message standards and automate the branch, commit, and PR submission process.

Can I use this automated branching workflow for refactoring tasks?

Yes, you can use this automated branching workflow for refactoring tasks, as it supports feature development, bug fixes, and refactoring by automatically handling the Git operations and PR setup.