agentleFS
jovd83jovd83/cypress-skill/SKILL.md

cypress-skill

Skill0 starsChanged 35 days agoMITView on GitHub

Flagship Cypress skill pack for planning, authoring, debugging, documenting, and operationalizing Cypress. Routes E2E, API, component, visual, accessibility, CI/CD, coverage, docs, CLI automation, and handoff workflows.

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 12 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this root skill as the package entrypoint for general Cypress requests.

    line 25
  2. Distinctive:

    Do not load every guide by default.

    line 27
  3. Distinctive:

    Keep core testing guidance separate from optional planning, documentation, reporting, and handoff workflows.

    line 33
  4. Distinctive:

    Do not duplicate deep implementation guidance that already lives in a focused subskill.

    line 37
  5. Distinctive:

    Do not treat this repository as shared-memory infrastructure.

    line 38
  6. Very specific:

    Do not silently promote runtime notes into persistent artifacts.

    line 39
  7. Distinctive:

    Prefer the repository's native browser automation stack over Cypress when repo evidence points elsewhere.

    line 43
  8. Distinctive:

    Prefer resilient, user-facing locators and meaningful assertions.

    line 76
  9. Distinctive:

    Avoid hard waits, placeholder tests, placeholder assertions, and fake completion claims.

    line 77
  10. Very specific:

    Keep setup and state explicit.

    line 78
  11. Distinctive:

    Keep UI behavior in page objects only when repetition or complexity justifies them.

    line 79
  12. Distinctive:

    Keep requirements, plans, documentation, and executable tests traceable to one another when the workflow includes planning or documentation.

    line 81
  13. Distinctive:

    Conditional Testing Avoidance: Avoid writing tests that conditionally behave differently depending on the DOM state (e.g., "if this button …

    line 86
  14. Very specific:

    Anti-Pattern Hard Waits: Avoid using cy.wait(Number).

    line 88
  15. Very specific:

    Test-management work (export, ID mapping, result publishing) lives in the standalone test-management-sync skill.

    line 106
  16. Distinctive:

    Keep the package coherent: update the README, changelog, metadata, and validation artifacts when repo-level behavior changes.

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cypress Skill Pack

Author: jovd83 | Version: 2.0.0

Use this root skill as the package entrypoint for general Cypress requests. It is responsible for routing work to the smallest useful subskill, applying the shared standards of this repository, and keeping the package boundaries clear.

Do not load every guide by default. Read only the subskill and reference files that materially help with the current task.

Responsibilities

  • Route broad or ambiguous Cypress requests to the right subskill.
  • Apply the shared testing standards used across this repository.
  • Keep core testing guidance separate from optional planning, documentation, reporting, and handoff workflows.

Boundaries

  • Do not duplicate deep implementation guidance that already lives in a focused subskill.
  • Do not treat this repository as shared-memory infrastructure. If durable cross-agent knowledge is needed beyond one repo or skill, keep it in the agent's own memory (for example CLAUDE.md or AGENTS.md) instead of storing it here implicitly.
  • Do not silently promote runtime notes into persistent artifacts. Persistent outputs should be deliberate, named, and stored in a documented workflow such as coverage_plan/ or documentation/.

Working With Other Skills

  • Prefer the repository's native browser automation stack over Cypress when repo evidence points elsewhere.

Routing Map

NeedUse
Generic Cypress request or unclear starting pointorchestrator/SKILL.md
Writing or fixing Cypress testscore/SKILL.md
CI, sharding, artifacts, containerized executionci/SKILL.md
Page-object structure or fixture-vs-helper decisionspom/SKILL.md
Playwright or Selenium/WebDriver migrationmigration/SKILL.md
CLI browser automationcypress-cli/SKILL.md
Requirements extractionanalysis/SKILL.md
Coverage planningcoverage_plan/generation/SKILL.md and coverage_plan/review/SKILL.md
Coverage-plan maintenancecoverage_plan/auto-sync/SKILL.md
Narrative test documentation or format conversionThe test-management-sync skill (export job)
Automation-code documentation or failure diagnosisdocumentation/tests/SKILL.md or documentation/root_cause/SKILL.md
Human or agent handoff workflowsdocumentation/cypress-handover/SKILL.md and documentation/session-state/SKILL.md
Test-case export to Xray, Zephyr, TestLink, or TestRailThe test-management-sync skill (export job)
Mapping TestRail, Xray, Zephyr or TestLink IDs into tests, or publishing results thereThe test-management-sync skill (map-IDs and publish-results jobs)
IDE-specific setup helpinstallers/ subskills
Non-technical summary reportingreporting/stakeholder/SKILL.md

Operating Workflow

  1. Inspect the existing repository, tests, and requirements before prescribing structure.
  2. Infer the user's intent when it is clear; ask for clarification only when the decision would materially change the artifact or scope.
  3. Choose the smallest subskill that can complete the task well.
  4. Load only the relevant reference guides or scripts for that path.
  5. Produce concrete outputs such as code, plans, documentation, validation results, or stakeholder summaries instead of generic advice.

Shared Standards

  • Prefer resilient, user-facing locators and meaningful assertions.
  • Avoid hard waits, placeholder tests, placeholder assertions, and fake completion claims.
  • Keep setup and state explicit. Use cy.session() and seeded backend state intentionally, not implicitly.
  • Keep UI behavior in page objects only when repetition or complexity justifies them; keep helpers stateless where possible.
  • Mock external dependencies selectively; do not hide the behavior of the system under test behind unnecessary mocks.
  • Keep requirements, plans, documentation, and executable tests traceable to one another when the workflow includes planning or documentation.

Gotchas

  • Asynchronous Execution: Cypress commands are added to a queue and run asynchronously. Do not use standard async/await with Cypress commands; use .then() for yielding values.
  • Conditional Testing Avoidance: Avoid writing tests that conditionally behave differently depending on the DOM state (e.g., "if this button exists, click it"). Cypress expects deterministic state.
  • Cross-Origin Limits: Navigating to a different superdomain within a single test requires cy.origin().
  • Anti-Pattern Hard Waits: Avoid using cy.wait(Number). Always prefer waiting for aliases on network intercepts or relying on Cypress's built-in retry-ability on assertions.

Official References

Memory Model

  • Runtime memory: ephemeral reasoning and task state for the current thread.
  • Project-local persistent memory: artifacts such as coverage plans, handovers, session-state references, and generated documentation stored inside the target repository.
  • Shared memory: optional and external. Promote information into shared memory only when it is stable, reusable across tasks, and belongs outside this skill pack.

Package Shape

  • core/, ci/, pom/, migration/, and cypress-cli/ are the reusable testing foundation.
  • analysis/, coverage_plan/, and documentation/ add planning and traceability workflows.
  • documentation/cypress-handover/ and documentation/session-state/ are optional operational workflows for multi-session or multi-operator work.
  • reporting/ and installers/ are optional extensions, not prerequisites for ordinary Cypress authoring.
  • Test-management work (export, ID mapping, result publishing) lives in the standalone test-management-sync skill; this pack no longer carries its own copies.

Use the Root Skill Well

  • Stay at the root only for routing, package discovery, or repo-wide standards.
  • Move into a focused subskill as soon as the task is specific enough.
  • Keep the package coherent: update the README, changelog, metadata, and validation artifacts when repo-level behavior changes.

Download now (ZIP)

  • Other versions3 projects use a version of this.

    Word for word · 1

    1. jovd83/Cypress-skill★ 0100% same

    Edited · 0

    None found.

    Wrote their own version · 2

    1. LambdaTest/agent-skills★ 387same name
    2. Bot2353/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.