create-pr

Automate commit linting, quality gates, and Pull Request creation via GitHub CLI.

Updated May 6, 2026
One-click install
npx skills add https://github.com/johan-Rm/agents --skill create-pr-johan-rm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/johan-Rm/agents/tree/main/skills/create-pr
Command: npx skills add https://github.com/johan-Rm/agents --skill create-pr-johan-rm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This Skill solves the friction of manual Pull Request preparation by automating the verification of Git scopes, quality gates, and adherence to project-specific commit conventions.

Core Features & Use Cases

  • Automated Quality Gates: Automatically detects and runs linting, formatting, and testing scripts defined in your project before PR creation.
  • Standardized PR Generation: Ensures commit messages and PR bodies follow project conventions, including proper handling of runbook references and breaking changes.
  • Use Case: When you have finished a feature, use this skill to ensure your code is clean, your commit messages are compliant, and your PR is perfectly formatted and ready for review without manual CLI overhead.

Quick Start

Use the create-pr skill to prepare and open a pull request for the current branch after verifying all quality gates.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate pull request creation with conventional commit validation?

Automating pull request creation involves enforcing conventional commits and running quality gate validation to generate clean, convention-compliant PRs. This skill detects project linting, formatting, and testing scripts before opening a PR, ensuring scope isolation and CI/CD integration without manual CLI overhead.

Do I need the GitHub CLI to automate pull request generation and commit linting?

Yes, the GitHub CLI (gh) is required to automate pull request generation and commit linting. The CLI manages remote repository interactions and quality gate execution, allowing the workflow to automatically verify Git scopes, run project-specific build tools, and open convention-compliant pull requests.

What's the best way to enforce quality gates before opening a Git pull request?

The best way to enforce quality gates before opening a Git pull request is to automatically detect and run linting, formatting, and testing scripts defined in your project. This approach verifies code cleanliness, ensures commit messages follow project conventions, and handles runbook references and breaking changes.

Can I standardize PR formatting and commit messages for CI/CD integration workflows?

Yes, you can standardize PR formatting and commit messages for CI/CD integration workflows by automating scope isolation and quality gate validation. This ensures commit messages and PR bodies follow project-specific conventions, including proper handling of runbook references and breaking changes, producing perfectly formatted pull requests.

Why do my automated pull requests fail quality checks or commit linting?

Automated pull requests fail quality checks or commit linting when project-specific build scripts detect formatting errors, linting violations, or failing tests. Strict adherence to commit linting and scope isolation is enforced before PR creation, preventing non-compliant commits from opening a remote pull request.

Does automated PR creation work with existing project-specific build tools and testing scripts?

Yes, automated PR creation works with existing project-specific build tools and testing scripts. The workflow detects and executes your defined linting, formatting, and testing scripts to validate quality gates, ensuring your code is clean and your pull request is ready for review before remote repository interaction.