pr-creator

Create pull requests with standardized templates using the gh CLI.

2|Updated Aug 11, 2016
One-click install
npx skills add https://github.com/rlesniak/dotfiles --skill pr-creator-rlesniak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-creator
Source: https://github.com/rlesniak/dotfiles/tree/main/dot_agents/skills/pr-creator
Command: npx skills add https://github.com/rlesniak/dotfiles --skill pr-creator-rlesniak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill helps streamline the process of creating pull requests, ensuring they adhere to the repository's established standards and templates.

Core Features & Use Cases

  • Branch Management: Ensures you're not working on the main branch.
  • Commit Changes: Guides you through committing changes with descriptive messages.
  • Pull Request Template: Follows a structured template for PR descriptions.
  • Preflight Check: Validates build, lint, and test checks before PR creation.
  • Push Branch: Safely pushes the branch to the remote repository.
  • Create PR: Utilizes the gh CLI to create PRs with the correct title and body.

Quick Start

Create a new PR by running the pr-creator skill and following the prompts.

Frequently Asked Questions about pr-creator

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

FAQPage Schema
How do I automate pull request creation with standardized templates?

You can automate pull request creation by using scripts that enforce branch management, guide commit messages, and apply structured PR templates. This ensures PR quality and consistency by adhering to established repository standards.

What is the best way to ensure my pull request follows repository standards?

The best way to ensure your pull request follows repository standards is to use an automated workflow that validates branch management, enforces descriptive commits, and applies a structured PR template before submission.

Do I need the gh CLI to create a pull request using automated workflows?

Yes, you need the gh CLI installed to create pull requests using these automated workflows. The process relies specifically on the gh command-line interface to push branches and generate PRs with the correct title and body.

How do preflight checks work before creating a pull request?

Preflight checks work by validating build, lint, and test processes before creating a pull request. This automated validation step ensures code quality and prevents breaking changes from being pushed to the remote repository.

Can I use scripts to prevent committing directly to the main branch?

Yes, you can use scripts to prevent committing directly to the main branch. Branch management features ensure you are working on a separate feature branch before guiding you through committing changes and pushing them safely.

Why does my pull request workflow fail during branch validation?

Pull request workflows may fail during branch validation if you are currently working on the main branch. The process requires switching to a dedicated feature branch to enforce proper branch management before submission.