cypress-author

Automate Cypress test creation, updates, and repairs from user requests.

38|3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/cypress-io/ai-toolkit --skill cypress-author-cypress-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cypress-author
Source: https://github.com/cypress-io/ai-toolkit/tree/main/skills/cypress-author
Command: npx skills add https://github.com/cypress-io/ai-toolkit --skill cypress-author-cypress-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The cypress-author Skill solves the challenge of using AI tools with Cypress, ensuring consistent and correct application of Cypress-specific knowledge to generate and review test code.

Core Features & Use Cases

  • Test Creation and Maintenance: Improves how AI tools create, update, and fix Cypress tests (E2E/end-to-end and component tests).
  • Use Case: When the user wants to create new tests, update existing tests, or fix failing or flaky tests, cypress-author can assist by collecting information and executing the necessary Cypress commands.

Quick Start

To create a new Cypress test for a file, use the command: 'cypress-author create-test file: path/to/file.spec.ts'

Frequently Asked Questions about cypress-author

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Cypress test creation for end-to-end and component testing?

Automate Cypress test creation by analyzing user requests and generating appropriate Cypress commands. You can create new end-to-end and component tests, update existing ones, and fix flaky tests using AI-assisted guidance.

What is the best way to fix flaky Cypress tests using AI?

Fix flaky Cypress tests by leveraging AI-assisted testing to analyze failures and execute necessary commands. This approach ensures consistent application of Cypress-specific knowledge to identify and repair unstable end-to-end test code.

How do I generate a new Cypress test from a specific file path?

Generate a new Cypress test by using the command 'cypress-author create-test file: path/to/file.spec.ts'. This instructs the AI to analyze the target file and automatically generate the corresponding test code.

Can I use AI-assisted testing to update existing Cypress test code?

Yes, you can use AI-assisted testing to update existing Cypress test code. The system analyzes your requests and applies Cypress-specific knowledge to modify, maintain, and ensure the correctness of your end-to-end and component tests.

Does this Cypress test automation tool work for both E2E and component tests?

Yes, this Cypress test automation tool works for both E2E and component tests. It is specifically designed to interface with Cypress, understanding user intent to generate and review appropriate commands across both testing scenarios.