review-pr

Automate pull request validation, commit, push, and draft creation.

2|Updated May 18, 2022
One-click install
npx skills add https://github.com/alexfalkowski/bin --skill review-pr-alexfalkowski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/alexfalkowski/bin/tree/main/skills/review-pr
Command: npx skills add https://github.com/alexfalkowski/bin --skill review-pr-alexfalkowski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex, multi-step process of reviewing, validating, and opening pull requests, ensuring that all necessary checks are performed consistently and safely.

Core Features & Use Cases

  • Automated Workflow: Orchestrates the full cycle of review, validation, commit, force-push, and draft PR creation.
  • Safety Guardrails: Enforces mandatory validation, security checks, and explicit human approval for remote-write operations.
  • Use Case: When you have local changes ready for submission, this Skill ensures your code is linted, reviewed for security gaps, and properly documented before automatically opening a draft pull request on GitHub.

Quick Start

Use the review-pr skill to validate your local changes and open a draft pull request for the current repository.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate the pull request workflow with validation and security checks?

The PR workflow ensures consistency by applying automated linting, security checks, and structured documentation generation before merging. This prevents unvalidated code from reaching the main branch and standardizes the review process across software engineering tasks.

How do I open a draft pull request on GitHub after validating local changes?

You can open a draft pull request by running this Skill on your local changes; it handles the full cycle of commit, force-push, and draft creation. It generates a structured PR summary and ensures all checks pass before submission.

Can I automate code review and linting before pushing to a remote repository?

Yes, this Skill automates code review and linting before any remote-write operation occurs. It requires explicit human authorization for remote pushes, ensuring that validated and reviewed code is safely committed to your GitHub repository.

Does this automated PR workflow require explicit approval for remote-write operations?

Yes, the automated PR workflow enforces safety guardrails that require explicit human approval for remote-write operations. This prevents unauthorized commits or force-pushes from occurring without direct confirmation during the validation cycle.

What are the limitations of automating pull request creation with safety guardrails?

The limitation of automating pull request creation with safety guardrails is that it cannot bypass the mandatory validation steps or the explicit human authorization requirement. The workflow halts if linting, security checks, or manual approval gates are not satisfied.