# CI/CD Pipeline Troubleshooting

> Diagnosing failed GitHub Action or GitLab CI runs.

- Skill: `creanlab/ci-cd-pipeline-troubleshooting` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add creanlab/ci-cd-pipeline-troubleshooting`
- Raw SKILL.md: https://api.skillmd.com/api/skills/creanlab/ci-cd-pipeline-troubleshooting/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: creanlab (https://skillmd.com/u/creanlab)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/creanlab/ci-cd-pipeline-troubleshooting

---

# CI/CD Pipeline Troubleshooting

Diagnosing failed GitHub Action or GitLab CI runs.

## When to use
- When operating in the `devops` domain.
- When resolving incidents related to ci/cd pipeline troubleshooting.

## When not to use
- If the issue requires manual human intervention.
- If the domain does not apply.

## Triggers
- Pattern: `ci-cd-pipeline-troubleshooting`
- Keywords: devops, ci/cd

## Inputs
- Context from the current user session or incident report.

## Steps
### 1. Step 1
Identify the exact pipeline step that failed from the CI dashboard.

### 2. Step 2
Review the console output for dependency resolution errors, test failures, or syntax errors.

### 3. Step 3
If a flaky test is suspected, check the test history for non-deterministic behavior.

### 4. Step 4
Provide a fix or patch to the pipeline configuration or failing test.

## Success signals
- The task is resolved without regressions.
- Logs confirm the procedure was successfully applied.

## Failure modes
- Incorrect application of the steps leading to side effects.

## Safety notes
- Always verify changes in a staging environment before applying to production.
- Do not execute destructive commands without explicit authorization.

