/playwright-pom-harness:page-classesfrom playwright-pom-harness
Use when creating, extending, refactoring, or reviewing a page class in pages/ — a new HTML page object, a skeleton-area class (header/footer/side menu), class member order and section banners, constructors, dynamic locator methods, or deciding whether a new page class is justified at all.
Ships in playwright-pom-harness. 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.
None: SKILL.md is the whole skill.
Resolve this skill to its real path before following references. Read the package and consumer boundaries; mutable state belongs to the consumer.
A page class is the GUI business layer for exactly one HTML page or one shared skeleton
area. It owns that page's locators, actions, and validations behind intent-named methods —
no base classes, no exception handling, no logic. The existing files in pages/
(LoginPage.ts, HomePage.ts, HeaderPage.ts) are the living style reference.
Every directly routable page exposes public async navigate(); classify supported
entry and document shared/flow-only exceptions under playbook practice 3.
Work in this order:
This skill owns the class shell: file placement, member order, constructor, dynamic locator methods, banners, and class-creation decisions. Route everything else:
verify*, web-first assertions) → validation-methodsbeforeEach wiring) → test-classesApis<Domain> / Dbs<Domain> classes → service-classesWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (itestflow/itestflow-harness) — no native marketplace selected
npx claudepluginhub p/mahmoudelsharkawy-playwright-pom-harness24 skills in this plugin
/action-methodsUse when writing, refactoring, or reviewing an action method on a page or service class — naming a business operation, wrapping it in its Allure step, choosing what to interpolate into the step title, deciding parameters and return type, judging granularity (compose vs split), handling native dialogs, file uploads, and per-control interaction verbs, or checking an existing action for redundancy./automate-testAutomate test cases from a user story, an ADO suite or local scenarios into durable POM code through observed execution, independent review and two scoped green runs./bug-reportDraft, refine, review and optionally file a bug from a selected story and the user's description or existing execution evidence. Supports editable bug details, project-specific required/custom fields, proportionate reproduction and verified attachments.Other plugins' skills for the same job