oss-pr

Push the current branch and create a GitHub Pull Request from commit context.

Updated Feb 28, 2019
One-click install
npx skills add https://github.com/rjschie/dotfiles --skill oss-pr-rjschie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oss-pr
Source: https://github.com/rjschie/dotfiles/tree/main/files/claude/skills/oss-pr
Command: npx skills add https://github.com/rjschie/dotfiles --skill oss-pr-rjschie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of pushing the current branch to a remote repository and drafting a GitHub Pull Request with a concise description and formatted content.

Core Features & Use Cases

  • Branch Push and PR Creation: Handles the git push operation and creates a Pull Request on GitHub.
  • Contextual Commit Information: Utilizes git log to gather necessary commit details for the PR.
  • Dynamic PR Title and Body: Generates a title and body based on the commit messages and additional user input, if provided.
  • User Verification: Before creating the PR, it presents the draft title and body for user validation.

Quick Start

Run the oss-pr skill with the command /pr followed by any additional context or title you want to include in the PR.

Frequently Asked Questions about oss-pr

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

FAQPage Schema
How do I automate pushing a git branch and creating a GitHub Pull Request?

To automate GitHub Pull Request creation, this Skill handles the git push operation and drafts a PR using a title and body generated from your commit context. You simply run the command and provide any additional input.

How does commit context generate a PR title and body?

Generating a PR title and body works by utilizing git log to gather necessary commit details. It dynamically builds the content from commit messages and additional user input, then presents the draft for user validation before creating the PR.

Can I review the PR draft before it is created on GitHub?

Yes, you can review the PR draft before it is created. The Skill implements user verification by presenting the generated draft title and body for user validation prior to executing the final PR creation process on GitHub.

Do I need to manually run git commands before drafting a PR with this tool?

No, you do not need to manually run git commands before drafting a PR. The Skill automates the workflow by handling branch checks and push operations directly before generating and submitting the Pull Request.

What is the best way to streamline branch management and PR creation for continuous integration?

The best way to streamline branch management and PR creation is automating the workflow with this Skill. It manages branch checks, executes push operations, and formats PR content from commit context to integrate smoothly with continuous integration pipelines.