ci-failure-analysis

Analyze GitHub Actions CI failures and propose fixes for pull requests.

Updated Feb 29, 2020
One-click install
npx skills add https://github.com/kevinrobayna/dotfiles --skill ci-failure-analysis-kevinrobayna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-failure-analysis
Source: https://github.com/kevinrobayna/dotfiles/tree/main/claude/dot-claude/skills/ci-errors
Command: npx skills add https://github.com/kevinrobayna/dotfiles --skill ci-failure-analysis-kevinrobayna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly identify the root cause of CI/CD pipeline failures in GitHub Actions and provides actionable steps to fix them.

Core Features & Use Cases

  • Automated Log Analysis: Parses CI logs to pinpoint specific errors (test failures, build issues, linting problems).
  • Root Cause Identification: Correlates failures with recent code changes in a pull request.
  • Fix Proposal: Suggests concrete code modifications or actions to resolve the identified issues.
  • Use Case: When a pull request fails in CI, this Skill can automatically analyze the logs, tell you exactly which test broke, show the relevant error message, and suggest the code change needed to fix it.

Quick Start

Analyze the CI failures for pull request number 123.

Frequently Asked Questions about ci-failure-analysis

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

FAQPage Schema
How do I analyze GitHub Actions CI failures for a pull request?

To analyze GitHub Actions CI failures, this Skill fetches run logs for a specified pull request, identifies root causes across test, build, lint, and infrastructure errors, and proposes specific fixes correlated with your PR changes.

What's the best way to debug CI pipeline failures and identify the root cause?

The best way to debug CI pipeline failures is to automatically parse CI logs to pinpoint specific errors, correlate those failures with recent code changes in the pull request, and suggest concrete code modifications to resolve the issues.

Does CI failure analysis work with GitHub CLI to fetch pull request logs?

Yes, CI failure analysis works with GitHub CLI by utilizing commands to view pull request details, diffs, and run logs, supporting deterministic task execution and in-depth information retrieval from GitHub Actions.

Can I get automated fix proposals for broken tests and build issues in GitHub Actions?

Yes, you can get automated fix proposals for broken tests and build issues by having the Skill parse CI logs, show the relevant error messages, and suggest the exact code changes needed to resolve the identified failures.

What types of CI errors can be automatically identified from GitHub Actions run logs?

The types of CI errors that can be automatically identified from GitHub Actions run logs include test failures, build issues, linting problems, and infrastructure errors, which are then mapped to specific PR diffs.