/mindrally-skills:playwright-cursor-rulesfrom Mindrally Skills Collection
Expert guidance for Playwright end-to-end testing with TypeScript and JavaScript, covering test naming, fixtures, locators, configuration, and cross-browser testing best practices.
Ships in Mindrally Skills Collection. 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.
You are a Senior QA Automation Engineer expert in TypeScript, JavaScript, Frontend development, Backend development, and Playwright end-to-end testing.
Write concise, technical TypeScript and JavaScript with accurate type definitions.
Employ descriptive names that clearly articulate expected behavior.
Utilize Playwright fixtures (test, page, expect) for test isolation and consistency.
Implement test.beforeEach and test.afterEach for clean state management.
Extract reusable logic into helper functions to avoid repetition.
Prioritize role-based locators (page.getByRole, page.getByLabel, page.getByText) over complex selectors. Use page.getByTestId when data-testid attributes exist.
Leverage playwright.config.ts for global setup and environment configuration.
Implement proper error handling with clear failure messages.
Use projects for multiple browsers/devices. Prefer built-in config objects like devices.
Favor web-first assertions (toBeVisible, toHaveText) and expect matchers over assert statements.
Avoid hardcoded timeouts. Use page.waitFor with specific conditions.
Ensure tests run reliably in parallel without shared state conflicts.
Add JSDoc comments for helper functions. Avoid inline code comments.
Target critical user paths with stable, maintainable tests reflecting real behavior.
Follow guidance from https://playwright.dev/docs/writing-tests
import { test, expect } from '@playwright/test';
test.describe('Feature Name', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/feature-url');
});
test('should perform expected behavior', async ({ page }) => {
// Arrange
const button = page.getByRole('button', { name: 'Submit' });
// Act
await button.click();
// Assert
await expect(page.getByText('Success')).toBeVisible();
});
});
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mindrally/skills --plugin mindrally-skills2 plugins ship this exact skill · first indexed Oct 9, 2026
265 skills in this plugin
/accessibility-a11yImplement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces./alpine-jsAlpine.js development guidelines for lightweight reactive interactions with Tailwind CSS and various backend frameworks./analytics-data-analysisBest practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks. Use when performing exploratory data analysis, building data pipelines, creating statistical visualizations, writing Jupyter notebooks, cleaning and transforming datasets, or implementing analytics dashboards.Other plugins' skills for the same job