Gh debug

From FastLED/FastLED · View interactive version

Gh debug is an AI agent skill from the GitHub repository FastLED/FastLED. Debug GitHub Actions build failures by fetching and analyzing workflow logs. Use when CI/CD pipelines fail and you need to identify the root cause.

How to use this skill

Skill file

Pull GitHub Actions logs for a workflow run, parse them to identify errors, and provide a clear diagnostic report.

Arguments: $ARGUMENTS

Primary Method (Recommended): Use the Python script for efficient log analysis:

uv run ci/tools/gh_debug.py $ARGUMENTS

This script:

Fallback Method: If the Python script fails, use manual analysis:

Smart Log Fetching Strategy

  1. Identify failed jobs/steps using gh run view <run-id> --log-failed
  2. For each failed step, use targeted log extraction with grep filters
  3. Parse logs for: compilation errors, test failures, runtime issues
  4. Extract error context: ~10 lines before and after each error

Input Handling

Handle:

Output Format

Provide:

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.