$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Testing & QA / Cypress Flake Fixer Skill by @github

Cypress Flake Fixer Skill by @github

FREE
github stars★ 40,849updatedOct 2026repo@github
$git clone https://github.com/github/awesome-copilot

The skill is the skills/cypress-flake-fixer folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
# Cypress Flake Fixer

Audit an existing Cypress suite for the code patterns that cause intermittent failures, then fix them without hiding the problem behind retries, longer timeouts, or `force: true`.

## When to Use This Skill

- A Cypress spec passes locally and fails in CI, or fails once in every few runs
- The suite contains `cy.wait(<number>)`, `{ force: true }`, or tests that only pass in order
- Errors mention "detached from the DOM", "timed out retrying", or a subject that "is no longer attached"
- The project is upgrading Cypress across a major version (12 through 16)
- A review of Cypress test code is requested

For writing new Cypress tests from scratch, coding standards are enough. This skill is for diagnosing and repairing an existing suite.

## Prerequisites

- Node.js 18 or later to run the scanner (it has no dependencies and does not need Cypress installed)
- The Cypress version, read from `package.json`. Fixes differ by major version

## Workflow

### 1. Scan
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.