Triage Ci Flake
Turns a failing CI check on main or a PR's status checks into a reproducible investigation, with a mandatory run-before-fix rule.
- CCM score
- 70 of 100
- skills.sh installs
- 314
- GitHub stars
- 46K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers triage of e2e and Playwright test failures that pass locally but fail in CI, including flaky timing and bundling issues
- Includes a PR-based workflow that pulls failing status checks, aggregates failing suites into a summary table, and spots common patterns
- Enforces reproduction in dev mode first, then against a production build via
pnpm prepare-run-test-against-prodandpnpm dev:prod, before any fix is proposed - Designed for maintainers of the Payload monorepo who need to isolate a single named test rather than rerun whole suites
Install
$ npx -y skills add payloadcms/payload --skill triage-ci-flake -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Triage CI Failure
Overview
Systematic workflow designed specifically for triaging and fixing end-to-end (e2e) test failures in CI, especially flaky Playwright tests that pass locally but fail in CI. E2E tests that made it to main are usually flaky due to timing, bundling, or environment differences.
CRITICAL RULE: You MUST run the reproduction workflow before proposing any fixes. No exceptions.
When to Use
- CI test fails on
mainbranch after PR was merged - Test passes locally but fails in CI
- Test failure labeled as "flaky" or intermittent
- E2E test timing out in CI only
- User provides a PR URL/number with failing checks
PR-Based Workflow (When PR URL/Number Provided)
When the user provides a PR URL (e.g., https://github.com/payloadcms/payload/pull/16701) or PR number:
Step 1: Fetch PR Status Checks
First, use tool_search with query "github pull request status checks" to load the GitHub tools.
Then use the github-pull-request_pullRequestStatusChecks tool to get all failing checks:
Details
- Repository
- github.com/payloadcms/payload
- Categories
- Debugging, Testing & QA, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
How do I triage a flaky CI test failure with the triage-ci-flake skill?
The triage-ci-flake skill walks through end-to-end test failures in CI, especially flaky Playwright tests that pass locally but fail in CI. It runs the failing test against dev code first, then against bundled production code, before any fix is proposed.
How do I install the triage-ci-flake skill?
Run npx -y skills add payloadcms/payload --skill triage-ci-flake -y in a project to install it. Once installed, the agent can aggregate failing checks from a pull request URL or number and work through each failing test.
Which other skills sit in the Debugging category next to triage-ci-flake?
triage-ci-flake sits in the Debugging category alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli. Its focus is narrower, on CI and Playwright end-to-end failures rather than general debugging.
More from payloadcms/payload
All 5Similar to Triage Ci Flake
More Debuggingpr-status-triagevercel/next.js839 installsTriage CI failures and PR review feedback in the Next.js monorepo via scripts/pr-status.js, blocker-first.
fixalirezarezvani/claude-skills1.7K installsSystematic diagnosis and repair of failing or intermittently passing Playwright tests, sorted into four failure categories.
diagnose-ci-failureswarpdotdev/common-skills29.4K installsStructured CI failure triage for a PR using the GitHub CLI, covering status, logs, and fix planning.
test-fixingsickn33/agentic-awesome-skills661 installsSystematic failing-test triage that groups errors by type and fixes infrastructure before logic.
ci-cd-and-automationaddyosmani/agent-skills79.5K installsAutomated quality gates and deployment pipelines that block any change failing lint, types, tests, build, or audit.
e2e-testingaffaan-m/ecc14.4K installsPlaywright E2E testing patterns covering Page Object Model, CI/CD setup, artifact capture, and flaky test triage.