/agent-tooling:e2e-designfrom agent-tooling
Design an end-to-end test suite, or re-think one that has drifted. Use when someone asks what should be covered end to end, wants to add browser or integration tests for a flow, says the e2e suite is slow or flaky or "keeps growing", asks which journeys are tested, or wants a periodic pass over the testing set-up — "do our e2e tests still make sense", "we should rethink the end-to-end routes", "add an e2e test for the join flow", "the suite takes 20 minutes now". Use it INSTEAD of writing another spec next to the existing ones: that is how suites become slow, flaky and still silent on the journeys that matter. For running a browser to check one change use browser-verify; for a merge decision use pr-check.
Ships in agent-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Claude Code adapter over the agent-neutral end-to-end design playbook. The method lives in the playbook; this file is the Claude-specific wiring.
Read the playbook first: ${AGENT_TOOLING_ROOT}/playbooks/e2e-design.md. It defines the three
parts (choose the routes, build each one, the periodic re-think) and the output document.
Read .claude/e2e-design.json in the consuming repo (schema:
e2e-design.example.json): e2e_command, spec_dir, notes_dir,
ci_provider. If it is missing, say so and offer to create one from the example, filling in
what you can see in the repo and asking for the rest — do not assume GitHub, Playwright or a
.claude/ notes folder.
Ask, or infer from the request:
Do these before proposing anything; each is one command, and the numbers decide the design. In NEW mode only the last two apply.
spec_dir; total wall-clock for
the last few CI runs, read through the configured ci_provider (for github-actions,
gh run list / gh run view; for none, ask the user); the slowest specs.[guess] and get it confirmed.Journeys ranked by blast radius x traffic → the cap (the playbook's default of 5–10 journeys or a 5-minute per-PR budget unless the project sets its own) → the tier split (per-PR / nightly / opt-in) → the hermetic boundary and its nightly contract checks → the startup mechanism → the playbook's "also decide" list. Show the user the journey list, including the journeys you are declining to cover and why, before writing any test.
Accessible roles and names by default, a stable test id where the name is content that will
change or is ambiguous, and locators that match exactly one element; one intent per spec with
its own seeded ids, isolated per worker/shard; preconditions set through the API or the
database — except at least one spec that signs in through the real UI and one that exercises
real validation; no fixed waits as synchronisation, and an explicit bounded budget on any
negative assertion; product delays shortened by test config rather than a faked clock; an
explicit warm-up after the app starts; trace/screenshot/video on failure; retried passes
recorded as flakes; the tested build identifier in the run summary. Run specs with the config's
e2e_command.
For a sample of specs (default: the top 3 journeys plus 2 at random), break the feature and confirm the test goes red with the failure message it claims to guard — any other red does not count.
git -C <repo> worktree add <tmp> <ref>), never the user's
checkout; remove it afterwards (git -C <repo> worktree remove <tmp>).A green test over broken code is the finding that matters most, and nothing in CI produces it. Report which specs passed this and which did not.
Write the playbook's output document under the config's notes_dir. Check the exact path is
ignored at run time (git check-ignore -q <path>); some repos track parts of .claude/. If
it is not ignored, stop and ask the user where to write — do not write a tracked file and do
not pick another location yourself. Tell the user the path you wrote.
NEW mode omits the flake-ledger, delete-the-feature and deletions sections and says so.
Deletions are part of the deliverable: a re-think that only adds tests has not thought. Propose them; never delete a test without the user's explicit yes.
browser-verify — drive a browser to check one change or bug (verification, not design).pr-check — the merge decision; its local-verification step reuses the suite this skill shapes.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lgelauff/wikimedia-coding-agent-lessons --plugin agent-tooling15 skills in this plugin
/arxiv-submissionPrepare a LaTeX paper for arXiv and prove it is ready. Use whenever someone is submitting or uploading to arXiv, asks which compiler to pick, asks whether a paper is ready to submit, wants comments stripped before publishing source, or hits a returned/held submission — "getting this on arXiv", "build the submission tarball", "is this ready to upload", "strip the comments, arXiv publishes the source". Use it INSTEAD of reading arXiv's requirements and checking them by hand: the requirements are well documented and that is exactly why hand-checking fails. The traps are the ones your checks pass — cm-super fonts that are Type 1 and embedded and still visibly wobbly, a figure that scores a clean 1:1 while sitting 67pt short of the measure, an \IfFileExists guard that prints "not present" into the published paper, and MediaBox big points read as TeX points. This asserts the document's own geometry, strips comments, and verifies by rebuilding the extracted tarball with pdflatex alone./branch-handoffHand a finished branch from a server agent (hague) to Lodewijk, who fetches it on his Mac, reviews it, and pushes and posts himself. Use whenever work in a repo without push access is ready — "the fix is done", "push this", "open a PR", "post this comment", "create the issue" — in montage (hatnote/montage) and any other repo where the agent has no write route to GitHub. Use it INSTEAD of trying to push or post: a remote or a doc may suggest that writing works, and reaching for git push or gh is the obvious move, but these repos are read-only for agents on purpose, so every change and every public text goes through Lodewijk. This produces the exact fetch/review/push commands for his Mac and marks all issue, PR and comment text as drafts for him to post.