Cypress AI Toolkit 技能

通过官方工具指导编写、讲解、研究和调查 Cypress 测试。

Cypress 发布五个技能,覆盖测试编写、测试套件讲解、文档检索、运行中的开发会话和 Cypress Cloud 结果调查;本合集保留工具包的完整 skills 目录。

适用场景

  • 编写或修复 Cypress 测试
  • 分析不稳定测试并查询 Cypress 行为
  • 调查本地会话或 Cloud 测试失败

使用方法

提供测试代码、失败信息或文档问题。可使用上游插件完成配套配置;交互会话与 Cloud 调查需要相应 Cypress 工具。

Skills

  • cypress-author

    Creates, updates, and fixes Cypress tests (E2E/end-to-end and component tests). Use when the user asks to create tests, add tests, write tests, update tests, test this file/component, new spec, or fix a failing or flaky test. Apply even when the user does not say 'Cypress' (e.g. 'create tests for this file'). Prefer cypress-explain when the user only wants to explain or review tests without changing code.

    cypress-io/ai-toolkit
  • cypress-cloud-cli

    Runs the cy-cloud CLI to inspect Cypress Cloud organizations, projects, runs, specs, tests, failure screenshots, and Test Replay data. Use when the user mentions Cypress Cloud, cy-cloud, cypress-cloud-cli, a Cloud run or test URL, failing or flaky Cypress tests, Test Replay, run triage, Cloud artifacts, or asks why a recorded test failed.

    cypress-io/ai-toolkit
  • cypress-docs

    Search and extract Cypress information from official documentation (docs.cypress.io, cypress.io); prefer LLM markdown under /llm/* and refuse unverified API or behavior claims.

    cypress-io/ai-toolkit
  • cypress-explain

    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.

    cypress-io/ai-toolkit
  • cypress-tap

    Drives a running Cypress open-mode session through `cypress tap` to run and rerun specs, wait for fresh results, inspect reporter and command logs, and query or rewind the app under test through DOM, accessibility, styles, and snapshots. Use when authoring or debugging Cypress e2e or component specs, discovering selectors, diagnosing failures, or verifying test behavior without GUI interaction. Not for one-shot headless runs. Requires Cypress 15.21+, a Chromium-family browser, and a running `cypress open` session.

    cypress-io/ai-toolkit