triage-flaky-test

Analyze historical failure patterns to triage flaky tests in CI/CD pipelines.

150|23|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/datadog-labs/agent-skills --skill triage-flaky-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triage-flaky-test
Source: https://github.com/datadog-labs/agent-skills/tree/main/dd-software-delivery/triage-flaky-test
Command: npx skills add https://github.com/datadog-labs/agent-skills --skill triage-flaky-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pup, datadog-mcp, and includes scripts (resource) components.

What problem does it solve?

This Skill assists in diagnosing flaky tests, providing insights into failure patterns and suggesting fixes or quarantine actions.

Core Features & Use Cases

  • Diagnosis: Identifies flaky test history, failure rates, and categories.
  • Recommendation: Offers actionable advice based on the test's root cause and blast radius.
  • Use Case: When faced with a flaky test that intermittently fails, use this Skill to analyze the issue and determine whether to fix, quarantine, or escalate.

Quick Start

Run the command: triage-flaky-test --test-name <test-name> --repository <repository-url>

Frequently Asked Questions about triage-flaky-test

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

FAQPage Schema
How do I investigate and find the root cause of flaky tests in my CI/CD pipeline?

Investigating flaky tests requires analyzing historical failure patterns and failure rates within your CI/CD pipeline to determine root causes. This skill automates that triage process to identify why intermittent test failures occur.

What is the best way to triage intermittent test failures and decide whether to fix or quarantine them?

Triage intermittent test failures by evaluating the root cause and blast radius of the failing test. This skill analyzes historical failure data to recommend specific actions, advising whether to fix, quarantine, or escalate the issue.

Do I need the datadog-mcp or pup CLI to analyze flaky test history?

Yes, analyzing flaky test history with this skill requires the datadog-mcp or pup CLI. These dependencies are necessary for data retrieval and modification when operating within your CI/CD pipeline context.

How do I diagnose flaky test failure rates and categories for a specific repository?

Diagnose flaky test failure rates by running the triage command with the specific test name and repository URL. The skill retrieves historical data to identify failure rates and categorize the test failures.

When should I quarantine a flaky test instead of fixing it in my CI/CD pipeline?

Quarantine a flaky test instead of fixing it when the root cause and blast radius analysis indicate it is the most viable option. The skill recommends whether to quarantine, fix, or escalate based on the historical failure patterns in your pipeline.