gh-fix-ci

Inspect failing GitHub PR checks, fetch Actions logs, and draft a fix plan.

59|14|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/guilhermemarketing/esc-skills --skill gh-fix-ci-guilhermemarketing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-ci
Source: https://github.com/guilhermemarketing/esc-skills/tree/main/skills/gh-fix-ci
Command: npx skills add https://github.com/guilhermemarketing/esc-skills --skill gh-fix-ci-guilhermemarketing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Use gh to locate failing PR checks, fetch GitHub Actions logs, summarize the failure context, draft a fix plan, and implement only after explicit approval. External providers (for example Buildkite) are out of scope and only the details URL is reported.

Core Features & Use Cases

  • Inspect PR checks and fetch GitHub Actions logs to surface actionable failure details.
  • Summarize failure context and draft a concise, approval-ready fix plan.
  • Provide a streamlined workflow to implement changes after explicit user approval.

Quick Start

Run the bundled script to inspect PR checks and fetch logs, for example: python <path-to-skill>/scripts/inspect_pr_checks.py --repo . --pr <number-or-url>.

Frequently Asked Questions about gh-fix-ci

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

FAQPage Schema
How do I debug failing GitHub Actions checks on a pull request?

To debug failing GitHub Actions PR checks, you fetch the workflow logs via the gh CLI, inspect the failure details, and summarize the context to identify the root cause before drafting any code changes.

What's the best way to summarize GitHub Actions logs and draft a fix plan?

The best way to summarize GitHub Actions logs is to fetch them directly via gh authentication, surface actionable failure details, and generate a concise, approval-ready fix plan for the repository.

Do I need gh authentication to fetch GitHub Actions logs for PR checks?

Yes, you need gh authentication and repository access to read PR checks and fetch GitHub Actions logs. Without proper gh CLI authentication, you cannot inspect the failing workflows or generate a fix plan.

Does this approach work with external CI providers like Buildkite?

No, this approach does not work with external CI providers like Buildkite. It applies only to GitHub-hosted workflows and PR checks, reporting only the details URL for external providers instead of fetching their logs.

How do I ensure safe implementation of fixes for failing GitHub PR checks?

To ensure safe implementation of fixes for failing GitHub PR checks, the workflow requires explicit user approval before implementing any changes to the repository based on the drafted fix plan.