cypress-test-generator

Generate Cypress E2E test files and cypress.config.ts configuration.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/ehtbanton/ClaudeSkillsRepo --skill cypress-test-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cypress-test-generator
Source: https://github.com/ehtbanton/ClaudeSkillsRepo/tree/main/cypress-test-generator
Command: npx skills add https://github.com/ehtbanton/ClaudeSkillsRepo --skill cypress-test-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of setting up end-to-end (E2E) testing for web applications by automatically generating necessary Cypress configuration files and initial test scripts.

Core Features & Use Cases

  • Cypress Configuration: Creates a cypress.config.ts file with sensible defaults.
  • E2E Test Generation: Generates basic E2E test files (e.g., for login, signup) in the cypress/e2e/ directory.
  • Use Case: When starting a new project or adding a new feature, quickly scaffold the E2E testing framework to ensure code quality and application stability from the outset.

Quick Start

Generate cypress config and a login test for the application.

Frequently Asked Questions about cypress-test-generator

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

FAQPage Schema
How do I generate Cypress E2E tests for a web application?

To generate Cypress E2E tests, trigger the automation using phrases like "create cypress test" or "e2e test for". The generator then produces initial test scripts, such as login or signup flows, directly in the cypress/e2e/ directory.

What is the best way to set up Cypress configuration for a new project?

The best way to set up Cypress configuration is to trigger generation with "generate cypress config". This creates a cypress.config.ts file with sensible defaults, allowing you to quickly scaffold the E2E testing framework for your web application.

Do I need a specific file format to generate Cypress config and test files?

Yes, you need a valid SKILL.md file with YAML frontmatter defining the name and description. This metadata is required for the generator to process your request and output the Cypress configuration and test scripts correctly.

Can I automate E2E test generation for specific features like login and signup?

Yes, you can automate E2E test generation for features like login and signup. The generator creates basic test files in the cypress/e2e/ directory, helping you ensure code quality and application stability from the outset.

When should I use an automated Cypress test generator instead of writing tests manually?

Use an automated Cypress test generator when starting a new project or adding a new feature. It streamlines the setup process by scaffolding the E2E testing framework and configuration, saving time compared to manual setup.

Does the generated cypress.config.ts file work with TypeScript projects?

Yes, the generated configuration file is named cypress.config.ts, explicitly supporting TypeScript projects. It provides sensible defaults to integrate Cypress E2E testing smoothly into your web development workflow.