quality-engineering-playwright-pom-generation

quality-engineering-playwright-pom-generation is a skill for Claude Code, Codex from HoangNguyen0403/agent-skills-standard. It costs 69 tokens per session (1,044 once invoked), scanned A, original, MIT.

A generator for Playwright page objects: code that groups web-page locators and user actions for end-to-end tests. It builds them from a written test plan and connects them to a shared test fixture.

In plain words
What is it for?
Use it when a planned web scenario needs a page object or when existing page-object locators have drifted.
Why use it?
It avoids duplicating locator and action code across tests and discourages fragile selectors such as XPath or generated class names. It also records elements that lack a stable locator instead of guessing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when a planned web scenario needs a page object or when existing page-object locators have drifted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation
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 HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-pom-generation
Clone the repo
git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard

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 quality-engineering-playwright-pom-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation/github.svg)](https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation)
Your own site
<a href="https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation"><img src="https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation/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 quality-engineering-playwright-pom-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation"><img src="https://agentmods.dev/badge/skills/hoangnguyen0403/agent-skills-standard/quality-engineering-playwright-pom-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 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.
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.00069 $0.01044
Opus 5.5 $0.00028 $0.00418
Sonnet 5.5 $0.00014 $0.00209
Haiku 4.5 $0.00007 $0.00104

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

Security

Grade A, and why

quality-engineering-playwright-pom-generation 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 23d 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.

.agents/skills/quality-engineering/quality-engineering-playwright-pom-generation/SKILL.md · 69 lines

How it starts

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

Quality Engineering: Playwright Page Object Generation

Priority: P1 (HIGH)

Input

A web-lane scenario block from docs/srs/test-plan-[slug].md (Steps, Expected, @AC-n) plus the resolved SELECTOR_GAPS for that screen. Generate from the plan, never from a live DOM crawl alone: the plan says which elements matter.

Layout

  • One file per screen: tests/pages/<screen>.page.ts, class <Screen>Page (e.g. CheckoutPage).
  • One locator getter per element the plan touches, named after the element (submitButton, emailInput).
  • One action method per plan step verb (fillShipping(data), submit()); actions return void or the next page object.
  • A pages fixture in tests/fixtures.ts exposes every page object; specs import test from there, never from @playwright/test directly.

Locator Rules

Follow the web ladder in quality-engineering-selector-stability: getByRole / getByLabel first, then getByTestId using the <screen>-<element>-<role> id, then attribute CSS. Never XPath, nth, text on translated strings, or generated class names. When the element has no stable locator, do not invent one: record it as a selector gap for specialist-testid-inserter.

Locator vs Sampled Scalar State

  • Lazy Locators for Retrying Expectations: Page objects expose elements as Locator getters (orderIdBanner, submitButton). Specs assert on locators using web-first retrying assertions (await expect(pages.checkout.orderIdBanner).toHaveText(...)). This automatically retries until timeout against delayed text, async rendering, and DOM re-attachment.
  • Sampled Scalar Reads for Point-in-Time Snapshots: Scalar methods (await locator.textContent(), inputValue()) capture a single point-in-time value without retrying. Reserve scalar reads for legitimate data extraction (e.g., passing an ID to an API call, logging, or comparing immutable snapshots). Never wrap sampled scalars in non-retrying expect(val)... for dynamic or eventual state.

Read the full file on GitHub · 69 lines

Files

What ships with it

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

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. 23d ago Changed · +1 lines 2ac28f56bb14
  2. 1mo ago Changed · +6 lines 058b2e596c2e
  3. 2mo ago First seen · 62 lines · 69 tokens per session scan A d201abb1ba2b

Subscribe to this mod's changes

quality-engineering-playwright-pom-generation is a skill published in the GitHub repository HoangNguyen0403/agent-skills-standard (597 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 1,044 once invoked, about $0.0003 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-09-14.

Related

quality-engineering-playwright-pom-generation compared with skills from other repositories

quality-engineering-playwright-pom-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quality-engineering-playwright-pom-generationHoangNguyen0403/agent-skills-standardSkill5972d agoMITA69Claude Code, Codex
verifymeursyphus/ssgoiSkill1.0k14d agoMITA26Claude Code
browser-automationirahardianto/awesome-agvSkill1631mo agoMITA39Claude Code, Codex
playtestkyh/vibedgamesSkill62yesterdayMITA55Claude Code
game-playbookkyh/vibedgamesSkill62yesterdayMITA30Claude Code
gamepadkyh/vibedgamesSkill62yesterdayMITA33Claude Code
deploykyh/vibedgamesSkill62yesterdayMITA28Claude Code