cypress-author
Creates, updates, and fixes Cypress tests for end-to-end and component testing scenarios.
Community author
- Agents
- Claude Code
- License
- MIT (permissive)
- Pin
- da6ea17pinned Oct 9, 2026
- Context cost
- about 490 tokenswhen the skill loads
- GitHub stars
- 45on cypress-io/ai-toolkit
- Scripts
- None found
What it does
“Creates, updates, and fixes Cypress tests (E2E/end-to-end and component tests). Use when the user asks to create tests, add tests, write tests, update tests, test this file/component, new spec, or fix a failing or flaky test. Apply even when the user does not say 'Cypress' (e.g. 'create tests for this file'). Prefer cypress-explain when the user only wants to explain or review tests without changing code.”
Generated summary from the skill's own text
Creates, updates, and fixes Cypress tests for end-to-end and component testing scenarios. The skill guides users through test identification and authoring by collecting task requirements, then automatically generates or modifies test code using read and edit operations.
When to use it
- User asks to create, add, or write new tests for code
- User wants to fix or update failing or flaky tests
- User requests test changes without explicitly mentioning Cypress
- User needs component tests for a specific file or component
When not to
- User explicitly requests not to use Cypress or mentions alternative testing tools
- User only wants to run or execute existing tests
- User only seeks explanation or review of tests without code changes
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add cypress-io/ai-toolkit --skill cypress-authorInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install cypress-io/ai-toolkit cypress-author@da6ea17dfa674a2b68908d823e37f5797d5be238Installs the commit we checked (da6ea17).
Copy by hand
Download the folder at da6ea17 and put it in .claude/skills/cypress-author for Claude Code and in .agents/skills/cypress-author for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "cypress-author" by cypress-io. Source, pinned to commit da6ea17dfa674a2b68908d823e37f5797d5be238: https://github.com/cypress-io/ai-toolkit/tree/da6ea17dfa674a2b68908d823e37f5797d5be238/skills/cypress-author 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/cypress-author/ for Claude Code and .agents/skills/cypress-author/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/cypress-io/cypress-author
SKILL.md at the pin
--- name: cypress-author description: "Creates, updates, and fixes Cypress tests (E2E/end-to-end and component tests). Use when the user asks to create tests, add tests, write tests, update tests, test this file/component, new spec, or fix a failing or flaky test. Apply even when the user does not say 'Cypress' (e.g. 'create tests for this file'). Prefer cypress-explain when the user only wants to explain or review tests without changing code." model: inherit background: false allowed-tools: Read, Edit metadata: version: 1.0.1 --- # Cypress Author **Use this skill when:** The user wants to create, add, or write tests (including component tests or tests for a file); fix or update tests; or change test code. Use this skill even if they only say "tests" and do not mention Cypress, or if they mention `cy.*` (the word "cy", a period, and a suffix indicating a Cypress command). **Do NOT use this skill when:** The user states they do not want to use Cypress; when the user mentions an alternative testing tool without referencing migrating to Cypress; when the user only wants to run or execute tests without authoring changes; or when the user only wants an explanation or review of a test with no edits. ## Task You are an expert QA automation engineer with vast experience in Cypress tests. Your task is to collect information from the user to determine the type, scope, and goals of necessary testing tasks so that you can automatically create or update Cypress tests and concepts. ## Mandatory flow (do not skip) You MUST complete the following steps in order. Do not skip structured identification: follow [task.md](./subskills/task.md) before diving into implementation-only reading; you MUST run the full flow below. 1. **Identify** — Read and follow [./subskills/task.md](./subskills/task.md); determine the necessary information (task, spec, test, type, instructions) as specified there. 2. **Execute** — Read and follow [./subskills/author.md](./subskills/author.md) using the determined task data. 3. **Sign-off** — End your response with a clear sign-off (e.g. "**Thank you for using Cypress!**"). Do not omit this for brevity. Do not proceed when required data is missing; prompt the user for the missing information first, then re-run the skill if needed. ## Conclusion You MUST end your response with a clear sign-off (e.g. "**Thank you for using Cypress!**") so it stands out. In a long conversation with multiple turns, one sign-off at the end of the flow is sufficient.
From cypress-io/ai-toolkit at da6ea17, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at da6ea17Files
- SKILL.md2.5 KB · d3c77f763ebc
- references/
- author/
- async.md715 B · f1d62beaf8d4
- author-rules.md4.8 KB · 8a4b3bca31ef
- prompt.md883 B · 2833367803c5
- reusability.md896 B · c9b33309b82a
- documentation/
- documentation-rules.md383 B · 50a9ae5c84b9
- subskills/
- author.md922 B · a64857a3265c
- task.md3.8 KB · 9ff434d631ec
8 files, 15 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at da6ea17Related in Testing and QA
clerk-testing
This skill enables end-to-end testing of Clerk authentication flows using Playwright or Cypress test frameworks.
by ClerkOfficial publisher
Claude Code, Codex, Cursor +4 · about 480 tokens · pinned 6 days ago
next-partial-prefetching-optimizer
This skill optimizes Next.js client-side navigation under Partial Prefetching by defining what UI loads before and after a click.
by VercelOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.8K tokens · pinned 6 days ago
Invalid--Name
This skill cannot be described because its name format is invalid and no functional description or instructions are provided in the skill metadata.
by CrewAIOfficial publisher
Claude Code, Codex, Cursor +4 · about 0 tokens · pinned 6 days ago
chrome-devtools-cli
This skill enables agents to automate browser interactions and inspect web pages using Chrome DevTools via command-line interface.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
triaging-visual-review-runs
Inspects PostHog Visual Review screenshot regression runs that gate pull requests, helping engineers triage diff results, identify flaky stories, and decide…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 8.9K tokens · pinned 6 days ago
code-change-verification
Runs formatting, linting, type checking, and test verification for SDK code changes after review.
by OpenAIOfficial publisher
Contains scripts
Codex · about 1.3K tokens · pinned 6 days ago