Token导航 LogoToken导航

Agent Skill · 研究检索

cypress(Cypress 测试)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

cypress 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 41,684。

总安装 1,151周安装 47GitHub Stars 347下载 372核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cypress(Cypress 测试)
来源仓库:https://github.com/teachingai/full-stack-skills
仓库路径:skills/cypress
安装命令:
npx skills add https://github.com/teachingai/full-stack-skills --skill cypress
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/teachingai/full-stack-skills --skill cypress

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

cypress 提供端到端与组件测试的完整解决方案。适用于 React、Vue、Angular 等前端框架的测试自动化。集成 CI/CD 流水线,支持并行执行与测试录制回放。使用前应确认浏览器环境与测试框架兼容性,避免版本冲突。cypress 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/cypress

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/teachingai/full-stack-skills --skill cypress;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cypress 怎么安装?

在终端执行 npx skills add https://github.com/teachingai/full-stack-skills --skill cypress。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cypress 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cypress 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

cypress 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

cypress 用的人多吗?

公开数据是累计安装 1,151 次,近一周安装 47 次,下载 372 次,GitHub 347 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cypress 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cypress

Cypress 测试 · 本页

1,151347操作浏览器MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When to use this skill

Use this skill whenever the user wants to:

  • Set up Cypress for end-to-end testing
  • Write Cypress test cases
  • Configure Cypress for component testing
  • Integrate Cypress with CI/CD pipelines
  • Use Cypress commands and assertions
  • Debug Cypress tests
  • Optimize Cypress test performance
  • Migrate from other testing frameworks to Cypress
  • Use Cypress with different frameworks (React, Vue, Angular, Svelte)
  • Configure Cypress for different environments

How to use this skill

