Gh ci analyzer

From bohemian-miser/RecipeLanes · View interactive version

Gh ci analyzer is an AI agent skill from the GitHub repository bohemian-miser/RecipeLanes. Analyze the latest GitHub Actions CI failure for the current branch. Fetches logs, extracts error signatures, and helps diagnose root causes in the codebase. Use when the user reports CI failures or when you need to understand why a build or test run failed.

How to use this skill

Skill file

GitHub CI Analyzer

This skill helps you quickly identify and diagnose CI failures in this repository using the GitHub CLI (gh).

Workflow

1. Analyze Recent Runs

Execute the analysis script to see a summary of recent runs and detailed error extraction for the latest failure.

./gh-ci-analyzer/scripts/analyze_failure.sh

2. Deep Dive into Logs

If the error summary is insufficient, use the generated log file for more context:

tail -n 100 /tmp/gh-ci-analyzer/run_<id>.log

3. Diagnose the Codebase

Based on the extracted errors (e.g., specific test files or linting errors), use grep_search or read_file to investigate the relevant code.

4. Propose a Fix

After identifying the root cause, summarize your findings and propose a fix. Do not apply the fix directly unless specifically instructed.

Common Error Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.