PR Review (Main Branch)

Translate GitHub PR review comments into categorized code fixes with commits.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/milkmaccya2/mm2-blog --skill pr-review-main-branch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PR Review (Main Branch)
Source: https://github.com/milkmaccya2/mm2-blog/tree/main/.claude/skills
Command: npx skills add https://github.com/milkmaccya2/mm2-blog --skill pr-review-main-branch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured workflow to translate GitHub PR review comments into concrete, verifiable code fixes that target the main branch, reducing back-and-forth and miscommunication.

Core Features & Use Cases

  • Information gathering: Accept PR URL/number, verify the target base branch is main, and fetch all reviews and comments.
  • Analysis & categorization: Group comments by file and type (Critical, Stylistic, Design/Architectural, Clarification) to prioritize work.
  • Incremental implementation: Apply fixes one comment at a time with descriptive commits that reference the original feedback.
  • Self-verification and reporting: Run available tests and provide a clear summary of changes and remaining questions.

Quick Start

Provide a PR URL or PR number to initiate the end-to-end review-to-fix workflow.

Frequently Asked Questions about PR Review (Main Branch)

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

FAQPage Schema
How do I turn GitHub pull request review comments into code fixes automatically?

To turn GitHub pull request review comments into code fixes, you can use a workflow that fetches PR reviews, categorizes the feedback by type, and generates an incremental fix plan with descriptive commits linked to the original comments.

How do I categorize PR review feedback to prioritize critical code changes?

You can categorize PR review feedback by grouping comments into types such as Critical, Stylistic, Design/Architectural, and Clarification. This prioritization allows you to address critical code changes first before moving to stylistic or architectural adjustments.

How do I apply PR review fixes incrementally with descriptive git commits?

To apply PR review fixes incrementally, process each comment one at a time and generate a descriptive git commit for each change. These commits should directly reference the original review feedback to maintain traceability.

Does this PR review workflow support pull requests targeting branches other than main?

This PR review workflow specifically verifies that the target base branch is main. It is designed to process pull requests targeting the main branch and may not apply to pull requests configured for other base branches.

How do I verify that code changes from PR review feedback are safe and aligned with project conventions?

To verify code changes from PR review feedback are safe, the workflow enforces verification through available tests and guardrails. It generates a clear summary of changes and highlights remaining questions to ensure alignment with project conventions.

What do I need to start automating code fixes from GitHub PR reviews?

To start automating code fixes from GitHub PR reviews, you need to provide a valid GitHub PR URL or PR number. The workflow uses this input to fetch all associated reviews and comments to initiate the end-to-end fix process.