pr

Automate pull request rebasing, local validation, and submission via git and gh CLI.

1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/adamayoung/popcorn --skill pr-adamayoung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/adamayoung/popcorn/tree/main/.claude/skills/pr
Command: npx skills add https://github.com/adamayoung/popcorn --skill pr-adamayoung

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the complex, multi-step process of preparing, gating, and submitting code changes, ensuring that every pull request meets strict quality standards before reaching the repository.

Core Features & Use Cases

  • Automated Gatekeeping: Executes linting, builds, and test suites locally to prevent broken code from being pushed.
  • Intelligent Diff Analysis: Automatically detects if changes are docs-only or build-affecting to optimize local validation time.
  • Standardized Submission: Ensures all PRs follow repository conventions, including gitmoji titles and comprehensive summaries.

Quick Start

Invoke the pr skill to prepare and submit the current branch for review with the default gate settings.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I automate pull request creation and local validation with git?

You can automate the end-to-end pull request lifecycle by rebasing your current branch, executing local gate validations including linting and test suites, and submitting the PR remotely. This ensures strict code quality standards are consistently met before changes reach the repository.

What is intelligent diff analysis for local CI-CD gatekeeping?

Intelligent diff analysis automatically detects whether your changes are docs-only or build-affecting to optimize local validation time. This mechanism skips unnecessary build and test suites when code functionality remains entirely unchanged.

Do I need the gh CLI and git installed to automate pull request submission?

Yes, automating pull request submission requires git and the gh CLI installed in your environment. You also need repository-specific build tools to execute the local linting and test suites required by the automated gatekeeping process.

How can I standardize pull request titles and summaries for code review?

You can standardize pull request submissions by enforcing repository conventions such as gitmoji titles and comprehensive summaries. This automated standardization ensures all PRs follow consistent formatting before reaching the code review stage.

Can I skip local test suites when committing documentation-only changes?

Yes, you can skip local test suites for documentation-only changes. The intelligent diff analysis detects docs-only updates and optimizes local validation time by bypassing unnecessary build-affecting test suites and linting procedures.