pr-creator

Create pull requests with gh command after development is complete. Use when ready to open a PR.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

The PR Creator skill automates the GitHub Pull Request workflow by leveraging the GitHub CLI (gh). It streamlines the transition from development to review by automatically analyzing branch changes, applying standardized templates for features, fixes, or documentation, and ensuring all PRs are linked to specifications for better project traceability and developer productivity.

Use Cases

  • Automated PR Generation: Quickly generate a pull request draft after finishing a feature branch, ensuring the title and body follow team-standardized prefixes like 'feat:' or 'fix:'.
  • Template Standardization: Automatically apply specific markdown templates for different types of contributions (features, bug fixes, refactors) to maintain high-quality documentation across the repository.
  • Workflow Integration: Seamlessly bridge the gap between local coding and remote collaboration by analyzing diffs, finding related specifications, and executing the 'gh pr create' command through a guided AI workflow.
namepr-creator
descriptionCreate pull requests with gh command after development is complete. Use when ready to open a PR.

PR Creator Skill

Create a pull request after development on a branch is complete.

Development Types

Type Branch Pattern Title Prefix Draft Template
Feature feature/* feat: Yes feature.md
Bug fix fix/* fix: No fix.md
Documentation docs/* docs: No docs.md
Refactoring refactor/* refactor: Yes refactor.md

Guidelines

  1. Link the specification - Every PR must reference its specification
  2. One feature per PR - Keep PRs focused and small
  3. All tests must pass - Ensure CI is green
  4. Request a review - Wait for approval before merging

Workflow

  1. Analyze: Get branch name, commits (main..HEAD), and diff to understand changes
  2. Find spec: Look for related spec in docs/specs/
  3. Draft: Generate title and body using the appropriate template
  4. Confirm: Show draft to user for approval
  5. Create: Push if needed, run gh pr create
  6. Report: Show PR URL