pr-checks

Automate PR checks with pre-commit hooks, tests, and CodeRabbit feedback.

1.1k|171|Updated Jul 18, 2025
One-click install
npx skills add https://github.com/massgen/MassGen --skill pr-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-checks
Source: https://github.com/massgen/MassGen/tree/main/massgen/skills/pr-checks
Command: npx skills add https://github.com/massgen/MassGen --skill pr-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the repetitive, error-prone PR quality gate workflow by orchestrating description checks, review feedback responses, and pre-commit/test validations to speed up merges.

Core Features & Use Cases

  • PR Description Quality: Validate and enrich PR descriptions to include a clear summary, test plan, and related issues.
  • Code Review Guidance: Organize and triage CodeRabbit comments, suggest or apply fixes, and track resolution.
  • Quality Gates: Run pre-commit hooks and tests to ensure code quality before merging.
  • Workflow Automation: Integrate with GitHub CLI and CI to provide deterministic PR improvement steps.

Quick Start

Trigger checks on an active PR using /pr-checks and follow the generated recommendations.

Frequently Asked Questions about pr-checks

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

FAQPage Schema
How do I automate pull request checks for pre-commit hooks and pytest?

Automating pull request checks involves orchestrating pre-commit hooks and pytest to validate code quality before merging. This workflow triggers those validations on an active PR to ensure deterministic quality gates are met.

What is the best way to triage CodeRabbit review comments on a GitHub PR?

Triageing CodeRabbit review comments involves organizing feedback, suggesting fixes, and tracking resolution. This Skill automates that process by orchestrating review comments and applying fixes directly during the code review cycle.

Can I validate and update PR descriptions automatically before merging?

Validating PR descriptions automatically checks for a clear summary, test plan, and related issues. This workflow enforces these quality gates and enriches the PR description to ensure it meets merge requirements.

Does GitHub CLI support automating end-to-end PR quality gates?

GitHub CLI supports automating PR quality gates by integrating with CI to provide deterministic improvement steps. This workflow uses GitHub CLI to orchestrate tests, pre-commit hooks, and review feedback validation.

Why should I use automated PR checks instead of manual code review validation?

Automated PR checks eliminate repetitive, error-prone manual validation by orchestrating description checks, review feedback responses, and pre-commit tests. This approach ensures traceable changes and speeds up the merge process.

Do I need pre-commit installed locally to run automated PR checks?

Pre-commit is a core dependency for executing quality gates in this workflow. The process orchestrates pre-commit hooks alongside pytest and GitHub CLI to validate code and prepare the PR for merge.