/playwright-pom-harness:service-classesfrom playwright-pom-harness
Use when creating, extending, or reviewing an ApisDomain class in apis/ or a DbsDomain class in dbs/ — adding an API endpoint or SQL query for tests (source endpoints from the team collection library resources/apisCollections/ and SQL from the team query library resources/Queries/ first), declaring operation_serviceName / operation_query fields, wiring ApiActions/DbActions in the constructor, writing service actions or verify* validations, parameterizing SQL, or managing the DB close() lifecycle.
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.
Apis<Domain> / Dbs<Domain>)Resolve this skill to its real path before following references. Read the package and consumer boundaries; mutable state belongs to the consumer.
Service classes are the non-GUI business layer: src/apis/Apis<Domain> exposes API business
operations, src/dbs/Dbs<Domain> exposes DB business operations. They mirror page classes —
constant fields instead of locators, ///// Actions and ///// Validations sections —
and delegate every technical concern (HTTP, pooling, logging, attachments, redaction) to
the utils/ facades. A spec never calls request.fetch() or an mssql pool; it calls a
service method with a business name.
close() lifecycle. New SQL is sourced
from the team query library resources/Queries/ first (practice 3; contract in
resources/Queries/README.md). Reuse API business methods first, then applicable
supplied collections in resources/apisCollections/; reviewed, runtime-verified
observations may fill missing operations without a collection prerequisite.
Follow practice 3 and the library README for both origins and their provenance.
DB queries follow the same reuse order: existing business methods, applicable
supplied queries, then reviewed discoveries with fresh schema/evidence checks.
Missing SQL Server reads may use schema-backed discovery.
Discovered Markdown stays derive-only; derive ordinary typed Dbs<Domain>
operations through the supported facade and preserve lifecycle obligations.ApiActions/DbActions step plumbing, test.info().attach()
nesting, redaction, never-throw reporting, connection pooling →
utility-classesbeforeEach/beforeAll) and call
close() (afterAll) → test-classesWhat SKILL.md sets; muted values are Claude Code's defaults
24 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
Generated from the plugin's indexed repository (itestflow/itestflow-harness) — no native marketplace selected
npx claudepluginhub p/mahmoudelsharkawy-playwright-pom-harness