Browse Source

feat(skills): Add when_to_use trigger guidance to cypress-ops

0xDarkMatter 1 week ago
parent
commit
14ba6e97cc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      skills/cypress-ops/SKILL.md

+ 3 - 0
skills/cypress-ops/SKILL.md

@@ -1,6 +1,7 @@
 ---
 name: cypress-ops
 description: "Cypress end-to-end and component testing operations - selector/retry-ability strategy, cy.intercept network stubbing, cy.session auth, component vs e2e, flake diagnosis, CI, Test Replay. Use for: cypress, e2e test, component test, cy.get, cy.intercept, cy.session, data-cy, data-test, retry-ability, flake, flaky test, cypress.config, cy.mount, Test Replay, custom commands, fixtures."
+when_to_use: "Use when writing or fixing Cypress e2e/component tests — e.g. 'pick stable selectors and data-cy', 'stub network with cy.intercept', 'share login with cy.session', 'diagnose a flaky retry-ability test'. For Playwright or other runners, use playwright-ops / testing-ops."
 license: MIT
 allowed-tools: "Read Write Bash"
 metadata:
@@ -10,6 +11,8 @@ metadata:
 
 # Cypress Operations
 
+> Facts verified as of 2026-07.
+
 **Version context (verified against docs.cypress.io, 2026-06):** Cypress 14.x, Test
 Replay (v13+), `cy.session` with `cacheAcrossSpecs`. APIs move — confirm against the live
 docs when a detail is load-bearing.