Tanstack Start
asmyshlyaev177/test-proxy-recorder
Record and replay TanStack Start SSR with test-proxy-recorder.
Page Object Model pattern for the Playwright scaffold — class structure, get-accessor locator pattern, action-method conventions, component composition, registration via the page-object fixture, and…
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install idavidov13/agentic-playwright page-objects --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/page-objects .claude/skills/page-objects && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .claude/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objectsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install idavidov13/agentic-playwright page-objects --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/page-objects .agents/skills/page-objects && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .agents/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install idavidov13/agentic-playwright page-objects --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/page-objects .cursor/skills/page-objects && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .cursor/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/idavidov13/agentic-playwright.git --path .claude/skills/page-objects--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install idavidov13/agentic-playwright page-objects --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/page-objects .gemini/skills/page-objects && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .gemini/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install idavidov13/agentic-playwright page-objectsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/page-objects .github/skills/page-objects && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .github/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add idavidov13/agentic-playwright --skill page-objects -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install idavidov13/agentic-playwright page-objects --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/idavidov13/agentic-playwright.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/page-objects .opencode/skills/page-objects && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "page-objects" agent skill from https://github.com/idavidov13/agentic-playwright/tree/main/.claude/skills/page-objects into .opencode/skills/page-objects/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "page-objects", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
page-objectsPage Object Model pattern for the Playwright scaffold — class structure, get-accessor locator pattern, action-method conventions, component composition, registration via the page-object fixture, and…
Page Objects is an agent skill from idavidov13/agentic-playwright. Page Object Model pattern for the Playwright scaffold — class structure, get-accessor locator pattern, action-method conventions, component composition, registration via the page-object fixture, and the mandatory exploration-first workflow. Use when creating a new page object, adding or updating locators on an existing page object, adding a new reusable component, or registering a page in the fixture layer. For the locator priority order and feedback/validation-message rules see the selectors skill; for the…
Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/examples.md` and `references/troubleshooting.md`).
It sits in Testing & QA, covering Browser testing and React components. It works with Playwright. The repository describes itself as: Production-grade Playwright + TypeScript Scaffold for Agentic Testing. Harness for all major AI coding agents baked in. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f6cbf35. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Page Objects loads about 3.6k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 175 tokens; SKILL.md has 1,158 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from idavidov13/agentic-playwright at commit f6cbf35, republished under its MIT licence (© idavidov13). 1,158 words, ~3,553 tokens.
.claude/skills/page-objects/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.get accessors returning Locator. This is a style/readability convention — Playwright's Locator is lazy either way (it only queries the DOM when an action runs), so get vs readonly field behave identically at runtime. Use get for consistency with the rest of the scaffold.private readonly page: Page. No other visibility modifiers, no alternative DI patterns.expect, Locator, Page from @playwright/test — never from fixtures/pom/test-options.ts (that's for spec files and fixtures).Locator. Names are self-documenting.@param and @returns) on every action method and every verification method.readonly nav: NavigationComponent) — these are not locators.selectors skill.enums/{area}/* (e.g. Messages.LOGIN_ERROR). Never hardcoded strings inside getByText(...).page.waitForTimeout(...) inside a page object. Use web-first assertions (await expect(locator).toBeVisible()) or page.waitForResponse(...).playwright-cli is mandatory before writing any locators (see the selectors skill's Exploration-First Workflow). No guessing from wireframes, docs, or screenshots. If the app is unavailable, stop and say so — never ship placeholder locators.fixtures/pom/page-object-fixture.ts. Tests consume page objects through the fixture, never via new PageObject(page).
{area}is a placeholder. Before creating or referencing any path below, runls pages/to discover the real subdirectory names in this repo (e.g.,front-office,back-office) and use those instead.
| Type | Directory | Naming | Scaffold example |
|---|---|---|---|
| Page objects | pages/{area}/ | [name].page.ts | pages/app/app.page.ts (AppPage) |
| Components | pages/components/ | [name].component.ts | pages/components/navigation.component.ts (NavigationComponent) |
import { expect, Locator, Page } from '@playwright/test';
import { Messages } from '../../enums/app/app';
export class ExamplePage {
constructor(private readonly page: Page) {}
// ==================== Locators ====================
get emailInput(): Locator {
return this.page.getByLabel('Email');
}
get submitButton(): Locator {
return this.page.getByRole('button', { name: 'Submit' });
}
// ==================== Feedback Locators ====================
get successMessage(): Locator {
return this.page.getByText(Messages.LOGIN_SUCCESS);
}
get errorMessage(): Locator {
return this.page.getByText(Messages.LOGIN_ERROR);
}
get requiredFieldError(): Locator {
return this.page.getByText(Messages.REQUIRED_FIELD);
}
// ==================== Actions ====================
/**
* Submits the form and waits for the API response.
* @param {string} email - The user's email address.
* @returns {Promise<void>}
*/
async submitForm(email: string): Promise<void> {
await this.emailInput.fill(email);
await this.submitButton.click();
await this.page.waitForResponse((r) => r.url().includes('/api/submit'));
}
}Every page object that handles forms or CRUD operations must have three locator sections: interactive element locators, feedback/validation message locators, and action methods. Feedback locators are not optional — see the selectors skill for the full list of feedback types to capture.
Use get accessor returning Locator. Both get and readonly field work identically at runtime (Playwright's Locator is lazy), but get is the scaffold convention — terser, locators stay grouped in the class body, constructor stays focused on dependencies.
// PREFERRED -- the scaffold's convention
get submitButton(): Locator {
return this.page.getByRole('button', { name: 'Submit' });
}constructor(private readonly page: Page) {}JSDoc is forbidden on locator getters and on any method that returns a Locator. The name documents what it is:
// CORRECT -- no comment needed
get submitButton(): Locator {
return this.page.getByRole('button', { name: 'Submit' });
}
// WRONG -- locators don't need JSDoc
/** The submit button. */
get submitButton(): Locator {
return this.page.getByRole('button', { name: 'Submit' });
}JSDoc is required on action methods and verification methods (see below).
login(), submitForm(), addToCart()).loginAndVerify()). They may use expect(...) internally.page.waitForResponse, web-first assertions). Never page.waitForTimeout(...).Promise<void> is the common case).@param and @returns is required; an @example block is encouraged for non-trivial methods.Page objects import from @playwright/test (not from test-options.ts):
import { expect, Locator, Page } from '@playwright/test';Reusable UI fragments (headers, modals, sidebars) are defined as components and composed into page objects:
// pages/components/navigation.component.ts
import { Locator, Page } from '@playwright/test';
export class NavigationComponent {
constructor(private readonly page: Page) {}
get homeLink(): Locator {
return this.page.getByRole('link', { name: 'Home' });
}
async clickHome(): Promise<void> {
await this.homeLink.click();
}
async logout(): Promise<void> {
await this.page.getByTestId('user-menu-button').click();
await this.page.getByRole('button', { name: 'Logout' }).click();
}
}Compose components into page objects:
// pages/app/dashboard.page.ts
import { Page } from '@playwright/test';
import { NavigationComponent } from '../components/navigation.component';
export class DashboardPage {
/** Navigation component for header/nav interactions */
readonly nav: NavigationComponent;
constructor(private readonly page: Page) {
this.nav = new NavigationComponent(page);
}
}
// Usage in tests
await dashboardPage.nav.clickHome();
await dashboardPage.nav.logout();The nav: NavigationComponent field is a component, not a locator, so the JSDoc-forbidden rule does not apply — a short descriptive JSDoc is allowed.
Before writing any code:
ls pages/ to resolve {area} (e.g. app, front-office, back-office). Do not guess.Messages, ApiEndpoints, Roles, etc.). If a required enum member does not yet exist, extend it via the enums skill first — verify UI text with playwright-cli before encoding it.ls fixtures/api/schemas/; if missing, create it via the api-testing skill.Never create a page object from assumptions, wireframes, or documentation alone.
playwright-cli in the terminal (not IDE browser MCP, not Cursor browser tools, not any substitute). Orchestrator rule: No Substitute UI Exploration. If the page doesn't load or auth fails, stop and notify the human.Read the full workflow in the selectors skill (.claude/skills/selectors/SKILL.md → "Exploration-First Workflow") and playwright-cli skill for the specific commands.
Forbidden: Skipping exploration. If the application is unavailable, say so and wait — do not create placeholder locators with guessed names.
Draft, in writing, which paths the page object needs to support:
The plan drives which feedback locators end up on the page object. A page with 5 happy-path buttons and 0 feedback locators is incomplete.
Follow the Page Object Pattern above. Specifically:
expect, Locator, Page from @playwright/test.private readonly page: Page — plus component instantiation if composing.enums/{area}/* values, never hardcoded strings.@param / @returns JSDoc, waits for API responses or state changes (web-first assertions or waitForResponse), no waitForTimeout.xxxAndVerify() — may use expect(...) internally.pages/components/ and composed via a readonly field: ComponentClass in the page object (see Component composition above).After creating the class, register it as a fixture in fixtures/pom/page-object-fixture.ts:
FrameworkFixtures.import { test as base } from '@playwright/test';
import { AppPage } from '../../pages/app/app.page';
import { DashboardPage } from '../../pages/app/dashboard.page';
export type FrameworkFixtures = {
appPage: AppPage;
dashboardPage: DashboardPage; // Add type
resetStorageState: () => Promise<void>;
};
export const test = base.extend<FrameworkFixtures>({
appPage: async ({ page }, use) => {
await use(new AppPage(page));
},
dashboardPage: async ({ page }, use) => {
await use(new DashboardPage(page)); // Add fixture
},
resetStorageState: async ({ context }, use) => {
await use(async () => {
await context.clearCookies();
await context.clearPermissions();
});
},
});No mergeTests() change needed — pageObjectFixture is already merged into fixtures/pom/test-options.ts. For the deeper DI rules (new fixture categories, lifecycle, Built-in Fixtures table) see the fixtures skill.
import { expect, test } from '../../../fixtures/pom/test-options';
test('should show error on bad login', async ({ appPage }) => {
await appPage.openHomePage();
await appPage.login('bad@example.com', 'wrong');
await expect(appPage.errorMessage).toBeVisible();
});Never new AppPage(page) inside a test. If the fixture feels too heavy, fix the fixture, don't bypass it.
selectors skill — exploration-first workflow (4 steps), selector priority order, feedback/validation message rules, forbidden patterns.playwright-cli skill — the terminal-only live-app exploration tool (no IDE browser MCP substitutes).fixtures skill — full DI rules, FrameworkFixtures / HelperFixtures, mergeTests, Built-in Fixtures table.enums skill — where Messages.*, ApiEndpoints.*, Roles, StorageStatePaths live; how to add new values with live-text verification.common-tasks skill — prompt templates for "Add a New Page Object (With / Without Exploration)" and "Add Locators to Existing Page".api-testing skill — helper fixtures and factories used from page-object tests.debugging skill — when a test using this page object fails, classify the failure (TimeoutError on action, locator returned multiple, etc.) and use the right tool to investigate before changing the page object.references/examples.md — three end-to-end walkthroughs (new page, locator addition, component extraction).references/troubleshooting.md — common page-object pitfalls and their fixes.© idavidov13, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .claude/skills/page-objects of idavidov13/agentic-playwright.
Open the folder on GitHubat commit f6cbf35
Page Objects next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Page Objects this skillidavidov13/agentic-playwright | 223 | — | ~3.6k | Automated safety check: Pass | MIT | |
| Tanstack Startasmyshlyaev177/test-proxy-recorder | 112 | — | ~2.9k | Automated safety check: Notes | MIT | |
| E2E Tests Studiomastra-ai/mastra | 29k | — | ~4.3k | Automated safety check: Pass | Custom licence | |
| React Testingaffaan-m/ECC | 275k | 1 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Web Application Testinganthropics/skills | 180k | 51 repos | ~966 | Automated safety check: Pass | Apache-2.0 | |
| Playwright CLIsanity-io/sanity | 6.4k | 18 repos | ~1.9k | Automated safety check: Pass | MIT |
asmyshlyaev177/test-proxy-recorder
Record and replay TanStack Start SSR with test-proxy-recorder.
mastra-ai/mastra
REQUIRED when modifying any file in packages/playground-ui or packages/playground.
affaan-m/ECC
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress…
anthropics/skills
Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.
sanity-io/sanity
Automates browser interactions for web testing, form filling, screenshots, and data extraction.
github/gh-aw
Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.
idavidov13/agentic-playwright
Sole entry-point router for AI-assisted work on this Playwright scaffold — owns the 8-phase main workflow (classify → route → explore → plan+confidence → human gate → apply → verify → report), the…
idavidov13/agentic-playwright
Copy-paste AI prompt templates for common Playwright scaffold development tasks — adding page objects, functional/E2E/API tests, Zod schemas, factories, fixtures, and components.
idavidov13/agentic-playwright
Test data strategy for the Playwright scaffold — Faker + Zod factories for dynamic happy-path data, static TS files (.ts with as const exports — never .json) for domain-specific curated invalid…
idavidov13/agentic-playwright
Selector strategy, exploration-first workflow, locator priority order (getByRole then getByLabel then getByPlaceholder then getByText then getByTestId), and feedback/validation-message selector…
idavidov13/agentic-playwright
Spec file conventions for the Playwright scaffold — imports from test-options.ts, test file structure (describe / beforeEach / test / test.step), single-tag rule, functional vs E2E vs API vs setup…
idavidov13/agentic-playwright
TypeScript type safety conventions for the Playwright scaffold — the "no any" rule, Zod 4 schema patterns (z.strictObject, top-level validators like z.uuid / z.email / z.url / z.int / z.enum)…
Works with
Categories
Page Object Model pattern for the Playwright scaffold — class structure, get-accessor locator pattern, action-method conventions, component composition, registration via the page-object fixture, and…. Page Objects is an agent skill from idavidov13/agentic-playwright. Page Object Model pattern for the Playwright scaffold — class structure, get-accessor locator pattern, action-method conventions, component composition, registration via the page-object fixture, and the mandatory exploration-first workflow.
Page Objects fits situations like: creating a new page object; updating locators on an existing page object; adding a new reusable component; registering a page in the fixture layer.
Run `npx skills add idavidov13/agentic-playwright --skill page-objects -a claude-code`. Or copy the skill folder (.claude/skills/page-objects in idavidov13/agentic-playwright) into .claude/skills/page-objects in your project. Claude Code loads it when a task matches its description.
Run `npx skills add idavidov13/agentic-playwright --skill page-objects -a codex`. Or copy the skill folder (.claude/skills/page-objects in idavidov13/agentic-playwright) into .agents/skills/page-objects in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add idavidov13/agentic-playwright --skill page-objects -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/page-objects, .gemini/skills/page-objects, .github/skills/page-objects and .opencode/skills/page-objects in your project.
SKILL.md names no scripts, command-line tools or credentials: Page Objects is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Page Objects is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Page Objects: Tanstack Start (asmyshlyaev177/test-proxy-recorder, 112 stars), E2E Tests Studio (mastra-ai/mastra, 29k stars), React Testing (affaan-m/ECC, 275k stars) and Web Application Testing (anthropics/skills, 180k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
idavidov13 (a GitHub user) maintains it in idavidov13/agentic-playwright, which has 223 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 1, 2026.
Source: idavidov13/agentic-playwright on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.