Gh Pr Checks Plan Fix

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL.

概览

The Gh Pr Checks Plan Fix skill, hosted in the mxyhi/ok-skills repository, enables AI agents to diagnose and resolve failing GitHub Pull Request checks. By leveraging the GitHub CLI, the skill inspects check statuses and retrieves execution logs to pinpoint the root cause of CI/CD failures within GitHub Actions. After summarizing the failure context, the agent drafts a remediation plan, though implementation only proceeds following explicit user approval. While the skill is optimized for native GitHub Actions, it identifies external providers like Buildkite by reporting their detail URLs without attempting direct debugging. This tool is compatible with agents such as Codex and Claude, utilizing the popularity of its source repository to streamline automated DevOps troubleshooting workflows.

使用场景

Identifying specific error logs in failing GitHub Actions workflows to determine the cause of a PR block.
Generating a step-by-step plan to resolve environment-related or code-based CI failures.
Automating the implementation of approved fixes for broken build pipelines directly within the PR branch.

安装说明

# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/gh-fix-ci/SKILL.md

Copy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.

安全提示

This skill requires GitHub CLI access and appropriate repository permissions to read logs and modify code. To maintain repository integrity, it enforces a mandatory manual approval step before any proposed fixes are implemented. Users must ensure that the AI agent environment is securely configured to manage GitHub authentication tokens.

相关 Skills