Skip to content

Agent Skills

playwright-page-object ships an Agent Skills-compatible skill that AI assistants can load on demand. The skill provides decorator selection, host pattern, and fixture wiring guidance in a compact, machine-readable form.

Terminal window
npx ctx7 skills install /sergeyshmakov/playwright-page-object playwright-page-object

After installation, assistants with skill support (Claude Code, Cursor, etc.) load the skill automatically when working with this library.

  • Context resolution priority and when each host pattern applies.
  • Output style selection (raw Locator, custom control, PageObject).
  • Common errors and their fixes.
  • Hard rules (e.g., do not pass PageObject subclasses as factory arguments).
  • Migration guidance from v1.

The skill source is at skills/playwright-page-object/SKILL.md. Pull requests welcome.