fix-pr

Monitor and repair GitHub PR checks until all CI checks pass.

Updated Jul 15, 2013
One-click install
npx skills add https://github.com/oysteinkrog/dotfiles --skill fix-pr-oysteinkrog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-pr
Source: https://github.com/oysteinkrog/dotfiles/tree/main/.claude/skills/fix-pr
Command: npx skills add https://github.com/oysteinkrog/dotfiles --skill fix-pr-oysteinkrog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines PR maintenance by automatically polling PR statuses, diagnosing failures, applying fixes, and pushing updates until all checks pass.

Core Features & Use Cases

  • Continuous PR health: Monitor checks on open PRs and automatically fix and re-run until green.
  • Diagnosis & remediation: Identify failing checks, diagnose root causes, and apply fixes.
  • Use Case: After creating a PR with failing checks, say "monitor PR" to trigger the loop until green.

Quick Start

Trigger the skill by asking to monitor a PR and ensure all checks pass. Example: "monitor PR", or "fix CI" gets the loop started.

Frequently Asked Questions about fix-pr

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

FAQPage Schema
How do I automatically fix failing CI checks on a GitHub PR?

You can automatically fix failing CI checks by triggering a monitoring loop that diagnoses failures, applies fixes, and pushes updates until all checks pass. This relies on GitHub CLI to fetch statuses and repeat the cycle.

How does automated PR check monitoring work to keep CI green?

Automated PR check monitoring works by continuously polling PR statuses, diagnosing root causes of failures, applying remediation fixes, and re-running checks until the PR is green.

Do I need GitHub CLI installed to automatically diagnose and repair PR failures?

Yes, you need GitHub CLI installed and configured. The automated diagnosis and repair loop relies on GitHub CLI to fetch check statuses, push fixes, and monitor the PR until all CI checks pass.

What is the best way to automate a loop that fixes CI failures until passing?

The best way to automate fixing CI failures is to use a continuous monitoring skill that polls check statuses, diagnoses issues, pushes fixes, and repeats the cycle until all checks are green.

Can I monitor multiple open PRs and automatically fix their failing checks?

Yes, you can monitor open PRs and automatically fix their failing checks. The skill identifies failing checks, diagnoses the root causes, applies remediation, and re-runs the checks until green.

Why does automated PR fixing sometimes fail to make CI checks pass?

Automated PR fixing may fail if the root cause of the CI failure cannot be automatically diagnosed or remediated, causing the monitoring loop to push fixes that do not resolve the underlying check errors.