Saltar al contenido
Skillpedia
Deploy y nube (DevOps)48 mil · #4744

github-actions-debugger

Qué hace

Este agente te ayuda a encontrar y corregir errores en los flujos de trabajo de GitHub Actions. Lee los registros de fallos y te sugiere los cambios exactos necesarios para solucionar el problema.

Cuándo usarla

  • ✓Cuando un flujo de trabajo de GitHub Actions falla y el error no está claro.
  • ✓Para corregir problemas con secrets, dependencias o configuraciones del entorno.
  • ✓Para optimizar flujos de trabajo que tardan demasiado en ejecutarse.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-debugger/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-debugger/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Mi flujo de trabajo de GitHub Actions ha fallado con el error 'Node.js 16 actions are deprecated'. ¿Qué debo cambiar?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Analiza los registros de error y la definición de tu flujo de trabajo (archivo .yml). Después identifica la causa raíz del problema y te muestra exactamente qué línea de código o qué configuración hay que modificar.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

GitHub Actions Pipeline Debugger

Overview

This skill is designed to act as an expert CI/CD diagnostician. It focuses specifically on reading raw logs from failed GitHub Actions, identifying the root cause of the crash or failure, and outputting the precise YAML or code changes required to fix the pipeline.

When to Use

  • Use when a GitHub Actions workflow fails unexpectedly and the error log is long, obscure, or misleading.
  • Use when debugging dependency mismatch errors, missing secrets, caching issues, or runner environment problems in CI.
  • Use to optimize slow pipelines by identifying bottlenecks in workflow steps.
  • Use to update and modernize deprecated actions or workflow syntax.

How It Works

  1. Log Ingestion & Redaction: Analyze the provided GitHub Actions workflow log (often exported as a raw text file or pasted directly). CRITICAL SAFETY REQUIREMENT: The user/agent must redact all sensitive credentials, secrets, tokens, private keys, and internal system paths from the logs before pasting or uploading them.
  2. Context Mapping: Cross-reference the failure point with the specific step and job in the .github/workflows/*.yml definition.
  3. Root Cause Analysis: Identify if the failure is due to:
    • Missing or misconfigured secrets (${{ secrets.API_KEY }}).
    • Node/Python/OS environment version mismatches.
    • Flaky tests or timeout limits.
    • Syntax errors in bash scripts run within the run: block.
    • Invalid action versions or deprecated actions.
  4. Resolution Proposal: Provide a direct diff of the .yml file or the underlying script that needs to be modified.

Best Practices

  • Provide Full Context: Always review both the workflow definition (.yml file) and the failure log simultaneously to ensure accurate diagnosis.
  • Check Action Versions: Many failures are caused by deprecated runtime versions (e.g., Node.js 16) in older third-party actions (e.g., actions/checkout@v2). Inspect the installed runner requirements and supported action release, verify upstream changes, and pin the reviewed full commit SHA. Do not assume a historical v4 example is latest.
  • Permissions Audit: Ensure the workflow has the correct permissions: block if it's attempting to write to the repository, packages, or deploy environments.
  • Reproducibility: If a test fails in CI but passes locally, investigate environment differences such as timezone, headless browser state, memory limits, or parallel execution race conditions.

Examples

Example 1: Fixing a Deprecated Node.js Action Version Error

Failing Log:

Warning: The Go/Node.js/Python version used by this action is deprecated.
Error: Node.js 16 actions are deprecated. Please update to use Node.js 20.

Proposed Fix Diff:

       - name: Checkout Code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v4

Example 2: Diagnosing and Fixing a Missing Repository Secret

Failing Log:

Run npm run deploy
  npm run deploy
  shell: /usr/bin/bash -e {0}
Error: API Key is required for deployment. Process exited with code 1.

Proposed Fix Diff:

       - name: Deploy App
         run: npm run deploy
+        env:
+          DEPLOY_API_KEY: ${{ secrets.DEPLOY_API_KEY }}

Exact Run Binding

Record repository, run ID, attempt, event, head SHA, runner and failing step. Read the workflow and referenced scripts from that same commit, not merely current main. Separate source errors, permissions, missing tools and observation timeouts. Never weaken tests or required checks to obtain a green badge.

Security & Safety Notes

  • Credential Exposure & Raw Log Redaction: Under no circumstances should raw logs containing unmasked secrets, private URLs, deployment targets, or tokens be processed without prior redaction. Always ensure the user or agent redacts all sensitive info before ingestion.
  • Dry-Run Mode: When recommending modifications to bash script steps inside workflows, ensure you suggest adding flags like --dry-run or staging execution where possible to prevent unintended side effects in downstream environments during debugging.

Limitations

  • The skill cannot securely read repository secrets. It can only infer missing or malformed secrets if the log complains about undefined environment variables or authentication failures.

…

Preguntas frecuentes

¿Qué son GitHub Actions?

Son tareas automatizadas que se ejecutan cuando ocurre algo en tu repositorio, como subir código nuevo. Ayudan a probar y desplegar tu software de forma automática.

¿Qué son los registros de fallos?

Son los registros de todo lo que ocurrió durante la ejecución de una tarea. Cuando una tarea falla, los registros muestran el mensaje de error y los pasos que llevaron al fallo.

¿Qué es un archivo .yml?

Es un archivo de configuración en el que defines cómo debe funcionar GitHub Actions, qué pasos seguir y cómo automatizar las tareas.

Detalles

Descripción original del autor

Specialized skill for diagnosing, analyzing, and fixing failing GitHub Actions workflows by parsing run logs and pipeline definitions.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#4744
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas