Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/tahirraufkeeyu/software-development-agent-stack--sdasnpx agentmods add skills/tahirraufkeeyu/software-development-agent-stack--sdas/e2e-test-generatorWrote 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/tahirraufkeeyu/software-development-agent-stack--sdas/e2e-test-generator)<a href="https://agentmods.dev/skills/tahirraufkeeyu/software-development-agent-stack--sdas/e2e-test-generator"><img src="https://agentmods.dev/badge/skills/tahirraufkeeyu/software-development-agent-stack--sdas/e2e-test-generator.svg" alt="Measured on agentmods" 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.00063 | $0.02384 |
| Opus 5 | $0.00032 | $0.01192 |
| Sonnet 5 | $0.00013 | $0.00477 |
| Haiku 4.5 | $0.00006 | $0.00238 |
Grade A, and why
e2e-test-generator 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 8d 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 — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Invoke this skill when:
- A product manager or engineer provides a user story ("As a user, I want to add items to cart and checkout").
- You need a new spec for an existing flow and the repo already uses Playwright or Cypress.
- You want to port an ad-hoc smoke test into the page object model.
- You are adding regression coverage for a recently shipped feature.
Do NOT use when: the target flow is unstable or not yet wired up (write stubs instead); the repo uses a framework other than Playwright/Cypress (propose one first); the story is a pure API flow (use api-test-generator).
Inputs
story(required): User story or acceptance criteria in plain text.framework(required):playwrightorcypress. Inferred from repo if present.base_url(required): Origin under test, e.g.https://staging.example.com.selectors(optional): Knowndata-testidvalues or a path to a selectors map.auth_mode(optional):storage-state,api-login, orui-login. Defaultstorage-state.paths(optional): Target directories —pageObjectsDir(defaulttests/pages/),specsDir(defaulttests/e2e/).
Outputs
- One or more spec files in
specsDir. - One page object per distinct page the story touches in
pageObjectsDir. - A fixtures file if the story requires seeded data.
- A short report listing: files written, tests generated, any TODO markers for selectors that could not be resolved.
Tool dependencies
Read,Write,Edit,Grep,Glob(always).- Playwright MCP (optional) for dry-running generated specs.
references/test-patterns.mdfor the catalog of 20+ reusable patterns.
Procedure
- Discover the framework. Grep for
@playwright/testorcypressinpackage.json. If neither is present, ask the user which to scaffold. - Load selectors. Grep the target pages/components for
data-testid="...". If fewer than 3 are found on the critical path, emit a report entry recommending the developer add testids first. - Parse the story. Extract actors, preconditions, actions (one per sentence), and observable outcomes. Each observable becomes one
expect. - Draft page objects. One class per page. Public methods correspond to user actions (
addToCart,checkout). Fields areLocators built fromdata-testid. No CSS classes. - Draft the spec. Use
test.describeper story, onetestper acceptance criterion. Everytestends with at least oneexpect. - Add waits. Use web-first assertions (
expect(locator).toBeVisible()) andpage.waitForResponse(url)for async flows. NeverwaitForTimeout. - Mock non-happy paths. For empty states, 5xx, and rate-limit flows, use
page.route(url, route => route.fulfill({ status, body })). - Add screenshot + trace. Confirm
use: { screenshot: 'only-on-failure', trace: 'retain-on-failure' }is set inplaywright.config.ts; add it if missing. - Add inline a11y. Inject
@axe-core/playwrighton the final page of each flow and assert zero violations withserious/criticalimpact. - Write files. Never overwrite without diffing. Emit a summary.
What ships with it
1 file 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.
- 8d ago First seen · 229 lines · 63 tokens per session scan A b2d1ca0fe3a2
e2e-test-generator is a skill published in the GitHub repository tahirraufkeeyu/software-development-agent-stack--sdas (18 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 2,384 once invoked, about $0.0003 per session on Opus 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-08-30.
Other skills, from other repositories
dogfood
Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.
test-warp-ui
Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.
test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…
pyats-dynamic-test
Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.
test-loop
Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).
playwright-cli
Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…