/playwright-pom-harness:maintain-testfrom playwright-pom-harness
Diagnose failed, flaky, changed or blocked tests. Support diagnose only (findings and next actions) and diagnose and fix (supported automation repair, review and verification), with bounded experiments, existing workflows and preserved history and budgets.
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 and read ROOTS. Work in the consumer, preserving its instructions and customizations. Accept existing case IDs, source files, run IDs or failure reports, for example:
/maintain-test suite <id> [plan <id>] on <environment>
/maintain-test story <id> on <environment>
/maintain-test local <source.json> on <environment>
/maintain-test cases <ids> from <run-or-report> on <environment>
Resolve requested cases from existing sources and history first. Confirm only missing scope/environment information that cannot be inferred. A blocked case may have no generated test. Investigate selected cases; resume their owning workflow when repair or resumption is requested.
Use the request and existing authorized context to choose the stopping point; these phrases are ordinary request wording, not new commands or flags.
| Requested outcome | Work and stopping point |
|---|---|
| Diagnose only | Assess evidence, supported causes/hypotheses, uncertainty and next checks/actions in the existing assessment. Stop there; do not apply repairs, register candidates, resume blocked work or change tracker status. Recommendations do not start another workflow. |
| Diagnose and fix | Diagnose first, then repair supported automation defects or resume work through the existing owning workflow. Preserve accepted expectations, cumulative history/budgets, independent review and verification gates. |
Diagnosis only may include permitted bounded diagnostic checks. Honor narrower requests such as "Review existing evidence only; do not run tests or experiments." When execution is excluded or unavailable, propose the next check as unperformed. See usage examples.
For impact-only requests to identify affected areas and recommend regression scope, use impact-analysis. Route by requested outcome, not by story/bug ID or the presence of failure evidence. Combined analysis-and-repair requests stay here, with one maintenance assessment/history and the existing gates. For routing-only questions, return owners and next actions without creating an assessment or investigating co-located cases/history.
For direct requests to update original ADO case titles, actions, expected results
or step order, follow case editing first. That
workflow edits only selected source cases. Refetch with --revisions into a fresh
output folder; preserve old snapshots/failures and record accepted requirement
evidence before maintaining changed expectations. A source edit never verifies
automation or resets repair budgets.
For every blocker, retain its reason, evidence, exact unblock condition, current observation and next action/owner when known. Verify all applicable conditions; partial recovery leaves the case blocked. Apply the recovery matrix.
When conditions are met, resume the saved stage. Cases without a spec return to refinement, observed execution or authoring through the existing workflow. Clearing a blocker is not evidence that a case passed or that automation is done.
Route edits through pom-architecture and the owning specialists. Repair diagnosed test/framework defects only. For genuine application failures, preserve assertions and failure results; resume after evidence of an external fix. Change expected outcomes only for an explicitly accepted revision.
Use the existing command routes:
generate revise with the prior source fingerprint and acceptance artifact.
For an external application fix with unchanged requirements, register an
application-change candidate with deployment/retest evidence. Both consume the
existing repair budget. Artifacts record decisions/evidence; their mere presence
does not authenticate acceptance or prove a fix.Record classification, source/caller impact, attempts, remaining blockers, resolution and validation receipts. Retain earlier assessments; create a new file when evidence changes, especially after an artifact has been bound to a candidate.
For diagnose only, save and return the assessment and recommendations here. Do not perform the tracker transitions or downstream handoffs below; diagnosis does not mark automation repaired, verified or done.
For cases in an existing plan registry, follow plan-tracker
to append evidence-backed transitions and regenerate the report. Unresolved blockers
stay blocked; resumed work is doing; done requires the existing automation
completion gate. A manual PASS alone cannot mark automation done. Neutral generation
does not use the legacy _verify-state.json sync: record a history event from its
verified status. Preserve non-automatable rulings. Local cases without a plan keep
their assessment and generation history without inventing an ADO plan.
For a supported application-defect diagnosis or a user-described issue, use bug-report for the editable source-grounded draft, project-specific fields and evidence review. Preserve this assessment, attempt provenance and uncertainty. A suspected test/environment fault must not become a confirmed product defect; any further reproduction stays within existing authority and cumulative budgets.
Report unresolved items candidly. External bug filing/result publication still requires its own authorization. Do not introduce quarantine or scheduled monitoring.
What 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