cicd

Monitor CI/CD pipelines, tests, DORA metrics, and deployment gates via Datadog APIs.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill cicd-lauhon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cicd
Source: https://github.com/lauhon/pi/tree/main/skills/cicd
Command: npx skills add https://github.com/lauhon/pi --skill cicd-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering teams lack a unified way to query CI/CD health data—failed tests, flaky tests, pipeline failures, and deployment performance—without manually navigating the Datadog UI. This Skill lets you query and manage Datadog CI/CD Visibility data directly through natural language. ## Core Features & Use Cases - Test & Pipeline Visibility: Search and aggregate test execution events and pipeline runs by status, service, branch, or repository, and identify flaky tests. - DORA Metrics: Record deployment and failure events, then calculate deployment frequency, lead time, MTTR, and change failure rate. - Deployment Gates: Create and manage deployment gates and validation rules (monitor-based or faulty deployment detection) for automated deployment checks. - Use Case: Ask "What are our DORA metrics for production this month?" and get the four key metrics with performance benchmarks and recommendations. ## Quick Start Ask the agent to show all failed tests in the last 24 hours for your service using Datadog CI Visibility.

Frequently Asked Questions about cicd

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

FAQPage Schema
How do I find failed tests in Datadog CI Visibility?

Search test events with a status filter such as @test.status:fail over a time range like the last 24 hours. You can narrow results further by service, test name, or tags using the test query syntax.

How to calculate DORA metrics with Datadog?

Record deployment and failure events for your services, then run the DORA metrics command with a service, environment, and time window. It returns deployment frequency, lead time, MTTR, and change failure rate with performance benchmarks.

What credentials does Datadog CI Visibility require?

You need three environment variables: DD_API_KEY, DD_APP_KEY, and DD_SITE (defaulting to datadoghq.com). The keys must have CI Visibility permissions, otherwise API calls return insufficient permission errors.

Can I quarantine flaky tests in Datadog?

Yes, flaky tests can be set to quarantined, disabled, fixed, or active states through the test optimization API. Quarantining suppresses CI failures while a fix is prepared, and all state changes are reversible by setting the state back to active.

Why does my CI/CD search return no data?

No results usually means CI Visibility is not instrumented for that repository, the query is too restrictive, or the time range is too narrow. Broaden the query, extend the time window, or verify instrumentation is configured.