CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/add-to-homescreen-flow-tests

Use when a PWA's manifest, icons or install handler change, install conversions drop, or an install test is flaky. Builds Playwright tests for the install flow: installability criteria, the beforeinstallprompt and userChoice chain, the iOS Safari path and display-mode standalone after install.

Quality

88%

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

78%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 high-quality builder skill: fully sequenced seven-step workflow, mostly executable Playwright code, a worked example, an unusually candid Limitations section, and a well-structured three-file reference bundle at exactly one level of depth. The residual gaps are a missing local run/verify step, a couple of elided code blocks plus undocumented-in-practice page hooks that keep Steps 3-4 from being runnable verbatim, and some repeated linking/quotes that could be trimmed.

Suggestions

Add an explicit verification step after Step 6: run the generated suite locally (npx playwright test tests/install-*.spec.ts), fix failing cells, and only then write the Step 7 coverage matrix — currently validation is deferred entirely to CI.

Show the Playwright init script (or page-bundle snippet) that installs the window.__deferredPrompt and window.__triggerInstall hooks, and complete the elided second-prompt() test body, so Steps 3-4 are copy-paste runnable as written.

Deduplicate: references/install-flow-reference.md is linked six times and the Overview restates the four-stage timeline; link it once at first use and let the reference own the stage description.

DimensionReasoningScore

Conciseness

The body is dense and code-forward and assumes Playwright competence (no library tutorials, no PWA concept lessons), but there is trimmable repetition: references/install-flow-reference.md is linked six times, the Overview restates the four-stage timeline the reference file already owns, and install-criteria quotes are repeated across steps. This is 'efficient with minor instances that could be trimmed' (anchor 4) rather than the every-token-earns-its-place level 5.

4 / 5

Actionability

Most guidance is copy-paste ready: a complete eight-cell gate spec, concrete cat/grep inventory commands, the --app= persistent-context launch, and per-cell iOS metadata tests. It falls short of anchor 5 because the second prompt() test elides its body ("// ... engagement + prompt as above ..."), the coverage YAML truncates ("# ... 7 more gate cells"), and the window.__deferredPrompt / __triggerInstall hooks Steps 3-4 depend on are required but never shown being installed.

4 / 5

Workflow Clarity

Seven steps are clearly sequenced, with a fact table routing Step 1 findings to later steps, an anti-patterns table serving as error-recovery guidance, and "CI gates on every matrix cell having a passing spec" as an explicit validation checkpoint. It sits at anchor 4 rather than 5 because the workflow never includes a local run-and-iterate step (e.g. execute the generated suite and fix failing cells) before emitting the matrix — verification is deferred entirely to CI.

4 / 5

Progressive Disclosure

The SKILL.md is a working overview that cleanly offloads the contract (install-flow-reference.md), generic standalone recipes (install-flow-tests.md), and the full coverage matrix (install-suite.md) — all three files exist, each link is signaled with what it contains, and they nest only one level deep (verified: no further .md chains inside the references). Content split matches anchor 5; the inline code is the builder's output template, which belongs inline.

5 / 5

Total

17

/

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 strong description: third-person voice, explicit "Use when..." triggers tied to real user situations (manifest/icon changes, dropping install conversions, flaky install tests), and a concrete four-part statement of what is built. The only weakness is trigger vocabulary — the everyday phrase "add to home screen" and synonyms like "installable" never appear, leaving a small gap between what users say and what the description matches on.

Suggestions

Work the skill's own colloquial name into the trigger clause, e.g. "Use when a PWA's manifest, icons or install handler change, users report Add to Home Screen problems, install conversions drop, or an install test is flaky" so the description matches the phrase users actually type.

Add one or two synonym triggers such as "installable" or "homescreen" to broaden natural-keyword coverage without lengthening the description.

DimensionReasoningScore

Specificity

"Builds Playwright tests for the install flow: installability criteria, the beforeinstallprompt and userChoice chain, the iOS Safari path and display-mode standalone after install" lists multiple concrete actions covering every stage of the install flow in third person. This matches the anchor for comprehensive concrete coverage rather than the level below, which requires minor gaps.

5 / 5

Completeness

Both halves are explicit: "Use when a PWA's manifest, icons or install handler change, install conversions drop, or an install test is flaky" gives concrete when-triggers, and "Builds Playwright tests for the install flow: ..." states exactly what it does. This clearly matches anchor 5 rather than anchor 4, where the 'when' is present but less specific.

5 / 5

Trigger Term Quality

Natural user phrases are present ("manifest, icons or install handler change", "install conversions drop", "an install test is flaky", "beforeinstallprompt", "iOS Safari"), but the most colloquial trigger phrasing — "add to home screen" / "homescreen" / "installable" — is missing even though it is the skill's own name. Good coverage with a few natural terms missing fits anchor 4, not the comprehensive synonym coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

The description carves a clear niche (Playwright install-flow test generation for PWAs) with distinctive event-level triggers (beforeinstallprompt, userChoice, display-mode standalone) that are unlikely to fire for sibling skills like service-worker-lifecycle-tests or offline-fallback-tests. Minimal conflict risk matches anchor 5; anchor 4 would imply noticeable overlap with closely related skills, which is not the case.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page