triage-ci-flake

Reproduce CI test failures locally with development and production builds.

417|7|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Asymmetric-al/core --skill triage-ci-flake-asymmetric-al
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triage-ci-flake
Source: https://github.com/Asymmetric-al/core/tree/main/vendor/payload-upstream/.claude/skills/triage-ci-flake
Command: npx skills add https://github.com/Asymmetric-al/core --skill triage-ci-flake-asymmetric-al

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a systematic workflow to diagnose and resolve intermittent or flaky test failures occurring in Continuous Integration (CI) environments, especially when tests pass locally.

Core Features & Use Cases

  • Reproduce Failures: Executes specific commands to reliably reproduce CI test failures locally, first with development code and then with bundled production code.
  • Root Cause Analysis: Guides users through debugging steps based on whether the failure is reproduced in dev or prod environments.
  • Use Case: A critical integration test suddenly starts failing in the CI pipeline after a merge, but it passes when run on a developer's machine. This Skill helps pinpoint whether the issue is in the development build or the production build process.

Quick Start

Use the triage-ci-flake skill to reproduce and debug a failing CI test by following the mandatory first steps.

Frequently Asked Questions about triage-ci-flake

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

FAQPage Schema
How do I debug flaky tests that pass locally but fail in CI?

Reproducing flaky CI test failures locally requires running the specific failing test in both development and production build environments to isolate whether timing, bundling, or environment differences cause the issue.

Why do my Vitest or Playwright tests fail in CI but not on my machine?

Vitest or Playwright tests may fail in CI due to timing issues, bundling discrepancies, or environment differences between local machines and CI pipelines, requiring systematic local reproduction to resolve.

How do I reproduce a CI test failure locally to find the root cause?

Reproducing a CI test failure locally involves a mandatory workflow of executing the failing test against development code first, followed by a bundled production build, to identify the exact failure environment.

Does this triage workflow work for both Vitest and Playwright test failures?

Yes, the triage workflow applies to flaky test failures across testing frameworks like Vitest and Playwright, systematically addressing environment differences and timing issues found in CI pipelines.

What is the difference between debugging dev and production builds for CI flakes?

Debugging dev builds checks for basic logic or timing failures, while debugging production builds identifies issues introduced during bundling, helping isolate whether the CI flake stems from code or the build process.