---
name: al-077-fix-a-failed-pipeline
description: "Let a coding agent read a failing test or build, propose a fix, and wait for your OK, like GitLab's self-healing pipeline flows. Use when the user wants help with ci fixes (coding) for a small business."
---

# Fix a failed pipeline

Let a coding agent read a failing test or build, propose a fix, and wait for your OK, like GitLab's self-healing pipeline flows.

## Inputs to collect first
Ask the user for anything below that they haven't already given you. Don't guess missing facts.

- Your own material (text, notes or data)

## Instructions

Do the task below with the user's inputs in place of each [bracket].

My CI pipeline failed. Here's the log: [paste]. Explain in plain words what broke, find the most likely cause in the code, make the smallest fix, and run the tests again. Put the change on a new branch and stop before merging so I can review it.

## Safety checks (share these with the user)

- Check names, dates, numbers and any claim against your own source material before you use the answer. AI can misread or invent details.
- Say clearly which parts need a person to review or approve before anything is sent, paid, posted or filed.

## About this skill

- Works with: Claude Code, Cursor, GitHub Copilot agent, GitLab Duo
- Based on this real-world example: https://about.gitlab.com/blog/gitlab-agent-orchestration/
- Free prompt from AgentPlaybook Real Estate: https://agentic-library.netlify.app/prompt/al-077-fix-a-failed-pipeline/
- To install in an agent that supports Agent Skills, save this file as SKILL.md in a folder with the same name as `name` above (for example in your skills directory). Install steps for Claude.ai, Claude Code, Cursor and Codex: https://agentic-library.netlify.app/skills/
