ci-fix

Diagnose and auto-fix failing GitHub Actions CI runs from the current branch.

5|3|Updated Jun 18, 2024
One-click install
npx skills add https://github.com/Unique-AG/ai --skill ci-fix-unique-ag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-fix
Source: https://github.com/Unique-AG/ai/tree/main/.claude/skills/ci-fix
Command: npx skills add https://github.com/Unique-AG/ai --skill ci-fix-unique-ag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

CI workflows can stall on failing runs; this skill helps you diagnose and auto-fix failures from your current branch without opening the GitHub Actions UI.

Core Features & Use Cases

  • Auto-fetch the latest failed CI run on the current branch for quick triage
  • Classify failure types including lint/format, pre-commit, lock file, test, and environment issues
  • Auto-fix (where safe) or provide a structured diagnosis and actionable recommendations
  • Generate a concise diagnosis summary to document what happened and what was done

Quick Start

Run the ci-fix command to start triaging and automatically fixing the current branch's CI failures.

Frequently Asked Questions about ci-fix

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

FAQPage Schema
How do I auto-fix failing CI runs from my current branch?

To auto-fix failing CI runs, you can diagnose and resolve issues directly from your current branch without opening the GitHub Actions UI. The tool classifies failure types like lint, formatting, and lock file issues, then applies safe fixes automatically.

What types of CI failures can be automatically diagnosed and fixed?

CI failures that can be automatically diagnosed and fixed include lint, formatting, pre-commit, lock file, test, and environment issues. The tool classifies these logs to apply safe fixes or provide actionable recommendations.

Do I need the gh CLI to diagnose GitHub Actions failures?

You do not strictly need the gh CLI to diagnose GitHub Actions failures, as the tool can fall back to manual log paste if unauthenticated. However, gh CLI is required for the auto-fetch mode to retrieve the latest failed run automatically.

Can I triage CI failures without opening the GitHub Actions UI?

Yes, you can triage CI failures without opening the GitHub Actions UI. The tool auto-fetches the latest failed run on your current branch and generates a concise diagnosis summary to document what happened and what was done.

How do I resolve pre-commit and lock file issues in my CI pipeline?

To resolve pre-commit and lock file issues in your CI pipeline, the tool classifies these specific failure types from the logs and applies safe fixes automatically. It provides structured diagnoses and actionable recommendations to restore the pipeline.

What should I do if my CI logs cannot be auto-fetched?

If your CI logs cannot be auto-fetched, you can manually paste the log text into the tool. This fallback mode allows you to diagnose test, lint, and environment failures when the gh CLI is unavailable or unauthenticated.