gh-fix-ci

Analyzes GitHub pull request CI/CD check failures and generates fix plans for user approval.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/aaymanasrar/Elephante --skill gh-fix-ci-aaymanasrar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-ci
Source: https://github.com/aaymanasrar/Elephante/tree/main/.agents/skills/gh-fix-ci
Command: npx skills add https://github.com/aaymanasrar/Elephante --skill gh-fix-ci-aaymanasrar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, python, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of troubleshooting failing GitHub PR CI/CD checks, providing a comprehensive analysis and proposing a fix plan for failing tests.

Core Features & Use Cases

  • CI/CD Analysis: Automatically inspect GitHub PR checks and summarize failure contexts.
  • Fix Plan Creation: Generate a detailed plan for resolving the issues.
  • User Approval: Ensure that changes are made only after explicit user approval.
  • Use Case: When a user reports a failing CI/CD check in their GitHub PR, this Skill can help diagnose the issue and provide a path forward.

Quick Start

Use the gh-fix-ci skill to inspect the failing checks in your current PR. For example: gh-fix-ci --repo "." --pr "123".

Frequently Asked Questions about gh-fix-ci

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

FAQPage Schema
How do I automate troubleshooting for failing GitHub PR checks?

You can automate troubleshooting for failing GitHub PR checks by using a script to analyze CI/CD logs, generate a detailed fix plan, and implement changes after explicit user approval.

How do I diagnose failing CI/CD tests in my pull request?

To diagnose failing CI/CD tests in a pull request, run the troubleshooting script targeting your repository and PR number to automatically inspect checks and summarize failure contexts.

Do I need GitHub CLI and Python to automate pull request fix plans?

Yes, you need the GitHub CLI (gh) and Python installed to execute the script, access the GitHub API, and automatically generate fix plans for failing CI/CD checks.

Does this automated debugging approach apply changes without developer review?

No, this automated debugging approach ensures changes to resolve failing CI/CD checks are implemented only after receiving explicit user approval of the generated fix plan.

What is the best way to generate a fix plan for a failing CI/CD pipeline?

The best way to generate a fix plan for a failing CI/CD pipeline is to automatically analyze the GitHub PR check logs to identify the root cause and propose targeted code modifications.

Why does automated CI/CD troubleshooting require script execution within the repository?

Automated CI/CD troubleshooting requires script execution within the repository to securely access GitHub API endpoints, analyze the specific pull request context, and apply approved code fixes directly.