Setup & Installation
What This Skill Does
Writes, updates, and fixes Cypress tests for both end-to-end and component testing. Works even when the user just says 'write tests' without mentioning Cypress by name. It follows a structured flow to identify what needs testing before writing any code.
It identifies what needs testing, picks the right test type, and writes correct Cypress syntax on the first try, so you skip the boilerplate and selector guesswork.
When to use it
- Writing a new E2E spec for a login or signup flow
- Adding component tests for a form or modal after building it
- Fixing a flaky test that passes locally but fails in CI
- Updating existing specs after a UI refactor changes selectors
- Scaffolding Cypress tests for a page that has zero coverage