e2e-pom

e2e-pom is a skill for Claude Code, Codex from TimothyHan/qa-buddy-skills. It costs 159 tokens per session (2,058 once invoked), scanned A, original, Apache-2.0.

A testing tool for building and repairing Page Object Models, which are reusable descriptions of an app's buttons, fields, and other test elements. It discovers page elements in a running app and verifies selectors before adding them.

In plain words
What is it for?
Use it to map only the elements needed by Playwright test cases and to repair selectors that have stopped matching the app.
Why use it?
It reduces unreliable end-to-end tests caused by guessed or outdated selectors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map only the elements needed by Playwright test cases and to repair selectors that have stopped matching the app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timothyhan/qa-buddy-skills/e2e-pom
Install

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.

Any agent
npx skills add TimothyHan/qa-buddy-skills --skill e2e-pom
Clone the repo
git clone --depth 1 https://github.com/TimothyHan/qa-buddy-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for e2e-pom

README.md
[![agentmods](https://agentmods.dev/badge/skills/timothyhan/qa-buddy-skills/e2e-pom/github.svg)](https://agentmods.dev/skills/timothyhan/qa-buddy-skills/e2e-pom)
Your own site
<a href="https://agentmods.dev/skills/timothyhan/qa-buddy-skills/e2e-pom"><img src="https://agentmods.dev/badge/skills/timothyhan/qa-buddy-skills/e2e-pom/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.

agentmods 80×15 button for e2e-pom

Your own site · 80×15
<a href="https://agentmods.dev/skills/timothyhan/qa-buddy-skills/e2e-pom"><img src="https://agentmods.dev/badge/skills/timothyhan/qa-buddy-skills/e2e-pom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 131
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.02058
Opus 5 $0.00079 $0.01029
Sonnet 5 $0.00032 $0.00412
Haiku 4.5 $0.00016 $0.00206

Measured 2d ago against content hash 4db6b74c33b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

e2e-pom 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.

core/skills/e2e-pom/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/qa-e2e-pom: Page Object Discovery & Healing

Two modes. Build is interactive — the user confirms what you discovered (headless: the proof run — count 1, visible — is the confirmation; ambiguity is flagged exactly as in Heal, never chosen). Heal is autonomous — it repairs what drifted and flags what it can't. Both read playwright/AUTOMATION.md (from /qa-e2e-setup) for POM style, auth, and white-box mode. No AUTOMATION.md → run /qa-e2e-setup first.

Code standards: read {{REFERENCE_PATH}}/playwright-patterns.md before writing POM code — POM templates, selector rules, and the exact-match / scoping traps live there. Then the project learnings file (per the preamble) — active LRN- entries scoped here override those patterns.

Constraints

  1. No locator without live proof. A selector enters the POM only after it was executed against the running app: resolves, expected count (1, or scoped n), visible. App unreachable mid-discovery → the unproven elements stay OUT of the POM and status is BLOCKED. Never write a plausible guess.
  2. Demand-driven inventory. Map only elements the given test cases touch. If asked to "map everything while you're there", decline and explain: unreferenced elements are unverifiable maintenance debt — they get mapped when a test case needs them.
  3. Selector priority: getByTestId > getByRole(name) > label/placeholder

    CSS (last resort, marked fragile: true). Never XPath.

  4. Duplicates must be scoped, not indexed. If a locator matches >1 element (hidden-but-attached ones count!), scope it to a parent (row.getByTestId), don't .nth() it. Ambiguity the DOM can't resolve → ask the user (build) or flag (heal).
  5. Name lookups are exact-match. filter({ hasText: name }) is substring matching — "Pliers" also matches "Combination Pliers". Row/card-by-name locators use filter({ has: page.getByText(name, { exact: true }) }). (Caught live: wrong product clicked + strict-mode violation, 2026-08-07.)
  6. The verification spec is the gate. pom-verification.spec.ts must be green before build/heal reports DONE. It is also the drift detector — keep it in the suite. It uses the same worker-indexed account fixtures as behavioral specs and self-seeds its own target data — never the config default storageState directly, which makes every worker authenticate as the same account and race under --repeat-each (caught live 2026-08-07).
  7. Heal never touches healthy entries. Only entries whose verification failed may change. A "fix" to a passing locator is a defect.

Read the full file on GitHub · 182 lines

Files

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.

Changes

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.

  1. 2d ago Changed · +3 lines 4db6b74c33b1
  2. 10d ago First seen · 179 lines · 159 tokens per session scan A 69602b934d8c

Subscribe to this mod's changes

e2e-pom is a skill published in the GitHub repository TimothyHan/qa-buddy-skills (9 stars, last pushed 2d ago), licensed Apache-2.0. It adds 159 tokens to every session and 2,058 once invoked, about $0.0008 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-31.

Related

Other skills, from other repositories

qawolf-cli

Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; request automation of…

qawolf/cli · 118 tokens

test-review

A review checklist for newly written or changed automated tests using TypeScript and Playwright. Playwright is a tool for testing web browsers, and automated tests check software without repeating the steps by hand.

akovalion/paranoid-qa · 119 tokens

playwright-expert

Expert in Playwright E2E testing framework, auto-waiting mechanisms, test generation, trace viewer, and CI/CD integration. Use when the user mentions testing, end-to-end tests, QA, automation, end-to-end testing, or test automation, or when the task involves Playwright Framework, Test Organization, Advanced Features…

personamanagmentlayer/pcl · 77 tokens

browser-test-executor

Execute approved bounded browser Test DSL cases with fresh isolated contexts and auditable attempts. Use when running browser tests, reruns, regression checks, or blocked execution diagnostics.

dangnhit/qa-tester · 38 tokens

qa-tester

Coordinate a bounded, evidence-backed QA run from requirements through release recommendation. Use for end-to-end QA planning, execution, retests, regressions, or exploratory browser checks.

dangnhit/qa-tester · 39 tokens

evidence-collector

Collect and validate redacted, immutable QA evidence and evidence gaps for browser attempts. Use when capturing screenshots, traces, logs, telemetry, or explaining unavailable evidence.

dangnhit/qa-tester · 37 tokens