e2e-assess
Skill0 starsChanged 23 days agoMITView on GitHub
Review a Playwright E2E spec against its ticket and report what it fails to prove. Use after writing or changing a spec, when asked whether a test is good enough or tests the right thing, or as the last step of e2e-plan before handing a spec over. Invoke with the ticket (a path, or the ticket text), then the spec path. A whole suite goes to e2e-prune, and a test that fails goes to e2e-triage.
In this repository8 other files it gives its agents.
- e2e-planSkill
- e2e-pruneSkill
- e2e-release-confidenceSkill
- e2e-reproSkill
- e2e-setupSkill
- e2e-spec-rulesSkill
- e2e-triageSkill
- release-canarySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
coverage: every claim ticked. A rule proven with other seed data counts.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
e2e-assess
Arguments: $ARGUMENTS (the ticket as a path or as its text, then the spec path). Read both. Output: a verdict per axis and a list of misses, each with the line to add. The reviewer changes nothing and has not seen how the spec was written; the author fixes.
Read the ticket first and list its claims: every outcome, every page named, every "then" clause. A page named in the ticket is a claim about what the user sees on it: the items, the amount, the status. URL or heading alone leaves it unticked. Then read the spec once, top to bottom, and tick each claim against the assertion that proves it. An unticked claim is a miss. Only after that read for the other axes.
Axes, score 0-3 each
Scale: 0 missing or wrong, 1 weak, 2 good, 3 what an expert would write. 3 is rare; when unsure, 2.
- coverage: every claim ticked. A rule proven with other seed data counts. Any claim without an assertion scores 0.
- user_visible: assertions on text, URL, element present or gone. API status alone or DOM structure alone scores 1. Readiness waits on
data-stateoraria-busyare fine. - boundaries: the failure path and the rule edge from the ticket are exercised (the declined card, the forbidden action attempted anyway, the exact threshold), not only the happy path.
- proof_strength: the assertion fails when the feature silently breaks. Exact values (
toHaveText("paid"), sincetoContainText("paid")holds for "unpaid"), reload before asserting state the ticket says must persist, absence scoped to a row or dialog, nothing that passes on an empty page. - decoupling:
getByRole,getByLabel,getByText,getByTestId, rows found by the name the user sees. No CSS, no.locator(, no sleeps, noif (await x.isVisible()), no.first(), no.or(), no seed id in agotopath, nogotoafter the first page of a test. - noise: every step serves a claim, no duplicated scenario. An assertion on transient text (toast, spinner) that the ticket does not claim is noise. Inline login and setup repeated in each test is required house style, never noise. An untouched neighbour checked after a destructive action, and a merge checked after a flow that carries state across a boundary (guest cart into an account), serve the ticket even when it does not name them.
Report
coverage 2 user_visible 3 boundaries 2 proof_strength 1 decoupling 3 noise 2 total 13/18
misses:
- "then places the order and shows the confirmation": confirmation page never asserts the items. Add after the URL check:
await expect(page.getByRole("row", { name: "Fleece Beanie" })).toHaveCount(1)
- "stays the same": plan asserted before reload only. Add page.reload(), wait for ready, assert again.Done when: every ticket claim appears either as ticked or as a miss with a concrete line. A spec with zero misses and no axis under 2 is ready.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

