/ma:playwrightfrom ma
Apply when writing, reviewing, or debugging Playwright tests, fixtures, or configuration. Use as the browser-testing method layer for end-to-end work, with stable locators, isolated data, and web-first assertions.
Ships in ma. 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.
Inspect the existing Playwright config, projects, fixtures, authentication
setup, baseURL, data helpers, and locator conventions. Reuse valid project
infrastructure and run against the explicitly supplied or project-configured
environment; do not invent a deployment target.
When executing a Playwright browser test, use a browser-capable subagent whenever one is available. The orchestrating agent must first ensure the application and required local services are running and ready.
If a browser-capable subagent is available, configure the active tool's port
forwarding for remote services when needed, then confirm that the subagent's
browser can open the target URL before running a spec or interactive test flow. A
host-local localhost request or configured baseURL alone is not proof of
subagent access. If the target remains unreachable, resolve readiness or
forwarding within the authorized scope or report the browser run as blocked;
do not switch to the host harness merely because forwarding failed.
If no browser-capable subagent is available, verify the target is ready from the host browser and use the host browser harness. Do not expose a service publicly merely to make it reachable. Writing or reviewing test source without browser execution does not require this handoff.
Prefer accessible semantic locators that match how a user perceives the page:
getByRole with an accessible name, getByLabel, and then text or placeholder
where appropriate. Existing stable test IDs are valid when repository evidence
establishes them as the convention or translated and repeated content has no
stable semantic discriminator.
For localized applications, derive accessible names from the locale or catalog the test exercises. When repeated matches are legitimate, scope to a stable parent rather than relying on position.
Structural CSS, XPath, generated IDs, and positional selectors are a last resort when no user-facing or explicit stable contract exists, such as unchangeable third-party or canvas markup. Scope the fallback tightly, choose the least volatile attribute, and document why a semantic or test-ID locator is unavailable. Do not add test IDs to production markup solely under test-only authority; a production change requires its own authorization.
expect(locator).toBeVisible() instead of fixed sleeps.trace: 'on-first-retry' is a useful default when no stricter convention
exists.Run the narrowest affected project or spec first, then the relevant browser matrix. When a failure depends on the environment, retain the trace and report the observed boundary instead of weakening the assertion.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marcus-friction/agents --plugin ma43 skills in this plugin
/adversarial-reviewIndependently challenge elevated or significant architecture, security, data, migration, permission, deployment, or production changes. Use after a primary or deep review, or when explicitly requested; routine changes do not require it./architecture-reviewReview code or plans when a change affects component boundaries, dependencies, contracts, data ownership, layering, or adopted project architecture decisions./build-start-scriptsStandards and patterns for building reliable local dev startup scripts (serve.sh, start.sh). Use this skill when creating, modifying, or reviewing any shell script that boots Docker containers, Laravel Sail, Nuxt dev servers, or background services. Also use when the user mentions "serve script", "startup script", "docker compose up", "sail up", or asks to fix orphaned containers, port conflicts, or flaky local environments. Proactively suggest when you see startup-related issues in scripts being edited.Other plugins' skills for the same job