Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bartstc/vite-ts-react-template --skill e2e-testinggit clone --depth 1 https://github.com/bartstc/vite-ts-react-templateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing)<a href="https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing"><img src="https://agentmods.dev/badge/skills/bartstc/vite-ts-react-template/e2e-testing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing"><img src="https://agentmods.dev/badge/skills/bartstc/vite-ts-react-template/e2e-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01279 |
| Opus 5.5 | $0.00020 | $0.00512 |
| Sonnet 5.5 | $0.00010 | $0.00256 |
| Haiku 4.5 | $0.00005 | $0.00128 |
Grade A, and why
e2e-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
E2E Testing
How to write a Playwright E2E test in this repo: the journey test, and the pieces it is built from. This skill is
self-sufficient for writing and reviewing tests. The reasoning behind it (tier ownership, data isolation, mocking,
flakiness) is in docs/tests/e2e-testing.md — read it only for a case this skill does not
cover. When the doc, this file and a reference disagree, fix whichever is wrong.
How to use
- Choose the tier. E2E only for a critical path (one whose breakage would trigger a rollback) that crosses pages or depends on the real API: routing and guards, auth, the UI-to-API contract, state surviving navigation or reload. A branch, a validation rule, an empty/error state or a variant of one screen is a story or unit test — say so and stop. Walking through a screen a story also covers is fine; re-enumerating its states is not.
- Write the journey test. Read journey-test.md.
- Build the pieces it needs. Read the reference for each piece you add or change. Read the UI under test for its roles and accessible names.
| Piece | When | Reference |
|---|---|---|
| Journey test | Every test in a *.spec.ts |
journey-test.md |
| Waiting and assertions | Every step and readiness check | waiting-and-assertions.md |
| Page / component object | A page or shared UI the test drives | page-objects.md |
| Fixture | Providing a page object, or seeding data via the API | fixtures.md |
| Forms | A page object fills or submits a form | forms.md |
| Anti-patterns | Reviewing or refactoring | anti-patterns.md |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed 19cb1b0a3607
- 19d ago First seen · 86 lines · 49 tokens per session scan A a8f378f1cf1d
e2e-testing is a skill published in the GitHub repository bartstc/vite-ts-react-template (124 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,279 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.
e2e-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| e2e-testingbartstc/vite-ts-react-template | Skill | 124 | 2d ago | MIT | A | 49 | Claude Code |
| test-electron-appPostHog/posthog | Skill | 41k | today | none | A | 112 | Claude Code |
| weapp-vite-react-best-practicesweapp-vite/weapp-vite | Skill | 529 | today | MIT | A | 103 | Codex |
| typescript-reactmkosir/typescript-style-guide | Skill | 789 | 2mo ago | MIT | A | 50 | Claude Code, Codex |
| systematic-debuggingDDS-Solutions/AI-TadPole-OS | Skill | 9 | 5d ago | MIT | A | 33 | Claude Code |
| webapp-testingDDS-Solutions/AI-TadPole-OS | Skill | 9 | 5d ago | MIT | A | 28 | Claude Code |
| gitDaleStudy/skills | Skill | 4 | 26d ago | MIT | A | 132 | Claude Code |