
cypress-io/ai-toolkit
3 skills2.6k installs81 starsGitHub
Install
npx skills add https://github.com/cypress-io/ai-toolkitSkills in this repo
1Cypress AuthorCypress-author is an agent skill from the Cypress AI toolkit that guides solo builders and small teams through writing end-to-end tests the way Cypress expects them. Cypress is queue-driven, not Promise-first, so the skill stresses avoiding patterns that cause “returned a promise while also invoking cy commands” or leftover commands after a test finishes. Before generating specs, the agent is directed to find the Cypress config, support entry points, and dependencies in package.json, and to mirror conventions from existing specs when they exist. It also points agents at the project’s documentation rules for accurate API citations. Install it when you are shipping a web app and want your coding agent to produce flake-resistant tests instead of JavaScript that looks correct but breaks under Cypress’s lifecycle. It pairs naturally with CI and review workflows but does not replace human judgment on what to cover.1.1kinstalls2Cypress ExplainCypress-explain is an agent skill from the Cypress AI toolkit that helps solo and indie builders explain Cypress APIs and concepts the way official documentation intends—not from stale blog posts. Before answering, the agent is directed to authoritative Cypress sources and the repo’s documentation rules so mental models, command chains, assertions, and network tooling are described with correct terminology. Each explanation follows a compact six-part structure: one-sentence purpose, conceptual placement in the Cypress workflow, a smallest realistic code snippet, two or three common scenarios, a short pitfalls list, and deliberate avoidance of exhaustive option catalogs. That shape is ideal when you are learning intercepts, cy.wait, or assertion patterns while shipping a SaaS or API-backed app with Claude Code, Cursor, or Codex. It does not replace running tests or writing full suites; it makes your agent a reliable tutor during test design and failure triage.905installs3Cypress DocsCypress-docs is an agent skill that retrieves accurate, verifiable information from Cypress’s official documentation. Solo builders shipping web apps with Claude Code, Cursor, or Codex use it whenever a task depends on finding, reading, or quoting Cypress—not on vague testing folklore. The skill steers the agent toward LLM-friendly doc surfaces, compares E2E and component testing nuances, and blocks hand-wavy claims about commands, assertions, networking, and configuration. It fits the Ship phase when you are implementing or debugging tests, reviewing PRs that touch Cypress, or answering stakeholder questions that must match a specific Cypress version. Treat it as a documentation gate: search first, then write examples. That reduces flaky tests and wrong intercept patterns caused by outdated mental models of the framework.563installs