# Repository: cypress-io/cypress # Stars: 49626 ## CLAUDE.md # CLAUDE.md ## Workflow Orchestration ### 1. Plan Mode Default - Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions) - If something goes sideways, STOP and re-plan immediately - don't keep pushing - Use plan mode for verification steps, not just building - Write detailed specs upfront to reduce ambiguity ### 2. Subagent Strategy - Use subagents liberally to keep main context window clean - Offload research, exploration, and parallel analysis to subagents - For complex problems, throw more compute at it via subagents - One task per subagent for focused execution ### 3. Self-Improvement Loop - After ANY correction from the user: update the closest relevant `CLAUDE.md` file - Write rules for yourself that prevent the same mistake ### 4. Verification Before Done - Never mark a task complete without proving it works - Diff behavior between main and your changes when relevant - Ask yourself: "Would a staff engineer approve this?" - Run relevant tests only, check logs, demonstrate correctness ### 5. Demand Elegance (Balanced) - For non-trivial changes: pause and ask "is there a more elegant way?" - If a fix feels hacky: "Knowing everything I know now, implement the elegant solution" - Skip this for simple, obvious fixes - don't over-engineer - Challenge your own work before presenting it ## Core Principles - **Minimal Impact**: Changes should only touch what's necessary. Avoid introducing bugs. @AGENTS.md ## README.md
Documentation | Changelog | Roadmap
Fast, easy and reliable testing for anything that runs in a browser.
Join us, we're hiring.
## What is Cypress? ## Installing [](https://badge.fury.io/js/cypress) Install Cypress for Mac, Linux, or Windows, then [get started](https://on.cypress.io/install). ```bash npm install cypress --save-dev ``` or ```bash yarn add cypress --dev ``` or ```bash pnpm add cypress --save-dev ```  ## Contributing [](https://cloud.cypress.io/projects/ypt4pf/runs) [](https://circleci.com/gh/cypress-io/cypress/tree/develop) - `develop` branch Please see our [Contributing Guideline](./CONTRIBUTING.md) which explains repo organization, linting, testing, and other steps. ## License [](https://github.com/cypress-io/cypress/blob/develop/LICENSE) This project is licensed under the terms of the [MIT license](/LICENSE). ## Badges Configure a badge for your project's README to show your test status or test count in the [Cypress Cloud](https://www.cypress.io/cloud). [](https://cloud.cypress.io/projects/ypt4pf/runs) [](https://cloud.cypress.io/projects/ypt4pf/runs) Or let the world know your project is using Cypress with the badge below. [](https://www.cypress.io/) ``` [](https://www.cypress.io/) ```