actionmedic

Diagnose and repair failing Azure DevOps Pipeline runs until the latest commit is green.

Updated Dec 20, 2025
Ready to run
npx skills add https://github.com/koala-man-64/helpful-scripts --skill actionmedic-koala-man-64
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: actionmedic
Source: https://github.com/koala-man-64/helpful-scripts/tree/main/exports/codex-skills/repo-local/actionmedic
Command: npx skills add https://github.com/koala-man-64/helpful-scripts --skill actionmedic-koala-man-64

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Failing CI pipelines block merges and releases, and manually digging through Azure DevOps run logs to find root causes is slow and error-prone. This Skill automates the full repair loop: auditing pipeline runs, diagnosing failures, implementing minimal fixes, validating locally, pushing to Azure Repos, and monitoring until the latest commit is green. ## Core Features & Use Cases - Autonomous CI Repair Loop: Audits Azure Pipeline runs for a branch or pull request, classifies root causes (YAML misconfiguration, dependency issues, flaky tests, permissions, matrix problems), and fixes one logical cause per commit. - Azure DevOps-Native Workflow: Uses az devops, az repos, az pipelines, or the Azure DevOps REST API for live run evidence, treating Azure DevOps as the authoritative CI system. - Guardrails and Evidence Discipline: Enforces non-negotiables such as no disabling workflows, no force-pushes, minimal diffs, local validation before commit, and a repair journal comparing each attempt against prior evidence. - Use Case: A pull request shows three failing pipeline jobs. The Skill pulls the failing logs, identifies a broken dependency cache key, validates the fix locally, commits with fix(ci): ..., pushes to Azure Repos, and monitors the new run until green. ## Quick Start Use actionmedic to diagnose the failing Azure DevOps Pipeline runs on my current branch, fix the root cause, push to Azure Repos, and iterate until the latest commit is green.

Frequently Asked Questions about actionmedic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix failing Azure DevOps pipeline runs?▼

Use this Skill to audit pipeline runs for your latest commit, classify each failure's root cause, implement the smallest justified fix, validate locally, and push to Azure Repos. It then monitors the new runs and repeats the loop until everything is green or a hard blocker is documented.

How to diagnose failed or stuck Azure Pipelines jobs?▼

The Skill collects evidence per failing job including run ID, failing step, exit code, exact error text, and whether the failure is deterministic, flaky, or transient. It uses `az pipelines runs list` and `az pipelines runs show` or the Azure DevOps REST API for live run data.

Does it work with GitHub Actions or only Azure DevOps?▼

It treats Azure DevOps as the authoritative CI system and uses Azure Repos remotes and Azure Pipelines evidence exclusively. Old GitHub Actions workflow files are treated only as migration evidence, not as authoritative CI configuration.

What guardrails prevent the repair loop from making things worse?▼

The Skill forbids disabling workflows, suppressing failures, loosening security controls, skipping tests, force-pushing, and unrelated refactors. It fixes one root cause per commit, validates locally first, and keeps a repair journal comparing each attempt against prior evidence.

When does the pipeline repair loop stop?▼

It stops when all runs for the latest pushed commit are green including required checks, or when blocked by insufficient permissions, missing secrets, external outages, or reaching the max attempt count (default 10). Blocked states include evidence and the smallest human action needed.