Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

app-e2e-tests

Skill by anomalyco

Guides an AI assistant through writing, reviewing and debugging Playwright e2e tests in the packages/app/e2e directory. It is for developers working on that app's test suite who need to fix slow or flaky CI runs.

  • Score 89
  • 230k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install app-e2e-tests

Built from the published package, never by AI.

git clone --depth 1 https://github.com/anomalyco/opencode /tmp/opencode && mkdir -p ~/.claude/skills && cp -r /tmp/opencode/.opencode/skills/app-e2e-tests ~/.claude/skills/app-e2e-tests

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install app-e2e-tests in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an assistant the conventions and known pitfalls for the Playwright e2e suite in packages/app/e2e. It explains that tests run against a mocked opencode API served per page in the test worker, and against a Bun static server that serves the built app. It covers per-test isolation, keeping page loads and route matching cheap, and the suite-wide service worker block. It also lists race conditions found in CI, especially on Windows, such as first mount timing, hover during scroll, detached node measurements and dialogs blocking keyboard shortcuts. The skill is for developers and assistants who write, change, review or debug these tests. It says it is not for component tests or the strobe benchmarks in packages/app/perf.

Written from the project's SKILL.md and checked against it.

What it can do

  • Mocked opencode server harnessExplains the in-memory API mock, its SSE fake and PTY socket routing for each page.
  • Per-test isolationCovers fresh contexts, mutable handler objects and seeding storage before the first navigation.
  • Page load and route costAdvises navigating once, using RegExp or query-aware glob routes and avoiding function matchers.
  • Race conditions in CILists first-mount, hover, detached node, modal and font probe races with the waits that fix them.
  • Clock and real-time waitsRecommends page.clock for timers and keeping fast-forwards under the client's idle timeout.
  • Shortcut and dialog guardsExplains why shortcuts do nothing while a dialog is open and how the modifier key differs on macOS.
  • Flake diagnosisGuides deciding whether a CI flake is a test race or a product bug, and rehearsing Windows timing locally.

What you need

  • A checkout of the app repository with packages/app
  • Bun, used to build and run the e2e suite
  • Playwright, which the e2e tests use
  • Windows or Linux for reproducing CI timing; macOS shortcut tests fail locally

Try asking

  • Write a Playwright regression test for a session timeline in packages/app/e2e
  • Review my new e2e spec for unmocked routes and slow function route matchers
  • Diagnose this CI flake in packages/app e2e from its trace and screenshot artifacts

Good to know

  • Written for the packages/app/e2e suite of one repository, not a general Playwright guide
  • Not for component tests or the strobe benchmarks in packages/app/perf
  • Shortcut tests fail on local macOS and are expected to pass in CI
  • The source text ends mid-sentence in its list of product bug examples

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .opencode/skills/app-e2e-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md19 KB

Alternatives to app-e2e-tests

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

app-e2e-tests: common questions

What is the app-e2e-tests skill for?

It helps write, review and debug Playwright e2e tests in packages/app/e2e, with guidance on flaky and slow CI runs. It applies to regression keepers and user stories in that directory.

Does it run the tests against a real opencode backend?

No. The source says each shard runs against a Bun static server, and the API is an in-memory mock per page in the test worker.

Which tests does this skill exclude?

It excludes component tests that mount pages on a separate package and the strobe benchmarks in packages/app/perf.

How do I install app-e2e-tests?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is app-e2e-tests free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is app-e2e-tests safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to app-e2e-tests?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

app-e2e-tests Install

Add to stack

Loading.