Railway's official agent skill: create projects, provision databases and buckets, deploy, manage variables and domains, and read build failures back — from the CLI, API or MCP server.
Datadog Triage Flaky TestSkill
Summary
Official Datadog skill for investigating one flaky test — pulls its history and failure pattern, categorises the root cause and recommends fixing, quarantining or escalating.
Features
- Pulls per-test flake history, failure pattern and blast radius
- Categorises the flake's root cause rather than labelling it 'flaky'
- Recommends fix, quarantine or escalate with the evidence attached
- Auto-detects Datadog MCP server or pup CLI with a translation appendix
- Documents the lowercase-repo-ID and --sort="-field" quoting traps
- Designed as the deep-dive path from the unblock-pr skill
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Description
"That test is just flaky" is where most investigations stop. This official Datadog skill is built to go one step further on a single named test: pull its failure history, establish the pattern and blast radius, put the flake into a root-cause category, and then make a call — fix it, quarantine it, or escalate it to the owning team.
What it does
Given a fully qualified test name, it queries Datadog Test Optimization for how often and when the test has flaked, what changed around those runs, and how much of the suite the flake is holding up. The output is a recommendation with the evidence attached, which is what makes the quarantine decision defensible rather than a shrug.
Two backends, detected automatically
Like the rest of Datadog's software-delivery skills, it checks for an explicit --backend pup flag, then for the MCP server's get_datadog_flaky_tests tool, then for a working pup binary, and uses whichever it finds throughout. A Tool Reference appendix maps every MCP call to its pup equivalent. With neither available it stops and tells you to connect the MCP server or brew install datadog-labs/pack/pup.
The details that bite
Repository IDs must be passed to pup fully lowercase — the API rejects mixed case. Sort values that begin with a hyphen need = syntax, so --sort="-last_flaked" rather than --sort "-last_flaked", a shell-quoting trap that otherwise produces a confusing argument error. A 401 or 403 means the pup token expired and needs pup auth refresh.
Fits with
Requires the dd-pup skill for the CLI, and is the deep-dive that unblock-pr calls into once it has classified a failure as flaky. For teams with CI Visibility and Test Optimization already reporting, it turns flake triage from a judgement call into a documented one. MIT licensed.
Related Skills
Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.