pr-hygiene

Automate GitHub PR merge-readiness via Copilot reviews, CI loops, and readiness checks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/irvinesunday/Hali --skill pr-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-hygiene
Source: https://github.com/irvinesunday/Hali/tree/main/.claude/skills/pr-hygiene
Command: npx skills add https://github.com/irvinesunday/Hali --skill pr-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drive a Hali PR to genuine merge-readiness by systematically handling Copilot review comments, running the RSG loop, and enforcing the PR readiness gate before any merge decision.

Core Features & Use Cases

  • 8-step Copilot resolution process: classify, reply, and resolve every Copilot thread according to Hali doctrine.
  • RSG-driven stabilization: automatically run the Review Stabilization Gate until CI is green and no new threads appear.
  • PR readiness enforcement: run scripts/pr-ready-check.sh and only proceed to merge when PR_READY is emitted; no unilateral merging.

Quick Start

Begin with a PR number to drive it toward merge-readiness using the 8-step Copilot resolution, the RSG loop, and the PR readiness gate.

Frequently Asked Questions about pr-hygiene

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

FAQPage Schema
How do I automate resolving Copilot review comments on a GitHub pull request?

Automate Copilot review resolution on a GitHub pull request by applying an 8-step classification, reply, and resolution sequence to every Copilot thread. This systematically drives the PR toward merge-readiness while ensuring no comment is left unhandled.

What is the best way to handle failing CI loops before merging a pull request?

Handle failing CI loops before merging a pull request by running the Review Stabilization Gate until checks pass and no new review threads appear. This loop stabilizes the PR and enforces readiness before any merge action is recommended.

How do I check if a pull request is ready to merge safely?

Check if a pull request is ready to merge safely by running the PR readiness gate script. It validates the PR state and only emits a merge-ready signal when all checks pass, preventing unilateral merges.

Can I use this to fix stalled Copilot reviews on an existing PR?

Yes, you can fix stalled Copilot reviews on an existing PR by applying the 8-step resolution sequence. It classifies and replies to inactive threads to drive the pull request back toward merge-readiness.