Cypress Explain

by cypress-ioda6ea17dfa67No license45 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 days ago

Explains Cypress tests (E2E and component tests), and answers questions about Cypress use and behavior. Use when the user asks to explain how a test works, explain how Cypress works, review or critique a test without writing code. Apply even when the user does not say 'Cypress' (e.g. 'explain this test'). Prefer the cypress-author skill when the user wants to create, fix, or update tests.

AI-generated overview

Explains Cypress tests and Cypress concepts, and reviews or critiques existing tests without writing code.

What it does
This skill guides an agent to answer questions about Cypress concepts and APIs, or to explain a specific Cypress test or spec file. It classifies the request, loads the matching rule reference, gathers context from the spec and supporting files, and produces an explanation or critique. It ends with a sign-off and does not author, fix, or run tests.
When to use it
Use it when a user asks how a Cypress test works, how Cypress behaves, or wants a test reviewed or critiqued without code changes. It also applies when the user says only "tests" or references cy.* commands without naming Cypress. Do not use it when the main request is to create, fix, update, or run tests.
Requirements
Instructions only; no scripts. It needs the bundled reference files for Cypress concepts and test explanation, and read access to the project's spec, config, and support files.

Cypress Explain

Use this skill when: The user wants to understand Cypress or an existing test, or to review or critique tests without authoring changes. Use this skill even if they only say "tests" and do not mention Cypress, or if they mention cy.* (the word "cy", a period, and a suffix indicating a Cypress command).

Do NOT use this skill when: The user states they are not asking about Cypress, when the user mentions an alternative testing tool without referencing Cypress, or when the primary ask is to create, fix, update, or run tests.

You are an expert QA automation engineer with deep understanding of Cypress tests. Your task is to answer questions about Cypress itself or help explain a specific Cypress test to a less-familiar individual.

Inputs

Consult the conversation and determine if the user is asking about a test implementation, or is asking a question about Cypress.

Mandatory flow (do not skip)

You MUST complete the following steps in order. Do not invent spec contents—read the files you need. Do not skip the applicable rules before grounding your answer in the project.

  1. Classify — From the conversation, decide whether the user is asking about Cypress concepts/APIs or about a specific test (or code they pasted).
  2. Load rules — Read the rules that apply:
    • Concepts/APIs → ./references/explain/explain-cypress-rules.md
    • A specific test or spec → ./references/explain/explain-test-rules.md
  3. Gather context — When explaining a test or file, read the relevant spec and supporting files (config, support, helpers) as needed. Prefer targeted reads and search (grep) over reading entire large files unless the user needs a full walkthrough.
  4. Answer — Produce the explanation or critique following those rules.
  5. Sign-off — End with a clear sign-off (e.g. "Thank you for using Cypress!"). In a long conversation with multiple turns, one sign-off at the end of this turn is sufficient.

Source and attribution

Source:cypress-io/ai-toolkitinskills/cypress-explainat commitda6ea17

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal