E2E Testing Patterns
try-works/role-model
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.
Create a Cypress-based video demo for a feature branch with cursor, click effects, and captions.
$ npx skills add ambient-code/platform --skill cypress-demo -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ambient-code/platform cypress-demo --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/frontend/cypress-demo .claude/skills/cypress-demo && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .claude/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demoType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ambient-code/platform --skill cypress-demo -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ambient-code/platform cypress-demo --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/frontend/cypress-demo .agents/skills/cypress-demo && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .agents/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ambient-code/platform --skill cypress-demo -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ambient-code/platform cypress-demo --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/frontend/cypress-demo .cursor/skills/cypress-demo && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .cursor/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ambient-code/platform.git --path skills/frontend/cypress-demo--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ambient-code/platform --skill cypress-demo -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ambient-code/platform cypress-demo --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/frontend/cypress-demo .gemini/skills/cypress-demo && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .gemini/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ambient-code/platform cypress-demoInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ambient-code/platform --skill cypress-demo -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/frontend/cypress-demo .github/skills/cypress-demo && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .github/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ambient-code/platform --skill cypress-demo -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ambient-code/platform cypress-demo --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ambient-code/platform.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/frontend/cypress-demo .opencode/skills/cypress-demo && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cypress-demo" agent skill from https://github.com/ambient-code/platform/tree/main/skills/frontend/cypress-demo into .opencode/skills/cypress-demo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cypress-demo", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cypress-demoCreate a Cypress-based video demo for a feature branch with cursor, click effects, and captions.
Cypress Demo is an agent skill from ambient-code/platform. Create a Cypress-based video demo for a feature branch with cursor, click effects, and captions. Use when recording feature demos, creating PR videos, showcasing UI changes, or generating visual walkthroughs. Triggers on: "demo", "record demo", "create demo video", "cypress demo", "feature walkthrough", "PR video", "showcase".
Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/evals.json`).
It sits in Testing & QA, covering End-to-end testing and Video production. It works with Cypress. The repository describes itself as: Vision/Mission https://ambient-code.ai : Virtual team management and collaboration platform. User guides: https://ambient-code.github.io/platform/. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e15afd3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxgitkubectlcurlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, git, kubectl and curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
TEST_TOKENANTHROPIC_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cypress Demo loads about 879 tokens when it runs. Until then it costs about 85 tokens; SKILL.md has 377 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
- Verify `e2e/.env.test` or `e2e/.env` exists with `TEST_TOKEN`Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ambient-code/platform at commit e15afd3, republished under its MIT licence (© ambient-code). 377 words, ~879 tokens.
.claude/skills/cypress-demo/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Create a polished Cypress demo test that records a human-paced video walkthrough of UI features on the current branch.
/cypress-demo # Auto-detect features from branch diff
/cypress-demo chat input refactoring # Describe what to demo$ARGUMENTSWhen invoked, create a Cypress test file in e2e/cypress/e2e/ that records a demo video with:
--no-runner-ui flag to exclude the Cypress sidebar from the recording$ARGUMENTS is provided, use it as the demo descriptiongit diff main..HEAD --stat to identify changed files and infer featurese2e/.env.test or e2e/.env exists with TEST_TOKENANTHROPIC_API_KEY is available (needed for Running state)kubectl get pods -n ambient-codecurl -s -o /dev/null -w "%{http_code}" http://localhost:3000Create e2e/cypress/e2e/<feature-name>-demo.cy.ts using the helpers below.
Each demo file must define the following helpers inline (they are not shared utilities — embed them directly in the test file):
caption(), clearCaption(), initCursor(), moveTo(), moveToText(), clickEffect(), cursorClickText()LONG, PAUSE, SHORT, TYPE_DELAYSee the patterns table below for usage. If a prior demo file already exists in e2e/cypress/e2e/, copy the helpers from there; otherwise implement them fresh using the patterns below.
| Pattern | Rule |
|---|---|
| Dual layout | Session page renders desktop + mobile. Always use .first() |
| Caption scoping | Scope cy.contains to a tag to avoid matching caption overlay |
| Workspace setup | Create workspace, poll /api/projects/:name until 200 |
| Caption position | Always top:0 — bottom obscures chat toolbar |
| Timing | Aim for ~2 min total. Adjust constants if too fast/slow |
| Video output | e2e/cypress/videos/<name>.cy.ts.mp4 at 2560x1440 |
cd e2e
npx cypress run --no-runner-ui --spec "cypress/e2e/<name>-demo.cy.ts"e2e/cypress/e2e/sessions.cy.ts is a reference for test structure and Cypress patterns in this repo. Note that sessions.cy.ts is a functional test, not a demo test — it does not contain the cursor/caption/click-ripple helpers listed above. Use it as a guide for selectors, workspace setup, and polling patterns; implement the demo-specific helpers fresh in your new file.
© ambient-code, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/frontend/cypress-demo of ambient-code/platform.
Open the folder on GitHubat commit e15afd3
Cypress Demo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cypress Demo this skillambient-code/platform | 131 | — | ~879 | Automated safety check: Notes | MIT | |
| E2E Testing Patternstry-works/role-model | 117 | 13 repos | ~990 | Automated safety check: Pass | Custom licence | |
| Verdaccio Change Testing Selectorverdaccio/verdaccio | 18k | — | ~1.6k | Automated safety check: Warn | MIT | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.1k | Automated safety check: Pass | None | |
| Open BrowserJasonHonKL/Openbrowser | 114 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Create a Verification Skillcursor/plugins | 10k | 8 repos | ~1.5k | Automated safety check: Pass | None |
try-works/role-model
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.
verdaccio/verdaccio
Figures out which rebuild and test suites actually cover a change in the verdaccio monorepo, instead of a scoped run that passes untested.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
JasonHonKL/Openbrowser
A skill your agent uses whenever the task involves browsing web pages, extracting page content, clicking forms, or completing web workflows.
cursor/plugins
Generates a project-local skill that launches your app, exercises a feature the way a user would and captures evidence, for web, CLI, API or desktop projects.
bmad-code-org/bmad-method-test-architecture-enterprise
Initialize test framework with Playwright or Cypress. An agent skill from bmad-code-org/bmad-method-test-architecture-enterprise.
ambient-code/platform
Run a convention alignment check across the codebase to measure adherence to documented standards.
ambient-code/platform
Perform a comprehensive code review using repository-specific standards.
ambient-code/platform
Deploy, update manifests, and troubleshoot the ambient-ui component.
ambient-code/platform
Discover domain-specific skills and context before starting any coding or spec work.
ambient-code/platform
Required context for all frontend work. An agent skill from ambient-code/platform.
ambient-code/platform
A skill your agent uses when creating or updating Gerrit changes — pushing code for review, amending patch sets, setting reviewers and topics.
Works with
Categories
Create a Cypress-based video demo for a feature branch with cursor, click effects, and captions. Cypress Demo is an agent skill from ambient-code/platform. Create a Cypress-based video demo for a feature branch with cursor, click effects, and captions.
Cypress Demo fits situations like: recording feature demos; creating PR videos; showcasing UI changes; generating visual walkthroughs.
Run `npx skills add ambient-code/platform --skill cypress-demo -a claude-code`. Or copy the skill folder (skills/frontend/cypress-demo in ambient-code/platform) into .claude/skills/cypress-demo in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ambient-code/platform --skill cypress-demo -a codex`. Or copy the skill folder (skills/frontend/cypress-demo in ambient-code/platform) into .agents/skills/cypress-demo in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ambient-code/platform --skill cypress-demo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cypress-demo, .gemini/skills/cypress-demo, .github/skills/cypress-demo and .opencode/skills/cypress-demo in your project.
Going by SKILL.md and its folder, Cypress Demo needs the command-line tools its instructions call (npx, git, kubectl and curl) and credentials named TEST_TOKEN and ANTHROPIC_API_KEY. Our summary lists: Node.js; A credential in TEST_TOKEN; A credential in ANTHROPIC_API_KEY.
SKILL.md contains no URLs. Its commands use npx, git and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Cypress Demo is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 879 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cypress Demo: E2E Testing Patterns (try-works/role-model, 117 stars), Verdaccio Change Testing Selector (verdaccio/verdaccio, 18k stars), Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars) and Open Browser (JasonHonKL/Openbrowser, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ambient-code (a GitHub organization) maintains it in ambient-code/platform, which has 131 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 6, 2026.
Source: ambient-code/platform on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.