This skill is organized to match the Cypress official documentation structure (https://docs.cypress.io/app/get-started/why-cypress, https://docs.cypress.io/api/table-of-contents). When working with Cypress:

  1. Identify the topic from the user's request:

- Getting Started/快速开始 → examples/get-started/ - Core Concepts/核心概念 → examples/core-concepts/ - Component Testing/组件测试 → examples/component-testing/ - End-to-End Testing/E2E测试 → examples/end-to-end-testing/ - Continuous Integration/持续集成 → examples/continuous-integration/ - Guides/指南 → examples/guides/ - References/参考 → examples/references/ - API Reference/API 参考 → api/

  1. Load the appropriate example file from the examples/ directory: Getting Started (快速开始) - examples/get-started/: Core Concepts (核心概念) - examples/core-concepts/: Component Testing (组件测试) - examples/component-testing/: End-to-End Testing (E2E测试) - examples/end-to-end-testing/: Continuous Integration (持续集成) - examples/continuous-integration/: Guides (指南) - examples/guides/: References (参考) - examples/references/: Other Sections:

- examples/get-started/install-cypress.md - examples/get-started/open-the-app.md - examples/get-started/why-cypress.md - examples/core-concepts/best-practices.md - examples/core-concepts/interacting-with-elements.md - examples/core-concepts/introduction-to-cypress.md - examples/core-concepts/open-mode.md - examples/core-concepts/retry-ability.md - examples/core-concepts/test-isolation.md - examples/core-concepts/testing-types.md - examples/core-concepts/variables-and-aliases.md - examples/core-concepts/writing-and-organizing-tests.md - examples/component-testing/angular/api.md - examples/component-testing/angular/examples.md - examples/component-testing/angular/overview.md - examples/component-testing/component-framework-configuration.md - examples/component-testing/custom-frameworks.md - examples/component-testing/get-started.md - examples/component-testing/react/api.md - examples/component-testing/react/examples.md - examples/component-testing/react/overview.md - examples/component-testing/styling-components.md - examples/component-testing/svelte/api.md - examples/component-testing/svelte/examples.md - examples/component-testing/svelte/overview.md - examples/component-testing/vue/api.md - examples/component-testing/vue/examples.md - examples/component-testing/vue/overview.md - examples/end-to-end-testing/testing-your-app.md - examples/end-to-end-testing/writing-your-first-end-to-end-test.md - examples/continuous-integration/aws-codebuild.md - examples/continuous-integration/bitbucket-pipelines.md - examples/continuous-integration/circleci.md - examples/continuous-integration/github-actions.md - examples/continuous-integration/gitlab-ci.md - examples/continuous-integration/overview.md - examples/guides/accessibility-testing.md - examples/guides/authentication-testing/amazon-cognito-authentication.md - examples/guides/authentication-testing/auth0-authentication.md - examples/guides/authentication-testing/azure-active-directory-authentication.md - examples/guides/authentication-testing/google-authentication.md - examples/guides/authentication-testing/okta-authentication.md - examples/guides/authentication-testing/social-authentication.md - examples/guides/conditional-testing.md - examples/guides/cross-browser-testing.md - examples/guides/cross-origin-testing.md - examples/guides/cypress-studio.md - examples/guides/debugging.md - examples/guides/migration/protractor-to-cypress.md - examples/guides/migration/selenium-to-cypress.md - examples/guides/network-requests.md - examples/guides/screenshots-and-videos.md - examples/guides/stubs-spies-and-clocks.md - examples/guides/test-retries.md - examples/references/advanced-installation.md - examples/references/assertions.md - examples/references/bundled-libraries.md - examples/references/changelog.md - examples/references/client-certificates.md - examples/references/command-line.md - examples/references/configuration.md - examples/references/content-security-policy.md - examples/references/environment-variables.md - examples/references/error-messages.md - examples/references/experiments.md - examples/references/launching-browsers.md - examples/references/migration-guide.md - examples/references/module-api.md - examples/references/proxy-configuration.md - examples/references/recipes.md - examples/references/roadmap.md - examples/references/trade-offs.md - examples/references/troubleshooting.md - examples/faq.md - examples/plugins/plugins-guide.md - examples/plugins/plugins-list.md - examples/tooling/IDE-integration.md - examples/tooling/code-coverage.md - examples/tooling/reporters.md - examples/tooling/typescript-support.md - examples/tooling/visual-testing.md

  1. Reference API documentation in the api/ directory when needed: Commands API - api/commands/: Cypress API - api/cypress-api/: Node Events API - api/node-events/: Utilities API - api/utilities/: Table of Contents - api/table-of-contents/:

- api/commands/and.md - api/commands/as.md - api/commands/blur.md - api/commands/check.md - api/commands/children.md - api/commands/clear.md - api/commands/clearallcookies.md - api/commands/clearalllocalstorage.md - api/commands/clearallsessionstorage.md - api/commands/clearcookie.md - api/commands/clearcookies.md - api/commands/clearlocalstorage.md - api/commands/click.md - api/commands/clock.md - api/commands/closest.md - api/commands/contains.md - api/commands/dblclick.md - api/commands/debug.md - api/commands/document.md - api/commands/each.md - api/commands/end.md - api/commands/eq.md - api/commands/exec.md - api/commands/filter.md - api/commands/find.md - api/commands/first.md - api/commands/fixture.md - api/commands/focus.md - api/commands/focused.md - api/commands/get.md - api/commands/getallcookies.md - api/commands/getalllocalstorage.md - api/commands/getallsessionstorage.md - api/commands/getcookie.md - api/commands/getcookies.md - api/commands/go.md - api/commands/hash.md - api/commands/hover.md - api/commands/intercept.md - api/commands/invoke.md - api/commands/its.md - api/commands/last.md - api/commands/location.md - api/commands/log.md - api/commands/mount.md - api/commands/next.md - api/commands/nextall.md - api/commands/nextuntil.md - api/commands/not.md - api/commands/origin.md - ... and 43 more command files - api/cypress-api/arch.md - api/cypress-api/browser.md - api/cypress-api/catalog-of-events.md - api/cypress-api/config.md - api/cypress-api/cookies.md - api/cypress-api/currentretry.md - api/cypress-api/currenttest.md - api/cypress-api/custom-commands.md - api/cypress-api/custom-queries.md - api/cypress-api/cypress-log.md - api/cypress-api/dom.md - api/cypress-api/element-selector-api.md - api/cypress-api/ensure.md - api/cypress-api/env.md - api/cypress-api/isbrowser.md - api/cypress-api/iscy.md - api/cypress-api/keyboard-api.md - api/cypress-api/platform.md - api/cypress-api/require.md - api/cypress-api/screenshot-api.md - api/cypress-api/session.md - api/cypress-api/spec.md - api/cypress-api/stop.md - api/cypress-api/testing-type.md - api/cypress-api/version.md - api/node-events/after-run-api.md - api/node-events/after-screenshot-api.md - api/node-events/after-spec-api.md - api/node-events/before-run-api.md - api/node-events/before-spec-api.md - api/node-events/browser-launch-api.md - api/node-events/configuration-api.md - api/node-events/overview.md - api/node-events/preprocessors-api.md - api/utilities/$.md - api/utilities/_.md - api/utilities/blob.md - api/utilities/buffer.md - api/utilities/minimatch.md - api/utilities/promise.md - api/utilities/sinon.md

  1. Follow the specific instructions in that example file for syntax, structure, and best practices Important Notes:

- All examples follow Cypress best practices - Examples include both JavaScript and TypeScript versions where applicable - Each example file includes parameters, returns, common errors, best practices, and scenarios - Always check the example file for best practices and common patterns

  1. Reference the official documentation when needed:

- Getting Started: https://docs.cypress.io/app/get-started/why-cypress - API Reference: https://docs.cypress.io/api/table-of-contents

Best Practices

  1. Use data-cy attributes: Use data-cy attributes for stable, test-friendly selectors
  2. Avoid hard-coded waits: Leverage Cypress's built-in retry-ability instead of cy.wait()
  3. Keep tests isolated: Each test should be independent and not rely on other tests
  4. Use custom commands: Create custom commands for reusable test logic
  5. Follow assertion patterns: Use Cypress's built-in assertions for better error messages
  6. Configure properly: Set up cypress.config.js correctly for your project
  7. Use fixtures: Use fixtures for test data instead of hard-coding values
  8. Component testing: Use component testing for isolated component testing
  9. CI/CD integration: Configure Cypress properly for CI/CD environments
  10. Debug effectively: Use Cypress's debugging tools and commands

Resources

Keywords

Cypress, end-to-end testing, E2E testing, component testing, test automation, browser testing, test framework, assertions, commands, fixtures, CI/CD, continuous integration, test runner, 端到端测试, E2E测试, 组件测试, 测试自动化, 浏览器测试, 测试框架, 断言, 命令, 固定数据, 持续集成, 测试运行器

平台分布

Claude Code

28.45%
按下载量换算106

Antigravity

21.62%
按下载量换算80

Gemini CLI

16.93%
按下载量换算63

OpenCode

12.14%
按下载量换算45

trae

7.15%
按下载量换算27

Codex

3.67%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills