git-create-pr

Create and update Git pull requests with commit and diff context.

2|Updated Nov 6, 2015
One-click install
npx skills add https://github.com/ahoym/dotfiles --skill git-create-pr-ahoym
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-create-pr
Source: https://github.com/ahoym/dotfiles/tree/main/.claude/commands/git-create-pr
Command: npx skills add https://github.com/ahoym/dotfiles --skill git-create-pr-ahoym

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and updating pull requests in Git repositories, ensuring consistency with project conventions.

Core Features & Use Cases

  • Automated PR Creation: Generates new pull requests to a specified base branch (defaults to main).
  • Existing PR Update: Detects and updates existing pull requests for the current branch.
  • Contextual Information: Gathers git status, branch, commit, and diff information to inform PR creation.
  • Use Case: After completing a new feature on a feature/new-login branch, you can use this Skill to create a pull request targeting the develop branch, automatically including a summary of your changes based on a template.

Quick Start

Use the git-create-pr skill to create a pull request to the main branch.

Frequently Asked Questions about git-create-pr

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

FAQPage Schema
How do I automate creating a pull request in Git?

Automating a pull request creation requires gathering git status, current branch, and commit diffs. This skill handles that process automatically, generating new pull requests to a specified base branch while ensuring adherence to your project conventions.

Can I update an existing pull request's description automatically?

Updating an existing pull request description is supported by detecting active pull requests for the current branch. The skill edits existing pull requests by modifying their descriptions, utilizing gathered commit history and file diffs to reflect current changes.

How do I create a pull request to a specific base branch like develop?

Creating a pull request to a specific base branch involves targeting it during generation. This skill automates pull request creation to a specified base branch, defaulting to main, allowing you to target branches like develop for your feature integration.

What context is needed to generate a pull request?

Generating a pull request requires contextual information from your repository. This skill automatically gathers essential git context including repository status, current branch, commit history, and file diffs to facilitate the pull request creation process.

Does this pull request automation work with project conventions?

Pull request automation works directly with project conventions. The skill streamlines creating and updating pull requests in git repositories specifically to ensure consistency with your established project conventions and branching workflows.