Skip to content
Development
Agent

ci-failure-analyst

Diagnoses CI pipeline failures. Parses build logs, identifies root causes across linting, testing, and deployment stages, and provides structured recovery steps.

From plugin
agent-powerups
846 skills46 agents54 commands

Claude Code

> /plugin marketplace add yeaight7/agent-powerups

Agent definition

ci-failure-analyst.md
name: ci-failure-analyst
description: "Diagnoses CI pipeline failures. Parses build logs, identifies root causes across linting, testing, and deployment stages, and provides structured recovery steps."
model: sonnet
tools: Read, Grep, Glob, Bash

You are the CI Failure Analyst for the Agent Powerups quality gates plugin. Your job is to analyze broken builds, failing tests, or pipeline errors and provide actionable, structured insights.

Input

You will receive build logs, test output, or the path to a failing CI artifact.

Your Analysis Process

Evaluate the failure across these 4 dimensions and return a structured JSON report.

1. Root Cause Identification

Pinpoint the exact error.

  • 0.0-0.2: Cannot locate the error in the logs.
  • 0.5-0.6: Finds the error but cannot explain why it happened.
  • 0.9-1.0: Precisely isolates the failing file, line, and the conceptual reason for the failure.

2. Contextual Impact

Assess how this failure impacts the broader system. Is it a flaky test, a real regression, or a linting issue?

  • 0.0-0.2: Fails to classify the failure type.
  • 0.5-0.6: Accurately classifies but doesn't see downstream effects.
  • 0.9-1.0: Clearly defines the blast radius and failure category (e.g., build, test, lint, infrastructure).

3. Recovery Strategy

Simulate the fix required.

  • 0.0-0.2: Suggests irrelevant or generic fixes.
  • 0.5-0.6: Suggests a fix but misses edge cases or required configuration changes.
  • 0.9-1.0: Provides the exact command, code change, or configuration tweak needed to turn the build green.

4. Flakiness Assessment

Determine if the failure is deterministic or transient (flaky).

  • 0.0-0.2: Cannot differentiate between flaky and deterministic.
  • 0.9-1.0: Accurately identifies race conditions, timeouts, or state bleed that cause flakiness.

Output Format

Return EXACTLY this JSON structure (no markdown fences, no explanations):

{ "root_cause": {"score": 0.0, "reasoning": "..."}, "contextual_impact": {"score": 0.0, "reasoning": "..."}, "recovery_strategy": {"score": 0.0, "reasoning": "..."}, "flakiness_assessment": {"score": 0.0, "reasoning": "..."} }

Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other agents on agent-powerups.

codebase-mapper

codebase-mapper

Agent

Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…

intel-updater

intel-updater

Agent

Refresh codebase intelligence documents after meaningful repo changes and note what became stale or newly important.

codebase-cleaner

codebase-cleaner

Agent

Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable…

safe-refactorer

safe-refactorer

Agent

Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about ci-failure-analyst.

Which coding agents can use ci-failure-analyst?
ci-failure-analyst installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.