CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/electron-playwright

Authors Playwright `_electron` tests for packaged Electron desktop apps - launches the app via `electron.launch({ args })`, returns an `ElectronApplication` handle, drives renderer windows as Playwright `Page` objects, and probes the main process via `electronApp.evaluate(({ app, BrowserWindow }) => …)`. Distinct from ordinary browser page automation: this wraps the `_electron` API for launching packaged Electron apps and probing main + renderer processes. Includes the legacy Spectron reference and Spectron-to-Playwright migration shopping list (references/spectron-migration.md). Use for end-to-end tests of Electron apps where main-process state, IPC, and renderer DOM must all be asserted from one suite, or when migrating a deprecated Spectron suite.

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, actionable skill body with executable examples, a sequenced install-to-CI workflow, and clean progressive disclosure into two real reference files. Minor conciseness gains are available by trimming annotation prose and redundant link citations.

DimensionReasoningScore

Conciseness

Body is mostly lean — executable code, API pointers, and an anti-patterns table with little concept explanation Claude already knows — but the repeated 'What's going on' prose and re-citation of the same doc links could be trimmed further.

4 / 5

Actionability

Copy-paste-ready TypeScript snippets across launch, evaluate, packaged-binary launch, multi-surface assertion, window mapping, events, config, and run/trace commands cover the common cases fully.

5 / 5

Workflow Clarity

Steps 1–10 are clearly sequenced with a concrete progression from install to CI, and the anti-patterns table acts as an error-avoidance checklist, but there are no explicit validate→fix→retry feedback loops (acceptable here since test authoring is not a destructive/batch operation).

4 / 5

Progressive Disclosure

Clear overview with well-signaled one-level-deep references to real files (references/electron-ci-and-api.md for the API table + CI workflow, references/spectron-migration.md for migration), with the core launch-and-assert flow kept inline and bulk detail split out.

5 / 5

Total

18

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, third-person description that concretely names the API surface and gives explicit use-when triggers with a clear differentiation from browser-only Playwright. Only minor room to add natural synonyms and file-extension triggers.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'launches the app via electron.launch({ args })', 'returns an ElectronApplication handle', 'drives renderer windows as Playwright Page objects', 'probes the main process via electronApp.evaluate(...)' — giving comprehensive coverage rather than vague abstractions.

5 / 5

Completeness

Explicitly answers both what ('Authors Playwright _electron tests ... launches ... drives ... probes') and when ('Use for end-to-end tests of Electron apps where main-process state, IPC, and renderer DOM must all be asserted ... or when migrating a deprecated Spectron suite').

5 / 5

Trigger Term Quality

Strong natural keywords ('Electron apps', 'end-to-end tests', 'main-process state', 'IPC', 'renderer DOM', 'Spectron migration') that users would say, but missing common synonyms/file extensions (e.g. '.spec.ts', 'desktop app testing') that would push it to comprehensive.

4 / 5

Distinctiveness Conflict Risk

Clear niche with explicit differentiation — 'Distinct from ordinary browser page automation' — and unique triggers (packaged Electron, main-process probing, Spectron migration) that minimize overlap with sibling playwright-testing.

5 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Reviewed

Table of Contents